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

Mon, 21 Mar 2011 03:56:15 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Mon, 21 Mar 2011 03:56:15 +0000
branch
cpw.qulogic.gtk3
changeset 32430
b4b1a2c14325
parent 32429
fa0f0fd12f36
child 32432
47b61b9e08e6

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

pidgin/gtkblist.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkblist.c	Mon Mar 21 01:53:46 2011 +0000
+++ b/pidgin/gtkblist.c	Mon Mar 21 03:56:15 2011 +0000
@@ -6029,10 +6029,8 @@
 	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);

mercurial