Removed several HELP buttons that doesn't work

Allows to close the disk type selection window
This commit is contained in:
Sergio Costas 2014-08-06 00:48:33 +02:00
parent 754714caab
commit ce844c19a1
4 changed files with 7 additions and 32 deletions

View file

@ -668,21 +668,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button6">
<property name="label">gtk-help</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
<property name="secondary">True</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button5">
<property name="label">gtk-quit</property>

View file

@ -960,21 +960,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button1">
<property name="label">gtk-help</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
<property name="secondary">True</property>
</packing>
</child>
<child>
<object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property>

View file

@ -9,8 +9,8 @@
<property name="modal">True</property>
<property name="window_position">center</property>
<property name="icon">devede.svg</property>
<property name="deletable">False</property>
<property name="has_resize_grip">False</property>
<signal name="destroy" handler="on_wselect_disk_destroy_event" swapped="no"/>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>

View file

@ -203,4 +203,9 @@ class choose_disc_type(GObject.GObject):
final_text = text1+text2+text3+text4+text5
textbuf.insert_at_cursor(final_text,len(final_text))
window.run()
window.destroy()
window.destroy()
def on_wselect_disk_destroy_event(self,w):
Gtk.main_quit()