[gimp/gtk3-port: 203/231] app: let the file dialog expand/collapse with the file type expander



commit 0a8eb77313702728f7386bb6ff948d29a8c8f7e7
Author: Michael Natterer <mitch gimp org>
Date:   Mon Mar 21 21:12:48 2011 +0100

    app: let the file dialog expand/collapse with the file type expander
    
    Using the new gtk_expander_set_resize_toplevel().

 app/widgets/gimpfiledialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpfiledialog.c b/app/widgets/gimpfiledialog.c
index 3b3a7c8..cbcb9a8 100644
--- a/app/widgets/gimpfiledialog.c
+++ b/app/widgets/gimpfiledialog.c
@@ -866,6 +866,7 @@ gimp_file_dialog_add_proc_selection (GimpFileDialog *dialog)
   GtkWidget *scrolled_window;
 
   dialog->proc_expander = gtk_expander_new_with_mnemonic (NULL);
+  gtk_expander_set_resize_toplevel (GTK_EXPANDER (dialog->proc_expander), TRUE);
   gimp_file_dialog_add_extra_widget (dialog,
                                      dialog->proc_expander,
                                      TRUE, TRUE, 0);


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