pidgin: c1573675: Set the GtkTrayIcon invisible before unr...

qulogic at pidgin.im qulogic at pidgin.im
Mon May 17 04:10:46 EDT 2010


-----------------------------------------------------------------
Revision: c1573675765ce94fa58152c4fc2af225ff621d47
Ancestor: cfe0e649dda34d9252d40d8f67e445336a247998
Author: qulogic at pidgin.im
Date: 2010-05-17T02:09:35
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c1573675765ce94fa58152c4fc2af225ff621d47

Modified files:
        pidgin/gtkdocklet-gtk.c

ChangeLog: 

Set the GtkTrayIcon invisible before unref'ing it, or else it will leave
behind a space every time it's removed. This is more evident if you have
the tray icon set to "On Unread Messages". More info at GnomeBug 589860.

Fixes #11913.

-------------- next part --------------
============================================================
--- pidgin/gtkdocklet-gtk.c	4c8694f749bba34ea1eda230978b1173e7353de6
+++ pidgin/gtkdocklet-gtk.c	fc2b472415b7044278c684d149a1542e8fd693e3
@@ -107,7 +107,8 @@ docklet_gtk_status_destroy(void)
 	g_return_if_fail(docklet != NULL);
 
 	pidgin_docklet_remove();
-	
+
+	gtk_status_icon_set_visible(docklet, FALSE);
 	g_object_unref(G_OBJECT(docklet));
 	docklet = NULL;
 


More information about the Commits mailing list