Removed several HELP buttons that doesn't work
Allows to close the disk type selection window
This commit is contained in:
parent
754714caab
commit
ce844c19a1
4 changed files with 7 additions and 32 deletions
|
|
@ -668,21 +668,6 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="layout_style">end</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>
|
<child>
|
||||||
<object class="GtkButton" id="button5">
|
<object class="GtkButton" id="button5">
|
||||||
<property name="label">gtk-quit</property>
|
<property name="label">gtk-quit</property>
|
||||||
|
|
|
||||||
|
|
@ -960,21 +960,6 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="layout_style">end</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>
|
<child>
|
||||||
<object class="GtkButton" id="cancel">
|
<object class="GtkButton" id="cancel">
|
||||||
<property name="label">gtk-cancel</property>
|
<property name="label">gtk-cancel</property>
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@
|
||||||
<property name="modal">True</property>
|
<property name="modal">True</property>
|
||||||
<property name="window_position">center</property>
|
<property name="window_position">center</property>
|
||||||
<property name="icon">devede.svg</property>
|
<property name="icon">devede.svg</property>
|
||||||
<property name="deletable">False</property>
|
|
||||||
<property name="has_resize_grip">False</property>
|
<property name="has_resize_grip">False</property>
|
||||||
|
<signal name="destroy" handler="on_wselect_disk_destroy_event" swapped="no"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="box1">
|
<object class="GtkBox" id="box1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
|
|
||||||
|
|
@ -203,4 +203,9 @@ class choose_disc_type(GObject.GObject):
|
||||||
final_text = text1+text2+text3+text4+text5
|
final_text = text1+text2+text3+text4+text5
|
||||||
textbuf.insert_at_cursor(final_text,len(final_text))
|
textbuf.insert_at_cursor(final_text,len(final_text))
|
||||||
window.run()
|
window.run()
|
||||||
window.destroy()
|
window.destroy()
|
||||||
|
|
||||||
|
|
||||||
|
def on_wselect_disk_destroy_event(self,w):
|
||||||
|
|
||||||
|
Gtk.main_quit()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue