* src/Filters/_SidebarFilter.py: change from CLEAR to RESET

svn: r6930
This commit is contained in:
Don Allingham 2006-06-21 03:11:08 +00:00
parent 9ed0d1abf0
commit e01800a7fe
2 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-06-20 Don Allingham <don@gramps-project.org>
* src/Filters/_SidebarFilter.py: change from CLEAR to RESET
* src/DataViews/_PersonView.py (PersonView.person_updated): if surname
fails, recalculate data, fix initial display of sidebar
* src/ViewManager.py: handle post page creation initalization

View File

@ -46,7 +46,19 @@ class SidebarFilter:
self.apply_btn = gtk.Button(stock=gtk.STOCK_FIND)
self.apply_btn.connect('clicked', self.clicked)
self.clear_btn = gtk.Button(stock=gtk.STOCK_CLEAR)
hbox = gtk.HBox()
hbox.show()
image = gtk.Image()
image.set_from_stock(gtk.STOCK_UNDO, gtk.ICON_SIZE_BUTTON)
image.show()
label = gtk.Label(_('Reset'))
label.show()
hbox.pack_start(image,False,False)
hbox.pack_start(label,False,True)
hbox.set_spacing(4)
self.clear_btn = gtk.Button()
self.clear_btn.add(hbox)
self.clear_btn.connect('clicked', self.clear)
hbox = gtk.HBox()