#9 Support complex pattern in Gtk::Filter

closed
nobody
None
5
2008-10-23
2008-10-23
No

Hi.

I would like to display file with matching different extensions in a Gtk::FileChooserDialog. I try to use Gtk::Filter with the add_pattern method. Given the documentation a shell style glob must be used:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3AFileFilter#add_pattern

With bash, ls *.{extension1,extension2} works fine but the same pattern does not work with Gtk::Filter.add_pattern.

I join a file to demonstrate this (code is dirty).

Gtk::BUILD_VERSION => [2, 14, 3]

Discussion

  • Vincent Carmona

    Vincent Carmona - 2008-10-23

    Example

     
  • Kouhei Sutou

    Kouhei Sutou - 2008-10-23

    This is GTK+'s specification.
    Please the request to GTK+'s Bugzilla: http://bugzilla.gnome.org/

     
  • Kouhei Sutou

    Kouhei Sutou - 2008-10-23
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks