Mercurial > pidgin.yaz
diff src/gtkprivacy.c @ 7931:2a781d4178ba
[gaim-migrate @ 8602]
Make the prefs away message tree view thing actually scroll when you use
the arrow keys to scroll through your away messages. Same for the
privacy lists and for list of users in a chat. Although, the last one
you can't use the keyboard because input is stolen by the text input
box.
Make the menu item for blocking users gray out if the protocol doesn't
support it.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 26 Dec 2003 20:34:58 +0000 |
parents | a230b7bca1fb |
children | fa6395637e2c |
line wrap: on
line diff
--- a/src/gtkprivacy.c Fri Dec 26 19:07:55 2003 +0000 +++ b/src/gtkprivacy.c Fri Dec 26 20:34:58 2003 +0000 @@ -156,8 +156,9 @@ sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), - GTK_POLICY_NEVER, - GTK_POLICY_AUTOMATIC); + GTK_POLICY_AUTOMATIC, + GTK_POLICY_ALWAYS); + gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN); treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(model)); *ret_treeview = treeview; @@ -170,7 +171,7 @@ gtk_tree_view_column_set_clickable(GTK_TREE_VIEW_COLUMN(column), TRUE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE); - gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(sw), treeview); + gtk_container_add(GTK_CONTAINER(sw), treeview); gtk_widget_show(treeview);