* src/Filters/_SidebarFilter.py: change from CLEAR to RESET
svn: r6930
This commit is contained in:
parent
9ed0d1abf0
commit
e01800a7fe
@ -1,4 +1,5 @@
|
|||||||
2006-06-20 Don Allingham <don@gramps-project.org>
|
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
|
* src/DataViews/_PersonView.py (PersonView.person_updated): if surname
|
||||||
fails, recalculate data, fix initial display of sidebar
|
fails, recalculate data, fix initial display of sidebar
|
||||||
* src/ViewManager.py: handle post page creation initalization
|
* src/ViewManager.py: handle post page creation initalization
|
||||||
|
@ -46,7 +46,19 @@ class SidebarFilter:
|
|||||||
self.apply_btn = gtk.Button(stock=gtk.STOCK_FIND)
|
self.apply_btn = gtk.Button(stock=gtk.STOCK_FIND)
|
||||||
self.apply_btn.connect('clicked', self.clicked)
|
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)
|
self.clear_btn.connect('clicked', self.clear)
|
||||||
|
|
||||||
hbox = gtk.HBox()
|
hbox = gtk.HBox()
|
||||||
|
Loading…
Reference in New Issue
Block a user