From c7495dd025ce154091ab139d3a74e9bae94d895a Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 15 Jan 2006 05:12:05 +0000 Subject: [PATCH] icons added svn: r5756 --- src/DisplayTabs.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/DisplayTabs.py b/src/DisplayTabs.py index f973cab44..a171fbe63 100644 --- a/src/DisplayTabs.py +++ b/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