* src/plugins/FilterEditor.py (on_delete_event,close_filter_editor):
Update filter ComboBox in the main window. * src/gramps_main.py (init_filters): Clear layout before rebuilding. svn: r4140
This commit is contained in:
parent
c46dff68a2
commit
7cd4156a6b
@ -14,6 +14,10 @@
|
||||
* src/ChooseParents.py (mother_list_select_row,
|
||||
father_list_select_row): Comment out auto-selection of parents.
|
||||
|
||||
* src/plugins/FilterEditor.py (on_delete_event,close_filter_editor):
|
||||
Update filter ComboBox in the main window.
|
||||
* src/gramps_main.py (init_filters): Clear layout before rebuilding.
|
||||
|
||||
2005-03-07 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/AddrEdit.py: Typo.
|
||||
* src/EditPerson.py (on_add_addr_clicked): Typos.
|
||||
|
@ -856,6 +856,7 @@ class Gramps:
|
||||
def init_filters(self):
|
||||
|
||||
cell = gtk.CellRendererText()
|
||||
self.filter_list.clear()
|
||||
self.filter_list.pack_start(cell,True)
|
||||
self.filter_list.add_attribute(cell,'text',0)
|
||||
|
||||
@ -886,8 +887,6 @@ class Gramps:
|
||||
all.add_rule(GenericFilter.SearchName([]))
|
||||
filter_list.append(all)
|
||||
|
||||
menu = GenericFilter.build_filter_menu(filter_list)
|
||||
|
||||
self.filter_model = GenericFilter.FilterStore(filter_list)
|
||||
self.filter_list.set_model(self.filter_model)
|
||||
self.filter_list.set_active(self.filter_model.default_index())
|
||||
|
@ -301,6 +301,7 @@ class FilterEditor:
|
||||
self.remove_itself_from_menu()
|
||||
GenericFilter.reload_custom_filters()
|
||||
GenericFilter.reload_system_filters()
|
||||
self.parent.init_filters()
|
||||
|
||||
def close_child_windows(self):
|
||||
for child_window in self.child_windows.values():
|
||||
@ -346,6 +347,7 @@ class FilterEditor:
|
||||
self.window.destroy()
|
||||
GenericFilter.reload_custom_filters()
|
||||
GenericFilter.reload_system_filters()
|
||||
self.parent.init_filters()
|
||||
|
||||
def draw_filters(self):
|
||||
self.clist.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user