diff options
author | Felix Riemann <[email protected]> | 2017-04-22 15:24:43 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-04-28 08:23:50 +0200 |
commit | a627cb4a4d33d760e34dea37b0e3812207d7a657 (patch) | |
tree | c7d6bed5b120ee74eba485fb9e99849d3176851e | |
parent | 8ed7ac8b746dbc27671adc991ec000a767482277 (diff) | |
download | eom-a627cb4a4d33d760e34dea37b0e3812207d7a657.tar.bz2 eom-a627cb4a4d33d760e34dea37b0e3812207d7a657.tar.xz |
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
-rw-r--r-- | src/eom-close-confirmation-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, " |