changeset 4169:b99639969b32

Backed out changeset 6c07ce72ab94 Lets do this a different way.
author William Pitcock <nenolod@atheme.org>
date Thu, 10 Jan 2008 07:23:51 -0600
parents e105374c4fc3
children 5b5c1472b0cf
files src/audacious/ui_fileinfo.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_fileinfo.c	Thu Jan 10 07:22:14 2008 -0600
+++ b/src/audacious/ui_fileinfo.c	Thu Jan 10 07:23:51 2008 -0600
@@ -481,6 +481,7 @@
     GtkWidget *btn_close;
     GtkWidget *alignment;
     GtkWidget *separator;
+    GtkWidget *scrolledwindow;
     GtkTreeViewColumn *column;
     GtkCellRenderer *renderer;
     gint i;
@@ -709,8 +710,13 @@
     gtk_container_add(GTK_CONTAINER(alignment), arrow_rawdata);
     gtk_box_pack_start(GTK_BOX(hbox), alignment, TRUE, TRUE, 0);
 
+    scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
+    gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+    gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_SHADOW_IN);
+    gtk_container_add(GTK_CONTAINER(arrow_rawdata), scrolledwindow);
+
     treeview_rawdata = gtk_tree_view_new();
-    gtk_container_add(GTK_CONTAINER(arrow_rawdata), treeview_rawdata);
+    gtk_container_add(GTK_CONTAINER(scrolledwindow), treeview_rawdata);
     gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview_rawdata), TRUE);
     gtk_tree_view_set_reorderable(GTK_TREE_VIEW(treeview_rawdata), TRUE);