6299: Calendar Gramplet does not display anything
6301: ImportError: No module named QuestionDialog svn: r21032
This commit is contained in:
parent
378558de5f
commit
6bf8994fbb
@ -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':
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user