diff src/gtkconv.c @ 13769:1afc1b0c4fb3

[gaim-migrate @ 16181] SF Patch #1475297 points out that the side tab width is too much for people with lower resolutions. We've had a couple complaints. I e-mailed gaim-devel and I don't remember any responses (nor do I see any in my e-mail archive). I'm changing the side tab with from 18 to 12. The submitter of that patch item suggested 10, but I compromised a bit. If you object to this, let me know (or commit something else). committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 12 May 2006 20:21:35 +0000
parents 410c965f56e0
children 743e38a3182b
line wrap: on
line diff
--- a/src/gtkconv.c	Fri May 12 03:45:47 2006 +0000
+++ b/src/gtkconv.c	Fri May 12 20:21:35 2006 +0000
@@ -7535,7 +7535,7 @@
 		g_object_set(G_OBJECT(gtkconv->tab_label), "ellipsize", PANGO_ELLIPSIZE_END, NULL);
 	gtk_label_set_width_chars(GTK_LABEL(gtkconv->tab_label), 6);
 	if (tabs_side) {
-		gtk_label_set_width_chars(GTK_LABEL(gtkconv->tab_label), MIN(g_utf8_strlen(tmp_lab, -1), 18));
+		gtk_label_set_width_chars(GTK_LABEL(gtkconv->tab_label), MIN(g_utf8_strlen(tmp_lab, -1), 12));
 	}
 	if (angle)
 		gtk_label_set_angle(GTK_LABEL(gtkconv->tab_label), angle);