Subversion Repositories basico

Compare Revisions

Ignore whitespace Rev 400 → Rev 401

/branches/BR-0.4/basico/widgets/wdg_visor_sapnotes.py
236,7 → 236,7
widget = get_column_header_widget('', 'basico-sapnote')
self.column_icon.set_widget(widget)
self.column_icon.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
self.column_icon.set_visible(False)
self.column_icon.set_visible(True)
self.column_icon.set_expand(False)
self.column_icon.set_clickable(False)
self.column_icon.set_sort_indicator(False)
517,6 → 517,8
 
def populate(self, bag=None, cid=None):
icon_sapnote = self.srvicm.get_pixbuf_icon('basico-sapnote', 32, 32)
# ~ icon_sap_note = self.srvicm.get_pixbuf_icon('basico-sap-note', 32, 32)
# ~ icon_sap_note_standard = self.srvicm.get_pixbuf_icon('basico-sap-note', 32, 32)
icon_bookmark = self.srvicm.get_pixbuf_icon('basico-bookmarks', 32, 32)
for atype in ATYPES:
self.icons['type'][atype.lower()] = self.srvicm.get_pixbuf_icon('basico-annotation-type-%s' % atype.lower())
564,7 → 566,13
timestamp = timestamp.replace('-', '')
timestamp = timestamp.replace(':', '')
timestamp = timestamp.replace('T', '_')
 
stype = escape(metadata['type'].lower())
icon_name = 'basico-%s' % stype.replace(' ', '-')
self.log.debug(icon_name)
icon = self.srvicm.get_pixbuf_icon(icon_name, 36, 36)
self.log.debug(icon)
# ~ self.log.debug(icon_name)
icon_name = None
node = self.get_node( int(metadata['id']),
icon,
False,