3271: Verify tool glade file needs to have elements renamed

svn: r14629
This commit is contained in:
Benny Malengier 2010-03-05 15:43:50 +00:00
parent a8206b52ac
commit d7e9b5a9da
2 changed files with 13 additions and 0 deletions

View File

@ -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(

View File

@ -7,9 +7,11 @@
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkVBox" id="vbox6">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="title">
<property name="visible">True</property>
@ -701,10 +703,12 @@
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox2">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkVBox" id="vbox5">
<property name="visible">True</property>
<property name="border_width">6</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="title2">
@ -741,6 +745,7 @@
<child>
<object class="GtkVBox" id="vbox7">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<placeholder/>