changeset 19481:8c00833b9959

Don't mess up the initial transparency when not using the "remove transparency on focus" pref.\n
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 28 Aug 2007 00:13:20 +0000
parents 6b9675447eac
children 47a2d00ab060
files pidgin/plugins/win32/transparency/win2ktrans.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/win32/transparency/win2ktrans.c	Mon Aug 27 23:44:11 2007 +0000
+++ b/pidgin/plugins/win32/transparency/win2ktrans.c	Tue Aug 28 00:13:20 2007 +0000
@@ -400,7 +400,7 @@
 
 		g_object_get(G_OBJECT(window), "has-toplevel-focus", &has_focus, NULL);
 
-		if (!has_focus)
+		if (!has_focus || !purple_prefs_get_bool(OPT_WINTRANS_IM_ONFOCUS))
 			set_conv_window_trans(NULL, win);
 
 		if (g_signal_handler_find(G_OBJECT(window), G_SIGNAL_MATCH_FUNC,