Commits

jjacky committed 0a9239a

give some height to list of choices (e.g. command-lines to start after sysupgrade in kalu's updater)

  • Participants
  • Parent commits 1f4aa3b

Comments (0)

Files changed (1)

     /* a scrolledwindow for the list */
     GtkWidget *scrolled;
     scrolled = gtk_scrolled_window_new (
-        gtk_tree_view_get_hadjustment (GTK_TREE_VIEW (list)),
-        gtk_tree_view_get_vadjustment (GTK_TREE_VIEW (list)));
+        gtk_scrollable_get_hadjustment (GTK_SCROLLABLE (list)),
+        gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (list)));
     gtk_box_pack_start (GTK_BOX (box), scrolled, TRUE, TRUE, 0);
+    gtk_widget_set_size_request (scrolled, -1, 108);
     gtk_widget_show (scrolled);
     
     /* cell renderer & column(s) */