# HG changeset patch # User Richard Laager # Date 1147475088 0 # Node ID 3ac2d64a74a02834a3ff8e7c7a4d98ee57e26d00 # Parent 95166d0d60377283256674c73768ec0cc07537ae [gaim-migrate @ 16185] SF Patch #1480147 from sanmarcos- "This removes unused scrollbars (i.e, there is nothing to scroll, and the bar is visible) in GtkAccount, GtkPounce, GtkPrivacy, GtkFt and GtkPlugin." I don't know of any compelling reason we have forced scrollbars here, and forcing scrollbars is almost always wrong, in my opinion. committer: Tailor Script diff -r 95166d0d6037 -r 3ac2d64a74a0 src/gtkaccount.c --- a/src/gtkaccount.c Fri May 12 22:25:26 2006 +0000 +++ b/src/gtkaccount.c Fri May 12 23:04:48 2006 +0000 @@ -2391,10 +2391,10 @@ /* Create the scrolled window. */ sw = gtk_scrolled_window_new(0, 0); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), - GTK_POLICY_AUTOMATIC, - GTK_POLICY_ALWAYS); + GTK_POLICY_AUTOMATIC, + GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), - GTK_SHADOW_IN); + GTK_SHADOW_IN); gtk_widget_show(sw); /* Create the list model. */ diff -r 95166d0d6037 -r 3ac2d64a74a0 src/gtkft.c --- a/src/gtkft.c Fri May 12 22:25:26 2006 +0000 +++ b/src/gtkft.c Fri May 12 23:04:48 2006 +0000 @@ -547,10 +547,10 @@ /* Create the scrolled window. */ sw = gtk_scrolled_window_new(0, 0); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), - GTK_SHADOW_IN); + GTK_SHADOW_IN); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), - GTK_POLICY_AUTOMATIC, - GTK_POLICY_ALWAYS); + GTK_POLICY_AUTOMATIC, + GTK_POLICY_AUTOMATIC); gtk_widget_show(sw); /* Build the tree model */ diff -r 95166d0d6037 -r 3ac2d64a74a0 src/gtkplugin.c --- a/src/gtkplugin.c Fri May 12 22:25:26 2006 +0000 +++ b/src/gtkplugin.c Fri May 12 23:04:48 2006 +0000 @@ -547,7 +547,7 @@ gtk_window_set_role(GTK_WINDOW(plugin_dialog), "plugins"); sw = gtk_scrolled_window_new(NULL,NULL); - gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(plugin_dialog)->vbox), sw, TRUE, TRUE, 0); diff -r 95166d0d6037 -r 3ac2d64a74a0 src/gtkpounce.c --- a/src/gtkpounce.c Fri May 12 22:25:26 2006 +0000 +++ b/src/gtkpounce.c Fri May 12 23:04:48 2006 +0000 @@ -1184,10 +1184,10 @@ /* Create the scrolled window */ sw = gtk_scrolled_window_new(0, 0); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), - GTK_POLICY_AUTOMATIC, - GTK_POLICY_ALWAYS); + GTK_POLICY_AUTOMATIC, + GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), - GTK_SHADOW_IN); + GTK_SHADOW_IN); gtk_widget_show(sw); /* Create the list model */ diff -r 95166d0d6037 -r 3ac2d64a74a0 src/gtkprivacy.c --- a/src/gtkprivacy.c Fri May 12 22:25:26 2006 +0000 +++ b/src/gtkprivacy.c Fri May 12 23:04:48 2006 +0000 @@ -150,8 +150,8 @@ sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), - GTK_POLICY_AUTOMATIC, - GTK_POLICY_ALWAYS); + GTK_POLICY_AUTOMATIC, + GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN); treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(model));