cpw.qulogic.gtk3: 0edbab90: this wasn't really mean to be commited.....

malu at pidgin.im malu at pidgin.im
Wed Dec 1 05:51:23 EST 2010


----------------------------------------------------------------------
Revision: 0edbab908ba60599e47d5c132bd6746c13664250
Parent:   958d6da32ed79e2eb6edb08eb4d7f8c4c0211375
Author:   malu at pidgin.im
Date:     12/01/10 05:44:54
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/0edbab908ba60599e47d5c132bd6746c13664250

Changelog: 

this wasn't really mean to be commited...

Changes against parent 958d6da32ed79e2eb6edb08eb4d7f8c4c0211375

  patched  pidgin/gtkstatusbox.c

-------------- next part --------------
============================================================
--- pidgin/gtkstatusbox.c	7c79dc5c639d226ff2873a5f3c9a1357870ad36c
+++ pidgin/gtkstatusbox.c	f44313f719ab66915da650c1b822606923b23a20
@@ -1883,7 +1883,7 @@ pidgin_status_box_init (PidginStatusBox 
 	gtk_widget_set_parent(status_box->toggle_button, GTK_WIDGET(status_box));
 
 	gtk_box_pack_start(GTK_BOX(status_box->vbox), status_box->sw, TRUE, TRUE, 0);
-	
+
 	g_signal_connect(G_OBJECT(status_box), "scroll_event", G_CALLBACK(combo_box_scroll_event_cb), NULL);
 	g_signal_connect(G_OBJECT(status_box->imhtml), "scroll_event",
 					G_CALLBACK(imhtml_scroll_event_cb), status_box->imhtml);
@@ -2570,11 +2570,7 @@ static void update_size(PidginStatusBox 
 	if (!interior_focus)
 		height += 2 * focus_width;
 
-	int mh, nh;
-	gtk_widget_get_preferred_height(status_box->vbox, &mh, &nh);
-	purple_debug_info("pidgin", "statusbox, set_size_request: %d %d\n", mh, nh);
-
-	gtk_widget_set_size_request(status_box->imhtml, -1, height + PIDGIN_HIG_BOX_SPACE);
+	gtk_widget_set_size_request(status_box->vbox, -1, height + PIDGIN_HIG_BOX_SPACE);
 }
 
 static void remove_typing_cb(PidginStatusBox *status_box)


More information about the Commits mailing list