6299: Calendar Gramplet does not display anything

6301: ImportError: No module named QuestionDialog


svn: r21032
This commit is contained in:
Benny Malengier 2013-01-08 09:03:25 +00:00
parent 378558de5f
commit 6bf8994fbb
2 changed files with 3 additions and 2 deletions

View File

@ -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':

View File

@ -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")