From a627cb4a4d33d760e34dea37b0e3812207d7a657 Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Sat, 22 Apr 2017 15:24:43 +0200 Subject: EomCloseConfirmationDialog: Fix size request for the image list Change the size request of the encasing ScrolledWindow instead of the TreeView itself. Otherwise the list would hardly show one row. https://bugzilla.gnome.org/show_bug.cgi?id=679505 taken from: https://git.gnome.org/browse/eog/commit/?id=46fb713 --- src/eom-close-confirmation-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/eom-close-confirmation-dialog.c b/src/eom-close-confirmation-dialog.c index 322e805..92a286b 100644 --- a/src/eom-close-confirmation-dialog.c +++ b/src/eom-close-confirmation-dialog.c @@ -520,7 +520,6 @@ create_treeview (EomCloseConfirmationDialogPrivate *priv) GtkTreeViewColumn *column; treeview = gtk_tree_view_new (); - gtk_widget_set_size_request (treeview, 260, 120); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview), FALSE); gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview), FALSE); @@ -649,6 +648,7 @@ build_multiple_imgs_dialog (EomCloseConfirmationDialog *dlg) treeview = create_treeview (priv); gtk_container_add (GTK_CONTAINER (scrolledwindow), treeview); + gtk_widget_set_size_request (scrolledwindow, 260, 120); /* Secondary label */ secondary_label = gtk_label_new (_("If you don't save, " -- cgit v1.2.1