Re: File Types and Programs

On Sat, 2005-06-25 at 14:06 -0500, Reshat Sabiq wrote:
> I'm considering whether to use OS-based or Options-dialog based app 
> customization for my Firefox extension.
> The question i have is: what would be the programmatic way to open a 
> file using default app, w/o reading the defaults.list files? Would this 
> kind of linking make the extension GNOME-version-dependent? Also, do i 
> understand correctly that the extension wouldn't even load if GNOME 
> isn't installed, and my extension uses this API?

Use gnome_vfs_url_show("file:///dir/file.txt").

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a hate-fuelled neurotic dog-catcher searching for his wife's true killer. 
She's an orphaned winged stripper in the witness protection program. They 
fight crime! 

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