set window propertied

svn: r6844
This commit is contained in:
Don Allingham 2006-06-02 03:56:02 +00:00
parent 28d4740d3c
commit d12edc082c
2 changed files with 3 additions and 5 deletions

View File

@ -80,9 +80,7 @@ class ShowResults(ManagedWindow.ManagedWindow):
text = self.glade.get_widget('text')
self.glade.signal_autoconnect({
'on_close_clicked' : self.close_window,
})
self.glade.get_widget('close').connect('clicked',self.close_window)
n = []
for p_handle in handle_list:

View File

@ -850,7 +850,7 @@ Exactly one rule must apply</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="button9">
<widget class="GtkButton" id="close">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
@ -938,7 +938,7 @@ Exactly one rule must apply</property>
<property name="visible">True</property>
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>