diff options
author | Stefano Karapetsas <[email protected]> | 2012-10-16 23:53:09 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-10-16 23:53:09 +0200 |
commit | b6c3c38db9d4c0abb201f2f8a109c69b575db6e9 (patch) | |
tree | 2c37fe09acce6afc4c7a942096a46c4da8db21fd /mate-panel/panel-run-dialog.c | |
parent | 2b3a21fb01f6a198642218c744541814f5a7152b (diff) | |
download | mate-panel-b6c3c38db9d4c0abb201f2f8a109c69b575db6e9.tar.bz2 mate-panel-b6c3c38db9d4c0abb201f2f8a109c69b575db6e9.tar.xz |
add --run-dialog option to open run dialog
Diffstat (limited to 'mate-panel/panel-run-dialog.c')
-rw-r--r-- | mate-panel/panel-run-dialog.c | 10 |
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); +} |