Mercurial > pidgin
comparison src/gtkaccount.c @ 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 | 85267a333422 |
children | 052aee037835 |
comparison
equal
deleted
inserted
replaced
13772:95166d0d6037 | 13773:3ac2d64a74a0 |
---|---|
2389 GtkTargetEntry gte[] = {{"GAIM_ACCOUNT", GTK_TARGET_SAME_APP, 0}}; | 2389 GtkTargetEntry gte[] = {{"GAIM_ACCOUNT", GTK_TARGET_SAME_APP, 0}}; |
2390 | 2390 |
2391 /* Create the scrolled window. */ | 2391 /* Create the scrolled window. */ |
2392 sw = gtk_scrolled_window_new(0, 0); | 2392 sw = gtk_scrolled_window_new(0, 0); |
2393 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), | 2393 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), |
2394 GTK_POLICY_AUTOMATIC, | 2394 GTK_POLICY_AUTOMATIC, |
2395 GTK_POLICY_ALWAYS); | 2395 GTK_POLICY_AUTOMATIC); |
2396 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), | 2396 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), |
2397 GTK_SHADOW_IN); | 2397 GTK_SHADOW_IN); |
2398 gtk_widget_show(sw); | 2398 gtk_widget_show(sw); |
2399 | 2399 |
2400 /* Create the list model. */ | 2400 /* Create the list model. */ |
2401 dialog->model = gtk_list_store_new(NUM_COLUMNS, | 2401 dialog->model = gtk_list_store_new(NUM_COLUMNS, |
2402 GDK_TYPE_PIXBUF, G_TYPE_STRING, | 2402 GDK_TYPE_PIXBUF, G_TYPE_STRING, |