Re: Url handlers



On Mon, 2006-01-23 at 20:23 -0600, Federico Mena Quintero wrote:
> Hi,
> 
> I'm looking at the double-click-on-cdrom bug again:
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=315877
> 
> To summarize:
> 
> 1. I have an URL handler for "cdda" URI schemes.
> 
> 2. The URL handler is a script similar to Fedora's, which strips out the
> "cdda://" prefix, reads the
> "/desktop/gnome/volume_manager/autoplay_cda_command" gconf key, and
> launches that command.
> 
> If I do "gnome-open cdda:///dev/hdc" on the command line, my program
> from (2) gets launched properly.
> 
> But if I double-click on a CD icon in Nautilus, I get a file manager
> window titled "hdc", with a single, unnamed file of type "WAV audio".
> 
> I'm having trouble finding the code in Nautilus that would figure out
> that "cdda" URIs are in fact to be launched with a command.
> activate_callback() in fm-directory-view.c falls down to the case for
> ACTIVATION_ACTION_OPEN_IN_VIEW, which just calls open_location(), which
> opens a file manager window.
> 
> Does anyone know what's going on?  Or where would a URI with a certain
> scheme be processed?

Do you have the gnome-vfs cdda:// method built? That might cause
something like this.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a notorious devious dwarf from the Mississippi delta. She's a vivacious 
out-of-work schoolgirl on her way to prison for a murder she didn't commit. 
They fight crime! 




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