Re: File Chooser Dialog: display only files with chosen extensions: SOLVED

2008-01-12 Thread vijayasarathy
Hey friends, Solution: You could > either use gtk_file_filter_add_mime_type or > gtk_file_filter_add_pattern(filefilter, "*.exe"). Thanks ...the last thing works. I tried mime type, that didnt work too .. Vijay gtk_Add_fil On Sun, January 13, 2008 3:39 am, Armin Burgmeier wrote: > > > On S

applet and tray in gnome

2008-01-12 Thread Daniel Fetchinson
Forgot the subject line I originally sent this post to the gnome list but nobody replied. I'll try my luck here this time, hopefully it's not too OT. I'm using stalonetray http://stalonetray.sf.net/ as my system tray and can't get the gnome battery charge monitor applet show up on it. I'

[no subject]

2008-01-12 Thread Daniel Fetchinson
I originally sent this post to the gnome list but nobody replied. I'll try my luck here this time, hopefully it's not too OT. I'm using stalonetray http://stalonetray.sf.net/ as my system tray and can't get the gnome battery charge monitor applet show up on it. I'm also using nm-applet and that s

Re: File Chooser Dialog: display only files with chosen extensions

2008-01-12 Thread Armin Burgmeier
On Sat, 2008-01-12 at 17:04 +0530, [EMAIL PROTECTED] wrote: > > > > Hey friend, > > Thanks for that suggestion ...I did try adding file filter and associating > the filter with the file dialog. > > > Here is the code I tried: > > **START CODE CHUNK **

Re: Can GTK+ make use of XSHM extension from MIT

2008-01-12 Thread Eero Tamminen
Hi, ext Bin Chen wrote: >> ext Bin Chen wrote: >>> I am not doing very detailed profiling against this, but by comparing >>> the frame rate in my player against using pure framebuffer >>> implementation. The performance difference is large. If not using >>> shared memory to transfer the decoded im

Re: File Chooser Dialog: display only files with chosen extensions

2008-01-12 Thread Emmanuele Bassi
On Sat, 2008-01-12 at 17:04 +0530, [EMAIL PROTECTED] wrote: > //Add filter to the dialog box > gtk_file_chooser_add_filter((GtkFileChooser > *)wdgt_filechooser,filefilter); try with gtk_file_chooser_set_filter (file_chooser, filter); and use the casting macros that GTK+ provides, w

Re: File Chooser Dialog: display only files with chosen extensions

2008-01-12 Thread vijayasarathy
Hey friend, Thanks for that suggestion ...I did try adding file filter and associating the filter with the file dialog. Here is the code I tried: **START CODE CHUNK * GtkFileFilter *filefilter;//For filtering only exe files into GtkWi

Re: File Chooser Dialog: display only files with chosen extensions

2008-01-12 Thread Eduardo M KALINOWSKI
[EMAIL PROTECTED] wrote: > Hi all, > > Is it possible that we can let a GtkFileChooserDialog object [file chooser > dialog] to display only files of specific extensions, for example, display > only exe files in the navigated folder ? > Certainly. You have to create GtkFileFilter's. See these li

File Chooser Dialog: display only files with chosen extensions

2008-01-12 Thread vijayasarathy
Hi all, Is it possible that we can let a GtkFileChooserDialog object [file chooser dialog] to display only files of specific extensions, for example, display only exe files in the navigated folder ? Thanks. Vijay ***

TreeModelFilter and TreeModelSort performance

2008-01-12 Thread Tiberius Duluman
I'm writing a window where users can filter a list of items. They enter a search criteria in a text box, and a TreeView is filled with the items that satisfy their criteria. Items are sorted by their relevance. In order to do this, I've loaded all the items into a ListStore. The ListStore contains