Data Verify Tool: fix set transient parent

In init of ManagedWindow self.show() must be called
This commit is contained in:
Josip 2015-06-05 12:03:39 +02:00
parent 8e97b25f38
commit 9e670d51bd

View File

@ -301,7 +301,7 @@ class Verify(tool.Tool, ManagedWindow, UpdateCallback):
self.top.get_object(option).set_value( self.top.get_object(option).set_value(
self.options.handler.options_dict[option] self.options.handler.options_dict[option]
) )
self.window.show() self.show()
def build_menu_names(self, obj): def build_menu_names(self, obj):
return (_("Tool settings"),self.label) return (_("Tool settings"),self.label)
@ -530,7 +530,7 @@ class VerifyResults(ManagedWindow):
name_column.set_sort_column_id(VerifyResults.OBJ_NAME_COL) name_column.set_sort_column_id(VerifyResults.OBJ_NAME_COL)
self.warn_tree.append_column(name_column) self.warn_tree.append_column(name_column)
self.window.show() self.show()
self.window_shown = False self.window_shown = False
def __dummy(self, obj): def __dummy(self, obj):