summaryrefslogtreecommitdiff
path: root/plugins/shellexecui/shellexecui.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shellexecui/shellexecui.c')
-rw-r--r--plugins/shellexecui/shellexecui.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/shellexecui/shellexecui.c b/plugins/shellexecui/shellexecui.c
index 482cec2b..6b6744dd 100644
--- a/plugins/shellexecui/shellexecui.c
+++ b/plugins/shellexecui/shellexecui.c
@@ -345,9 +345,20 @@ init_treeview() {
g_object_unref(liststore);
}
+void
+on_shellexec_conf_dialog_destroy (GObject *object,
+ gpointer user_data)
+{
+ conf_dlg = NULL;
+}
+
+
static gboolean
shellexecui_action_gtk (void *data)
{
+ if (conf_dlg) {
+ return FALSE;
+ }
conf_dlg = create_shellexec_conf_dialog();
gtk_widget_set_size_request (conf_dlg, 400, 400);
gtk_window_set_transient_for(GTK_WINDOW(conf_dlg),