empathy r631 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Feb 15 15:00:39 2008
New Revision: 631
URL: http://svn.gnome.org/viewvc/empathy?rev=631&view=rev

Log:
Call gtk_window_deiconify() when presenting a window because in some cases the WM doesn't it for us (Marco Barisione).


Modified:
   trunk/libempathy-gtk/empathy-ui-utils.c

Modified: trunk/libempathy-gtk/empathy-ui-utils.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ui-utils.c	(original)
+++ trunk/libempathy-gtk/empathy-ui-utils.c	Fri Feb 15 15:00:39 2008
@@ -1273,6 +1273,9 @@
 	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 *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]