gtk: hide horizontal scrollbar in hotkey gui

This commit is contained in:
punkrockguy318 2012-08-07 23:26:44 +00:00
parent 11d7905868
commit 6188e68811
1 changed files with 2 additions and 0 deletions

View File

@ -519,6 +519,8 @@ void openHotkeyConfig()
column = gtk_tree_view_column_new_with_attributes("Key", renderer, "text", KEY_COLUMN, NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(tree), column);
scroll = gtk_scrolled_window_new(NULL, NULL);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC);
gtk_container_add(GTK_CONTAINER(scroll), tree);
gtk_box_pack_start(GTK_BOX(vbox), scroll, TRUE, TRUE, 5);
gtk_widget_show_all(win);