diff --git a/gramps/src/GrampsCfg.py b/gramps/src/GrampsCfg.py index e49c42f45..a3c9b8ef2 100644 --- a/gramps/src/GrampsCfg.py +++ b/gramps/src/GrampsCfg.py @@ -692,7 +692,7 @@ class GrampsPreferences: self.osubmenu = gtk.GtkMenu() choice = 0 index = 0 - for name in Plugins.get_text_doc_list(): + for name in [ _("No default format") ] + Plugins.get_text_doc_list(): if name == output_preference: choice = index item = gtk.GtkMenuItem(name) @@ -707,7 +707,7 @@ class GrampsPreferences: self.gsubmenu = gtk.GtkMenu() choice = 0 index = 0 - for name in Plugins.get_draw_doc_list(): + for name in [ _("No default format") ] + Plugins.get_draw_doc_list(): if name == goutput_preference: choice = index item = gtk.GtkMenuItem(name) @@ -929,11 +929,6 @@ class GrampsPreferences: hide_altnames = self.top.get_widget("display_altnames").get_active() paper_obj = self.top.get_widget("paper_size").get_menu().get_active() - if self.osubmenu == None: - print "Warning! osubmenu is None" - if self.gsubmenu == None: - print "Warning! gsubmenu is None" - output_obj = self.osubmenu.get_active() goutput_obj = self.gsubmenu.get_active()