cpw.qulogic.gtk3: a8f0eef7: Fix the blist headline, so it doesn't fo...

qulogic at pidgin.im qulogic at pidgin.im
Mon Mar 21 01:12:43 EDT 2011


----------------------------------------------------------------------
Revision: a8f0eef7e999fe67029a8df6e8a41d9a1c564388
Parent:   47b29d41d647906be0ab9385dc35da56f39347dc
Author:   qulogic at pidgin.im
Date:     03/20/11 23:56:15
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/a8f0eef7e999fe67029a8df6e8a41d9a1c564388

Changelog: 

Fix the blist headline, so it doesn't force the list to be super-wide.

Changes against parent 47b29d41d647906be0ab9385dc35da56f39347dc

  patched  pidgin/gtkblist.c

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	942889f7e95e60b922bd2ddd39de421bb870e08a
+++ pidgin/gtkblist.c	ccec6b40520bbe8f3bd208cfaeed5bf067cd420e
@@ -6029,10 +6029,8 @@ static void pidgin_blist_show(PurpleBudd
 	gtk_container_set_border_width(GTK_CONTAINER(gtkblist->headline_hbox), 6);
 	gtk_container_add(GTK_CONTAINER(ebox), gtkblist->headline_hbox);
 	gtkblist->headline_image = gtk_image_new_from_pixbuf(NULL);
-	gtk_misc_set_alignment(GTK_MISC(gtkblist->headline_image), 0.0, 0);
+	gtk_misc_set_alignment(GTK_MISC(gtkblist->headline_image), 0.5, 0.5);
 	gtkblist->headline_label = gtk_label_new(NULL);
-	gtk_widget_set_size_request(gtkblist->headline_label,
-				    purple_prefs_get_int(PIDGIN_PREFS_ROOT "/blist/width")-25,-1);
 	gtk_label_set_line_wrap(GTK_LABEL(gtkblist->headline_label), TRUE);
 	gtk_box_pack_start(GTK_BOX(gtkblist->headline_hbox), gtkblist->headline_image, FALSE, FALSE, 0);
 	gtk_box_pack_start(GTK_BOX(gtkblist->headline_hbox), gtkblist->headline_label, TRUE, TRUE, 0);


More information about the Commits mailing list