diff src/buddy.c @ 107:55faf2e3a134

[gaim-migrate @ 117] Fixed a really annoying bug so that now the buddy list stays on the panel and doesn't 'float' when the lag-o-meter is on. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 12 Apr 2000 08:13:22 +0000
parents 9f6ce50ffb78
children 66ec3865bd46
line wrap: on
line diff
--- a/src/buddy.c	Wed Apr 12 06:51:37 2000 +0000
+++ b/src/buddy.c	Wed Apr 12 08:13:22 2000 +0000
@@ -276,7 +276,7 @@
 	applet_widget_register_callback(APPLET_WIDGET(applet),
 			"buddy",
 			_("Buddy List"),
-			(AppletCallbackFunc)make_buddy,
+			(AppletCallbackFunc)createOnlinePopup,
 			NULL);
 	return (TRUE);
 }
@@ -294,7 +294,14 @@
 }
 
 GtkRequisition gnome_buddy_get_dimentions(){
-	return blist->requisition;
+	if (general_options & OPT_GEN_SAVED_WINDOWS) {
+		GtkRequisition r;
+		r.width = blist_pos.width;
+		r.height = blist_pos.height;
+		return r;
+	} else {
+		return blist->requisition;
+	}
 }
 
 #endif