diff --git a/src/gramps_main.py b/src/gramps_main.py index d0bdfcd78..05526ebee 100755 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -952,7 +952,7 @@ class Gramps: if self.id2col.has_key(id): (model,iter) = self.id2col[id] self.ptabs.set_current_page(self.model2page[model]) - if self.model_used[model] == 0: + if not self.model_used.has_key(model) or self.model_used[model] == 0: self.model_used[model] = 1 self.apply_filter(model) @@ -1357,7 +1357,7 @@ class Gramps: else: model = self.default_list -# self.apply_filter() + self.apply_filter() for key in keys: self.alpha_page[key].connect_model() diff --git a/src/plugins/PatchNames.py b/src/plugins/PatchNames.py index 231f44364..352908a80 100644 --- a/src/plugins/PatchNames.py +++ b/src/plugins/PatchNames.py @@ -114,7 +114,12 @@ class PatchNames: "destroy_passed_object" : Utils.destroy_passed_object, "on_ok_clicked" : self.on_ok_clicked }) - self.top.get_widget("textwindow").show_string(msg) + + Utils.set_titles(self.top.get_widget('summary'), + self.top.get_widget('title'), + _('Name and title extraction tool')) + + self.top.get_widget("textwindow").get_buffer().set_text(msg) else: OkDialog(_("No titles or nicknames were found")) self.cb(0) diff --git a/src/plugins/patchnames.glade b/src/plugins/patchnames.glade index 091b220aa..5d204f253 100644 --- a/src/plugins/patchnames.glade +++ b/src/plugins/patchnames.glade @@ -1,148 +1,166 @@ - + - - - Name and Title Extraction Tool - GRAMPS - GTK_WINDOW_TOPLEVEL - no - yes - yes - yes - GTK_WIN_POS_NONE + + True + + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + 450 + 400 + True + False + False - - - no - 0 - yes + + + True + False + 0 - - - 10 - yes - 5 - yes + + + True + GTK_BUTTONBOX_END - - - GTK_BUTTONBOX_END - 30 - yes + + + True + GTK_BUTTONBOX_END + 30 - - - yes - yes - GTK_RELIEF_NORMAL - yes - gtk-yes - yes - yes + + + True + True + True + _Accept changes and close + True + GTK_RELIEF_NORMAL + + + - - - + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + + + + + + + + 0 + False + True + GTK_PACK_END + + - - - yes - yes - GTK_RELIEF_NORMAL - yes - gtk-no - yes - yes + + + True + False + 0 - - - - - - 0 - yes - yes - - - - - 0 - no - yes - GTK_PACK_END - - + + + True + + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + + + 8 + False + False + + - - - no - 0 - yes - - - - Name and Title Extraction Tool - GTK_JUSTIFY_CENTER - no - 0.5 - 0.5 - 0 - 0 - 500 - 16 - yes - - - 8 - no - no - - - - - - yes - - - 4 - no - yes - - - - - - Below is a list of the nicknames and titles that GRAMPS can extract from the -current database. If you select 'Yes', GRAMPS will modify your database as + + + True + Below is a list of the nicknames and titles that GRAMPS can extract from the +current database. If you accept the changes, GRAMPS will modify your database as specified below. If you do not approve of these changes, you should select -'No', and your database will not be altered. +'Cancel', and your database will not be altered. Should the following changes be made? - GTK_JUSTIFY_LEFT - no - 0.5 - 0.5 - 0 - 10 - yes - - - 0 - no - no - - + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 10 + + + 0 + False + False + + + + + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + True + GTK_JUSTIFY_LEFT + GTK_WRAP_NONE + True + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + 0 + True + True + + + + + 0 + True + True + + + + + - - - 0 - yes - yes - - - - - diff --git a/src/system_filters.xml b/src/system_filters.xml index dd2f505d4..ca376f71c 100644 --- a/src/system_filters.xml +++ b/src/system_filters.xml @@ -1,13 +1,3 @@ - + - - - - - - - - - -