diff --git a/gramps2/src/DisplayTabs.py b/gramps2/src/DisplayTabs.py index f973cab44..a171fbe63 100644 --- a/gramps2/src/DisplayTabs.py +++ b/gramps2/src/DisplayTabs.py @@ -99,13 +99,13 @@ class ButtonTab(GrampsTab): self.edit_button_clicked(obj) def add_button_clicked(self,obj): - pass + print "Uncaught Add clicked" def del_button_clicked(self,obj): - pass + print "Uncaught Delete clicked" def edit_button_clicked(self,obj): - pass + print "Uncaught Edit clicked" #------------------------------------------------------------------------- @@ -129,6 +129,9 @@ class EmbeddedList(ButtonTab): self.rebuild() self.show_all() + def get_icon_name(self): + return gtk.STOCK_JUSTIFY_FILL + def build_interface(self): self.tree = gtk.TreeView() self.tree.set_rules_hint(True) @@ -251,7 +254,7 @@ class NoteTab(GrampsTab): scroll.add_with_viewport(self.text) self.pack_start(scroll,True) if self.note_obj: - self.text.get_buffer().insert_at_cursor(note_obj.get()) + self.text.get_buffer().insert_at_cursor(self.note_obj.get()) def rebuild(self): pass