From 4ff82a7581aa3fc24f99e45d5aeea96ee78a6a5c Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Fri, 5 Mar 2010 15:43:47 +0000 Subject: [PATCH] 3271: Verify tool glade file needs to have elements renamed svn: r14628 --- src/plugins/tool/Verify.py | 8 ++++++++ src/plugins/tool/verify.glade | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/src/plugins/tool/Verify.py b/src/plugins/tool/Verify.py index 78501dec6..4e5a3c2c9 100644 --- a/src/plugins/tool/Verify.py +++ b/src/plugins/tool/Verify.py @@ -419,6 +419,8 @@ class VerifyResults(ManagedWindow): self.top.connect_signals({ "destroy_passed_object" : self.close, + "on_verify_ok_clicked" : self.__dummy, + "on_help_clicked" : self.__dummy, }) self.warn_tree = self.top.get_object('warn_tree') @@ -492,6 +494,12 @@ class VerifyResults(ManagedWindow): self.window.show() self.window_shown = False + def __dummy(self, obj): + """dummy callback, needed because VerifyResults is in same glade file + as Verify, so callbacks of Verify must be defined. + """ + pass + def load_ignored(self,db_filename): md5sum = md5(db_filename) self.ignores_filename = os.path.join( diff --git a/src/plugins/tool/verify.glade b/src/plugins/tool/verify.glade index 5d35a7b87..d8901e780 100644 --- a/src/plugins/tool/verify.glade +++ b/src/plugins/tool/verify.glade @@ -7,9 +7,11 @@ True + vertical True + vertical True @@ -701,10 +703,12 @@ True + vertical True 6 + vertical 6 @@ -741,6 +745,7 @@ True + vertical 6