From: Xavier Claessens Date: Fri, 15 Feb 2008 15:00:39 +0000 (+0000) Subject: Call gtk_window_deiconify() when presenting a window because in some cases the WM... X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=f7a1d31cec6f0e14e9944a87443e0a83b45a530e Call gtk_window_deiconify() when presenting a window because in some cases the WM doesn't it for us (Marco Barisione). svn path=/trunk/; revision=631 --- diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 9c66e73b..c31dfefc 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -1273,6 +1273,9 @@ empathy_window_present (GtkWindow *window, timestamp = gtk_get_current_event_time (); gtk_window_set_skip_taskbar_hint (window, FALSE); gtk_window_present_with_time (window, timestamp); + /* FIXME: This shouldn't be required as gtk_window_present's doc says + * it deiconify automatically. */ + gtk_window_deiconify (window); } GtkWindow *