В Срд, 12/03/2008 в 17:17 +0200, crawler пишет: > #include <stdio.h> > #include <gnome-vfs-2.0/libgnomevfs/gnome-vfs.h> > > int main (int argc, char* argv[]) > { > gnome_vfs_init (); > if ( 1 < argc ) { > char* uri = gnome_vfs_make_uri_from_shell_arg(argv[1]); > gnome_vfs_url_show(uri); > } > return 0; > } Кхм. А чем gnome-open не угодил? -- Peter.
Attachment:
signature.asc
Description: =?UTF-8?Q?=D0=AD=D1=82=D0=B0?= =?UTF-8?Q?_=D1=87=D0=B0=D1=81=D1=82=D1=8C?= =?UTF-8?Q?_=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?Q?_=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B0?= =?UTF-8?Q?_=D1=86=D0=B8=D1=84=D1=80=D0=BE=D0=B2=D0=BE=D0=B9?= =?UTF-8?Q?_=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D1=8C=D1=8E?=