Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Why FileDialog's setFilterExtensions() did not work in Linux gtk?
Why FileDialog's setFilterExtensions() did not work in Linux gtk? [message #446956] Tue, 07 December 2004 10:02 Go to next message
Eclipse UserFriend
Originally posted by: huac.idsignet.com

FileDialog's setFilterExtensions() works correctly in window OS, but in
Linux gtk it works abnormal.

If the extension is "*.xml", which will appear in the Text widget on the
bottom, but in the files viewer, no filtering is executed.

Thanks.
Re: Why FileDialog's setFilterExtensions() did not work in Linux gtk? [message #446984 is a reply to message #446956] Tue, 07 December 2004 13:29 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
This does not work in the original GtkFileSelection widget, but does work in
the newer GtkFileChooser. If you're running with gtk >= 2.4.10 then you
will get the correct GtkFileChooser behaviour through swt, but if you have
an earlier gtk version then file filtering will not work for you. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=46667 .

Grant

"Hua Chao" <huac@idsignet.com> wrote in message
news:cp3uv7$d4j$1@www.eclipse.org...
> FileDialog's setFilterExtensions() works correctly in window OS, but in
> Linux gtk it works abnormal.
>
> If the extension is "*.xml", which will appear in the Text widget on the
> bottom, but in the files viewer, no filtering is executed.
>
> Thanks.
Re: Why FileDialog's setFilterExtensions() did not work in Linux gtk? [message #447018 is a reply to message #446984] Wed, 08 December 2004 01:28 Go to previous message
Eclipse UserFriend
Originally posted by: huac.idsignet.com

Hi:

Thanks. My gtk version is 2.4.0-1.

Grant Gayed wrote:
> This does not work in the original GtkFileSelection widget, but does work in
> the newer GtkFileChooser. If you're running with gtk >= 2.4.10 then you
> will get the correct GtkFileChooser behaviour through swt, but if you have
> an earlier gtk version then file filtering will not work for you. See
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=46667 .
>
> Grant
>
> "Hua Chao" <huac@idsignet.com> wrote in message
> news:cp3uv7$d4j$1@www.eclipse.org...
>
>>FileDialog's setFilterExtensions() works correctly in window OS, but in
>>Linux gtk it works abnormal.
>>
>>If the extension is "*.xml", which will appear in the Text widget on the
>> bottom, but in the files viewer, no filtering is executed.
>>
>>Thanks.
>
>
>
Previous Topic:Default Focus for Wizard Button
Next Topic:flame bait (newbie SWT question)
Goto Forum:
  


Current Time: Fri Apr 19 14:14:26 GMT 2024

Powered by FUDForum. Page generated in 0.01940 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top