diff --git a/src/plugins/tool/Makefile.am b/src/plugins/tool/Makefile.am index c4942b217..ddce2a769 100644 --- a/src/plugins/tool/Makefile.am +++ b/src/plugins/tool/Makefile.am @@ -51,8 +51,7 @@ GLADEFILES = \ soundex.glade \ summary.glade \ unused.glade \ - verifysettings.glade \ - verifyresult.glade + verify.glade dist_pkgdata_DATA = $(GLADEFILES) diff --git a/src/plugins/tool/Verify.py b/src/plugins/tool/Verify.py index e77d52346..9458debcc 100644 --- a/src/plugins/tool/Verify.py +++ b/src/plugins/tool/Verify.py @@ -246,7 +246,7 @@ class Verify(Tool.Tool, ManagedWindow, UpdateCallback): def init_gui(self): # Draw dialog and make it handle everything base = os.path.dirname(__file__) - self.glade_file = base + os.sep + "verifysettings.glade" + self.glade_file = base + os.sep + "verify.glade" self.vr = None self.top = gtk.Builder() @@ -270,8 +270,8 @@ class Verify(Tool.Tool, ManagedWindow, UpdateCallback): self.top.get_object(option).set_value( self.options.handler.options_dict[option] ) - - self.show() + self.top.get_object("verify_result").hide() + self.window.show() def build_menu_names(self, obj): return (_("Tool settings"),self.label) @@ -415,7 +415,7 @@ class VerifyResults(ManagedWindow): self.dbstate = dbstate base = os.path.dirname(__file__) - self.glade_file = base + os.sep + "verifyresult.glade" + self.glade_file = base + os.sep + "verify.glade" self.top = gtk.Builder() self.top.add_from_file(self.glade_file) window = self.top.get_object("verify_result") @@ -493,7 +493,8 @@ class VerifyResults(ManagedWindow): name_column.set_sort_column_id(VerifyResults.OBJ_NAME_COL) self.warn_tree.append_column(name_column) - self.show() + self.top.get_object("verify_settings").hide() + self.window.show() self.window_shown = False def load_ignored(self,db_filename): @@ -646,7 +647,7 @@ class VerifyResults(ManagedWindow): True, not ignore]) if not self.window_shown: - self.show() + self.window.show() self.window_shown = True def build_menu_names(self, obj): diff --git a/src/plugins/tool/verifysettings.glade b/src/plugins/tool/verify.glade similarity index 80% rename from src/plugins/tool/verifysettings.glade rename to src/plugins/tool/verify.glade index 32c1a6095..8ad7699ca 100644 --- a/src/plugins/tool/verifysettings.glade +++ b/src/plugins/tool/verify.glade @@ -1,17 +1,16 @@ - + True dialog - + True True - vertical True @@ -39,7 +38,6 @@ True True - adjustment15 1 True @@ -83,7 +81,6 @@ True True - adjustment14 1 @@ -115,7 +112,6 @@ True True - adjustment13 1 @@ -148,7 +144,6 @@ True True - adjustment12 1 @@ -165,7 +160,6 @@ True True - adjustment11 1 @@ -213,7 +207,6 @@ True True - adjustment10 1 @@ -331,7 +324,6 @@ True True - adjustment9 1 @@ -346,7 +338,6 @@ True True - adjustment8 1 @@ -363,7 +354,6 @@ True True - adjustment7 1 @@ -454,7 +444,6 @@ True True - adjustment6 1 @@ -471,7 +460,6 @@ True True - adjustment5 1 @@ -488,7 +476,6 @@ True True - adjustment4 1 @@ -528,7 +515,6 @@ True True - adjustment3 1 @@ -543,7 +529,6 @@ True True - adjustment2 1 @@ -560,7 +545,6 @@ True True - adjustment1 1 @@ -644,7 +628,7 @@ - + True end @@ -653,7 +637,7 @@ True True True - True + False True @@ -664,14 +648,13 @@ - + gtk-close True True True - True + False True - 0.49000000953674316 @@ -681,12 +664,12 @@ - + _Run True True True - True + False True @@ -707,8 +690,212 @@ helpbutton1 - close_button - run_button + button5 + button4 + + + + True + 500 + 300 + dialog + False + + + True + + + True + 6 + 6 + + + True + + + False + False + 6 + 0 + + + + + True + + + True + True + automatic + automatic + + + True + True + True + + + + + 0 + + + + + True + 6 + + + + + + + + + + + + + + + False + 6 + 1 + + + + + 1 + + + + + True + <b>Double-click on a row to view/edit data</b> + True + + + False + False + 2 + + + + + True + 6 + 18 + + + True + 6 + start + + + _Mark all + True + True + True + False + True + + + False + False + 0 + + + + + _Unmark all + True + True + True + False + True + + + False + False + 1 + + + + + In_vert marks + True + True + True + False + True + + + False + False + 2 + + + + + 0 + + + + + _Hide marked + True + True + False + True + + + False + False + 1 + + + + + False + 3 + + + + + 1 + + + + + True + end + + + gtk-close + True + True + True + False + True + + + + False + False + 0 + + + + + False + end + 0 + + + + + + closebutton1 diff --git a/src/plugins/tool/verifyresult.glade b/src/plugins/tool/verifyresult.glade deleted file mode 100644 index 30a6dfdc1..000000000 --- a/src/plugins/tool/verifyresult.glade +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - True - 500 - 300 - dialog - False - - - True - - - True - 6 - vertical - 6 - - - True - - - False - False - 6 - 0 - - - - - True - - - True - True - automatic - automatic - - - True - True - True - - - - - 0 - - - - - True - vertical - 6 - - - - - - - - - - - - - - - False - 6 - 1 - - - - - 1 - - - - - True - <b>Double-click on a row to view/edit data</b> - True - - - False - False - 2 - - - - - True - 6 - 18 - - - True - 6 - start - - - _Mark all - True - True - True - True - True - - - False - False - 0 - - - - - _Unmark all - True - True - True - True - True - - - False - False - 1 - - - - - In_vert marks - True - True - True - True - True - - - False - False - 2 - - - - - 0 - - - - - _Hide marked - True - True - True - True - - - False - False - 1 - - - - - False - 3 - - - - - 1 - - - - - True - end - - - gtk-close - True - True - True - True - True - - - - False - False - 0 - - - - - False - end - 0 - - - - - - closebutton1 - - -