Subversion Repositories basico

Compare Revisions

Ignore whitespace Rev 362 → Rev 361

/branches/BR-0.4/basico/widgets/wdg_visor_sapnotes.py
386,10 → 386,10
 
 
def reload(self):
self.populate(self.bag)
self.populate_sapnotes(self.bag)
 
 
def populate(self, bag=None, cid=None):
def populate_sapnotes(self, bag=None, cid=None):
icon_sapnote = self.srvicm.get_pixbuf_icon('basico-sapnote', 32, 32)
icon_bookmark = self.srvicm.get_pixbuf_icon('basico-bookmarks', 32, 32)
for atype in ATYPES:
493,8 → 493,8
self.show_widgets()
stack = self.srvgui.get_widget('gtk_stack_main')
stack.set_visible_child_name('visor')
self.log.debug("Visor updated")
 
 
def show_widgets(self):
self.srvuif.set_widget_visibility('gtk_label_total_notes', True)
 
622,8 → 622,8
 
 
def get_filtered_bag(self):
visor_sapnotes = self.srvgui.get_widget('visor_sapnotes')
model = visor_sapnotes.get_sorted_model()
visor = self.srvgui.get_widget('visor_sapnotes')
model = visor.get_sorted_model()
selected = []
 
def get_selected_sapnotes(model, path, itr):