Fix destroy signal.
This commit is contained in:
parent
e9522144f2
commit
2096c19f2b
|
@ -40,6 +40,8 @@ namespace LAview.Desktop {
|
||||||
application.app_menu = builder.get_object ("menubar") as MenuModel;
|
application.app_menu = builder.get_object ("menubar") as MenuModel;
|
||||||
application.menubar = builder.get_object ("main_toolbar") as MenuModel;
|
application.menubar = builder.get_object ("main_toolbar") as MenuModel;
|
||||||
window.application = application;
|
window.application = application;
|
||||||
|
|
||||||
|
window.destroy.connect (() => { window.application.quit (); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void fill_liststore_templates () {
|
void fill_liststore_templates () {
|
||||||
|
|
|
@ -395,7 +395,6 @@
|
||||||
<property name="margin_top">3</property>
|
<property name="margin_top">3</property>
|
||||||
<property name="border_width">4</property>
|
<property name="border_width">4</property>
|
||||||
<property name="title" translatable="yes">LAview Desktop</property>
|
<property name="title" translatable="yes">LAview Desktop</property>
|
||||||
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="main_vbox">
|
<object class="GtkBox" id="main_vbox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
|
Loading…
Reference in New Issue