# HG changeset patch # User Sean Egan # Date 1188349381 0 # Node ID b66909a58e5f9115b0c8fd8a9fc6645725ab54b7 # Parent 3b61b5279a56a1e1870401e2599e6c6ca7361f2c Only hide single tab on Top-tabbed windows diff -r 3b61b5279a56 -r b66909a58e5f pidgin/gtkconv.c --- a/pidgin/gtkconv.c Tue Aug 28 22:40:51 2007 +0000 +++ b/pidgin/gtkconv.c Wed Aug 29 01:03:01 2007 +0000 @@ -8803,9 +8803,8 @@ if (pidgin_conv_window_get_gtkconv_count(win) == 1) gtk_notebook_set_show_tabs(GTK_NOTEBOOK(win->notebook), purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/tabs") && - (!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/im/show_buddy_icons") || - purple_prefs_get_int(PIDGIN_PREFS_ROOT "/conversations/tab_side") == GTK_POS_LEFT || - purple_prefs_get_int(PIDGIN_PREFS_ROOT "/conversations/tab_side") == GTK_POS_RIGHT)); + (!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/im/show_buddy_icons") || + purple_prefs_get_int(PIDGIN_PREFS_ROOT "/conversations/tab_side") != GTK_POS_TOP)); /* show the widgets */ /* gtk_widget_show(gtkconv->icon); */