8128: GtkDialog mapped without a transient parent

QuestionDialog into DB manager dialog (Remove action)
This commit is contained in:
Jérôme Rapinat 2015-05-28 17:59:59 +02:00
parent b2fdb2349d
commit d7bf498f15

View File

@ -554,7 +554,7 @@ class DbManager(CLIDbManager):
_("Remove the '%s' Family Tree?") % self.data_to_delete[0], _("Remove the '%s' Family Tree?") % self.data_to_delete[0],
_("Removing this Family Tree will permanently destroy the data."), _("Removing this Family Tree will permanently destroy the data."),
_("Remove Family Tree"), _("Remove Family Tree"),
self.__really_delete_db) self.__really_delete_db, parent=self.top)
else: else:
rev = self.data_to_delete[0] rev = self.data_to_delete[0]
parent = store[(path[0],)][0] parent = store[(path[0],)][0]
@ -566,7 +566,7 @@ class DbManager(CLIDbManager):
_("Removing this version will prevent you from " _("Removing this version will prevent you from "
"extracting it in the future."), "extracting it in the future."),
_("Remove version"), _("Remove version"),
self.__really_delete_version) self.__really_delete_version, parent=self.top)
def __really_delete_db(self): def __really_delete_db(self):
""" """