diff pidgin/gtkconv.c @ 18787:09103d3ba774

fix a bug when you set your tabs to side vertical and change back, the tab stay top/bottom vertical when you only have one tab
author Ka-Hing Cheung <khc@hxbc.us>
date Fri, 03 Aug 2007 05:03:23 +0000
parents 8b0663abb488
children 42161f9233bf 95fe5195bf98
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Thu Aug 02 20:14:31 2007 +0000
+++ b/pidgin/gtkconv.c	Fri Aug 03 05:03:23 2007 +0000
@@ -8660,8 +8660,8 @@
 			MIN(g_utf8_strlen(gtk_label_get_text(GTK_LABEL(gtkconv->tab_label)), -1), 12)
 		);
 	}
-	if (angle)
-		gtk_label_set_angle(GTK_LABEL(gtkconv->tab_label), angle);
+
+	gtk_label_set_angle(GTK_LABEL(gtkconv->tab_label), angle);
 #endif
 
 #if 0