changeset 19267:8c126e388ea4

merge of '3413e78bc17828c36f80fa106446aef898adfc6d' and '37a828a3519f5c2fe7a6d94dc41d607b807dd371'
author William Ehlhardt <williamehlhardt@gmail.com>
date Tue, 14 Aug 2007 05:20:12 +0000
parents bda9483fbeb1 (current diff) d5e76ad4b365 (diff)
children db6218615be4 f14d539508ca c5f2e9b7b9ab
files
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/win32/winprefs/winprefs.c	Tue Aug 14 04:57:41 2007 +0000
+++ b/pidgin/plugins/win32/winprefs/winprefs.c	Tue Aug 14 05:20:12 2007 +0000
@@ -92,11 +92,7 @@
 	if(!blist)
 		return;
 
-	if(val)
-		SetWindowPos(GDK_WINDOW_HWND(blist->window), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
-	else
-		SetWindowPos(GDK_WINDOW_HWND(blist->window), HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
-
+	gtk_window_set_keep_above(GTK_WINDOW(PIDGIN_BLIST(purple_get_blist())->window), val);
 }
 
 static void blist_dock_cb(gboolean val) {