Re: help launching files in nautilus
- From: Alexander Larsson <alexl redhat com>
- To: Cristóvão "B. B. Dalla Costa" <cbraga fs inf br>
- Cc: Nautilus <nautilus-list gnome org>
- Subject: Re: help launching files in nautilus
- Date: 17 Dec 2003 11:27:24 +0100
On Tue, 2003-12-16 at 20:31, Cristóvão B. B. Dalla Costa wrote:
> Hello
>
> I'm customizing nautilus and I need to launch an app to read a file at
> some point.
>
> I tried to use nautilus_launch_show_file, calling
> nautilus_file_get_existing then using its return as parameter for
> nautilus_launch_show_file, but nautilus segfaults. I've spent quite a
> while trying to figure this out and I'm stumped.
nautilus_file_get_existing can return NULL if the NautilusFile isn't
loaded atm. Thats what "existing" means. Maybe thats the problem.
Maybe you want to use fm_directory_view_activate_file? That depends on
what you are trying to do.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a fiendish Catholic romance novelist who must take medication to keep him
sane. She's a man-hating African-American Valkyrie with a birthmark shaped
like Liberty's torch. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]