From 2553cdc64222bcc2fd2ce10194a5f53f188b66af Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Tue, 8 Jan 2013 09:03:14 +0000 Subject: [PATCH] 6299: Calendar Gramplet does not display anything 6301: ImportError: No module named QuestionDialog svn: r21031 --- gramps/gui/editors/displaytabs/backreflist.py | 2 +- gramps/plugins/gramplet/calendargramplet.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps/gui/editors/displaytabs/backreflist.py b/gramps/gui/editors/displaytabs/backreflist.py index fff85e940..fa0569325 100644 --- a/gramps/gui/editors/displaytabs/backreflist.py +++ b/gramps/gui/editors/displaytabs/backreflist.py @@ -178,7 +178,7 @@ class BackRefList(EmbeddedList): "editor and open an editor for the citation " "alone") - from QuestionDialog import WarningDialog + from gramps.gui.dialog import WarningDialog WarningDialog(_("Cannot open new citation editor"), blocked_text) elif reftype == 'Place': diff --git a/gramps/plugins/gramplet/calendargramplet.py b/gramps/plugins/gramplet/calendargramplet.py index 65a0170a0..c21d31444 100644 --- a/gramps/plugins/gramplet/calendargramplet.py +++ b/gramps/plugins/gramplet/calendargramplet.py @@ -45,7 +45,8 @@ class CalendarGramplet(Gramplet): vbox = Gtk.VBox(False, 0) vbox.pack_start(self.gui.calendar, False, False, 0) self.gui.get_container_widget().add_with_viewport(vbox) - self.gui.calendar.show() + vbox.show_all() + #self.gui.calendar.show() def post_init(self): self.disconnect("active-changed")