summaryrefslogtreecommitdiff
path: root/mate-panel/panel-run-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-run-dialog.c')
-rw-r--r--mate-panel/panel-run-dialog.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c
index 23da2a7b..94ed3e9f 100644
--- a/mate-panel/panel-run-dialog.c
+++ b/mate-panel/panel-run-dialog.c
@@ -2022,5 +2022,15 @@ panel_run_dialog_present (GdkScreen *screen,
G_CALLBACK (panel_run_dialog_static_dialog_destroyed),
static_dialog);
+ gtk_window_present_with_time (GTK_WINDOW (static_dialog->run_dialog),
+ activate_time);
+
g_object_unref (gui);
}
+
+void
+panel_run_dialog_quit_on_destroy (void)
+{
+ g_signal_connect(static_dialog->run_dialog, "destroy",
+ G_CALLBACK(gtk_main_quit), NULL);
+}