changeset 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 60b405e0b28e
children 550ec02c9135 b193b5921665
files pidgin/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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