GNOME Bugzilla – Bug 514064
Use gio calls instead of launching gnome-open
Last modified: 2008-08-18 17:16:34 UTC
This patch removes a run time dependency on gnome-open and also considerably simplifies the code Permission to apply?
Created attachment 104314 [details] [review] The patch
Hi, Jaap. I can't try your patch because I don't have glib 2.15.5 (I'm not using trunk, I'm using Ubuntu Hardy). I'm happy with it, if it works fine. As long I can test it I let you know, in order to commit. Thanks.
Jonh, I discovered that in order to this correctly if you have multiple screens you need to use a GdkAppLaunchContext. Which is in GTK 2.15. So I think it's better to wait for GNOME 2.24
I guess you meant GTK 2.13, as 2.15 hasn't been released yet :)
The plan of the GTK guys a while ago was to skip 2.14 hence 2.15. Later on they came back on that
Hi, Jaap. How is this now?
Hi Jonh, If you want to depend on GTK 2.13.1 you can use the new function gtk_show_uri See http://live.gnome.org/GnomeGoals/RemoveGnomeOpenGnomeHelp
OK, fixed with new gtk+ API. Thanks.