diff options
author | Lithopsian <deadbeef@nartowicz.co.uk> | 2014-07-06 17:04:02 +0100 |
---|---|---|
committer | Lithopsian <deadbeef@nartowicz.co.uk> | 2014-07-06 17:04:02 +0100 |
commit | 3c8b29056cb4e68067f475ee6653640b199087df (patch) | |
tree | aa9e019475dc3e5183c4c8440ea7c0d8c91ee001 /plugins/shellexecui/interface.c | |
parent | 6cd87a40c3a3da1ff8ecdc0f8b980cec38de84aa (diff) | |
parent | d012d39f4d256d43cd5e2d95a96f4868fbedd464 (diff) |
Merge pull request #8 from Alexey-Yakovenko/master
Resync
Diffstat (limited to 'plugins/shellexecui/interface.c')
-rw-r--r-- | plugins/shellexecui/interface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/shellexecui/interface.c b/plugins/shellexecui/interface.c index d00c0fc7..6296617b 100644 --- a/plugins/shellexecui/interface.c +++ b/plugins/shellexecui/interface.c @@ -44,6 +44,7 @@ create_shellexec_conf_dialog (void) shellexec_conf_dialog = gtk_dialog_new (); gtk_container_set_border_width (GTK_CONTAINER (shellexec_conf_dialog), 12); gtk_window_set_title (GTK_WINDOW (shellexec_conf_dialog), _("Custom Shell Commands")); + gtk_window_set_destroy_with_parent (GTK_WINDOW (shellexec_conf_dialog), TRUE); gtk_window_set_type_hint (GTK_WINDOW (shellexec_conf_dialog), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_dialog_set_has_separator (GTK_DIALOG (shellexec_conf_dialog), FALSE); @@ -89,6 +90,9 @@ create_shellexec_conf_dialog (void) gtk_dialog_add_action_widget (GTK_DIALOG (shellexec_conf_dialog), save_button, 0); gtk_widget_set_can_default(save_button, TRUE); + g_signal_connect ((gpointer) shellexec_conf_dialog, "destroy", + G_CALLBACK (on_shellexec_conf_dialog_destroy), + NULL); g_signal_connect ((gpointer) add_button, "clicked", G_CALLBACK (on_add_button_clicked), NULL); |