From 6188e68811935bd8e1f5b36effde5a6ff41266bf Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Tue, 7 Aug 2012 23:26:44 +0000 Subject: [PATCH] gtk: hide horizontal scrollbar in hotkey gui --- src/drivers/sdl/gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/sdl/gui.cpp b/src/drivers/sdl/gui.cpp index bf533de4..7a7183c1 100644 --- a/src/drivers/sdl/gui.cpp +++ b/src/drivers/sdl/gui.cpp @@ -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);