Re: gnome_url_show patches



As someone who has been completely out of the loop, what is the status
here? I'm curious...
Luis

On Sun, 2003-04-13 at 18:45, Frank Worsley wrote:
> Hi all,
> 
> I've been busy, but here are the reworked patches for the gnome_url_show
> stuff:
> 
> http://members.shaw.ca/fworsley/stuff/patches
> 
> I've tested them and everything seems to work fine, except for one
> problem in the Nautilus part. In the following code the default action
> returned for a file is always NULL, but then the open_location function
> finds a component correctly and displays the file. I've looked at the
> queries being made and they are both the same. So, I can't figure out
> why get_default_action returns NULL but open_location works. Could it be
> some sort of Bonobo problem on my system?
> 
> if (use_external_viewer_auto_value) {
> 
>    // this always returns NULL!
>    launch_action = nautilus_mime_get_default_action_for_file (file);
> 
>    if (launch_action != NULL) {
>        nautilus_launch_action (launch_action, file,
>                       fm_directory_view_get_containing_window (view));
> 
>        gnome_vfs_mime_action_free (launch_action);
> 
>    } else {
> 
>        // but open_location correctly opens the EOG view!
>        open_location (view, uri, parameters->choice);
>    }
> }
> 
> 
> Any hints appreciated.
> 
> - Frank
> 
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list




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