changeset 14892:621e798f435c

[gaim-migrate @ 17664] Removing the docklet requests that the buddy list gets focus, which is ass-annoying if you're using Pending mode. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 03 Nov 2006 19:17:08 +0000
parents 063fe56aa427
children e83896c4752d
files gtk/gtkdocklet.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkdocklet.c	Fri Nov 03 17:21:18 2006 +0000
+++ b/gtk/gtkdocklet.c	Fri Nov 03 19:17:08 2006 +0000
@@ -604,7 +604,8 @@
 gaim_gtk_docklet_remove()
 {
 	if (visibility_manager) {
-		gaim_gtk_blist_visibility_manager_remove();
+	        if (strcmp(gaim_prefs_get_string("/gaim/gtk/docklet/show"),"pending"))
+			gaim_gtk_blist_visibility_manager_remove();
 		if (docklet_blinking_timer) {
 			g_source_remove(docklet_blinking_timer);
 			docklet_blinking_timer = 0;