icons added

svn: r5756
This commit is contained in:
Don Allingham 2006-01-15 05:12:05 +00:00
parent 01ccef522c
commit c7495dd025

View File

@ -99,13 +99,13 @@ class ButtonTab(GrampsTab):
self.edit_button_clicked(obj) self.edit_button_clicked(obj)
def add_button_clicked(self,obj): def add_button_clicked(self,obj):
pass print "Uncaught Add clicked"
def del_button_clicked(self,obj): def del_button_clicked(self,obj):
pass print "Uncaught Delete clicked"
def edit_button_clicked(self,obj): def edit_button_clicked(self,obj):
pass print "Uncaught Edit clicked"
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -129,6 +129,9 @@ class EmbeddedList(ButtonTab):
self.rebuild() self.rebuild()
self.show_all() self.show_all()
def get_icon_name(self):
return gtk.STOCK_JUSTIFY_FILL
def build_interface(self): def build_interface(self):
self.tree = gtk.TreeView() self.tree = gtk.TreeView()
self.tree.set_rules_hint(True) self.tree.set_rules_hint(True)
@ -251,7 +254,7 @@ class NoteTab(GrampsTab):
scroll.add_with_viewport(self.text) scroll.add_with_viewport(self.text)
self.pack_start(scroll,True) self.pack_start(scroll,True)
if self.note_obj: 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): def rebuild(self):
pass pass