diff options
author | Pablo Barciela <[email protected]> | 2018-01-15 00:49:49 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-16 20:33:35 +0100 |
commit | dd14fcb2857f1376b5bf8f55d62324f7aaa4606f (patch) | |
tree | 9c639a2ff6d91835de2eaa9711113c9e0b54808d /mate-panel/panel-applet-frame.c | |
parent | 9d69c70a56c6dd5e73ac909862f90c480e1c4532 (diff) | |
download | mate-panel-dd14fcb2857f1376b5bf8f55d62324f7aaa4606f.tar.bz2 mate-panel-dd14fcb2857f1376b5bf8f55d62324f7aaa4606f.tar.xz |
get focus when displaying "applet broken" dialog
Diffstat (limited to 'mate-panel/panel-applet-frame.c')
-rw-r--r-- | mate-panel/panel-applet-frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-panel/panel-applet-frame.c b/mate-panel/panel-applet-frame.c index dea79339..9ab95019 100644 --- a/mate-panel/panel-applet-frame.c +++ b/mate-panel/panel-applet-frame.c @@ -827,6 +827,10 @@ _mate_panel_applet_frame_applet_broken (MatePanelAppletFrame *frame) gtk_window_set_title (GTK_WINDOW (dialog), _("Error")); gtk_widget_show (dialog); + + gtk_window_present_with_time (GTK_WINDOW (dialog), + gdk_x11_get_server_time (gtk_widget_get_window (GTK_WIDGET (dialog)))); + g_free (dialog_txt); } |