Mercurial > pidgin
changeset 13773:3ac2d64a74a0
[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 <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 12 May 2006 23:04:48 +0000 |
parents | 95166d0d6037 |
children | 78de76055f59 |
files | src/gtkaccount.c src/gtkft.c src/gtkplugin.c src/gtkpounce.c src/gtkprivacy.c |
diffstat | 5 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- 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. */
--- 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 */
--- 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);
--- 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 */
--- 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));