Re: gtk fileselect widget on top of gnome-vfs ?



On Saturday August 09 2003 18:33 CEST, Olivier wrote:
    
I guess you understood the problem wrongly
    
Yes! You are right. But in your first question you don't
talked about a location like 'sftp://'. Sorry! I don't know
anough about the gnome-vfs functions. But the GtkFileSelection
is not made to handle with gnome-vfs i think. The easiest way
will be to mount the remote file systems to your root partition 
cause GtkFileSelection can only handle with folder names like
'/', '/bin' etc. And that was my starting point to answere you.
    
Now my suggestion is to write you an own GObject based on the
GtkFileSelectionClass and insert URI handling to your new
widget. And you can take a look to the gnome-vfs API. May be
there is another possibility? I ask that cause GtkFileSelection
has a
    
void gtk_selection_set_filename(GtkFileSelection *filesel,
                                const char *filename);
    
May be this can work with uri paths? Had'nt tried this bevore.
    
Mathew
    



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