GNOME Bugzilla – Bug 340972
expand the width of the file type drop down
Last modified: 2014-12-22 18:23:35 UTC
Seeing the great work done in bug 163850 i felt compelled to ask if you could fix the file type drop down in the file chooser to expand by default to fit the available space. A bigger target is easier to hit and a lot better than dead space. I'm also mildly optimistic a wider dialog will encourge some developers to provide proper lables instead of just the extension such as ".jpg". Keep up the excellent work. Thanks in advance. Other information:
This is easy to fix, in gtkfilechooserdefault.c:filter_pane_create(). Care to provide a patch?
I'll give it a try over the next week or two, hopefully I'll remember to get it done and will be abel to test it properly (here's hoping it's a one liner).
I'll need to get a build enviroment sorted out to test this properly but it looks like just the one line in gtkfilechooserdefault.c:file_pane_create() gtk_size_group_add_widget (size_group, impl->filter_combo_hbox); gtk_box_pack_end (GTK_BOX (vbox), impl->filter_combo_hbox, FALSE, FALSE, 0); needs to be changed so that the Expand value is changed from false to true gtk_size_group_add_widget (size_group, impl->filter_combo_hbox); gtk_box_pack_end (GTK_BOX (vbox), impl->filter_combo_hbox, TRUE, FALSE, 0); I can submit this change in patch format but I wont be able to test it out myself for a while yet.
no patch materialized