Re: multiple filters in GtkFileChooser



On Tue, 13 Sep 2011, Bernhard Schuster wrote:

2011/9/13 Allin Cottrell <cottrell wfu edu>:
On Tue, 13 Sep 2011, Bernhard Schuster wrote:

Can you supply a minimal example where it fails? That would help to
find the culprit. I am atm at gtk 2.24.6 so if you can post that I
give it a run...

Thanks! I'm attaching a minimal case.

For me it looks perfectly ok, no abbreviations, tripple dots. I does
the right thing.
Maybe you got a screwed up gtk theme or something.
Note: I do not know how much the fact I am running gnome3 (fallback
mode) does influence the rendering part of a gtk pplication compiled
against the 2.24.6 shared libraries.

I have found the relevant difference between gtk 2.24.5 and 2.24.6, which has the effect -- on my system at least -- that the filter selection combo box is not displayed correctly in the gtk file chooser when using 2.24.6.

It's the added material in the function filter_create(), in gtkfilechooserdefault.c. I'm attaching a diff (simply commenting out the new stuff), which if applied to 2.24.6 makes it work correctly for me.

Allin Cottrell


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