[grilo] [test-ui] Fixed horizontal scroll of media list



commit 70ccf52bdb9e3671c4b538e567d22f11f9b10452
Author: Xabier Rodriguez Calvar <xrcalvar igalia com>
Date:   Tue Jun 8 11:50:09 2010 +0200

    [test-ui] Fixed horizontal scroll of media list

 tools/grilo-test-ui/main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index f1901b9..88b9dec 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -1321,7 +1321,6 @@ ui_setup (void)
 				  GTK_POLICY_AUTOMATIC);
   view->browser = gtk_tree_view_new ();
   gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (view->browser), FALSE);
-  gtk_tree_view_set_fixed_height_mode (GTK_TREE_VIEW (view->browser), TRUE);
 
   gint i;
   GtkCellRenderer *col_renders[2];
@@ -1337,7 +1336,7 @@ ui_setup (void)
 					col_attributes[i],
 					col_model[i]);
   }
-  gtk_tree_view_column_set_sizing (col, GTK_TREE_VIEW_COLUMN_FIXED);
+  gtk_tree_view_column_set_sizing (col, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
   gtk_tree_view_insert_column (GTK_TREE_VIEW (view->browser), col, -1);
 
   gtk_container_add (GTK_CONTAINER (scroll), view->browser);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]