GNOME Bugzilla – Bug 583996
Get rid of gnome-open
Last modified: 2009-10-23 12:07:14 UTC
http://live.gnome.org/GnomeGoals/RemoveGnomeOpenGnomeHelp proposes to get rid of gnome-open
Created attachment 135435 [details] [review] Delete gnome_open call
Created attachment 135602 [details] [review] Replace use of gnome_help_display and launching browser/xdg-open with gtk_show_ur After this change dia would require gtk+2.0 >= 2.14
Dia master already depends on gtk-2-12, but I would prefer to not increase this requirement even further for 0-98. Making optional use of you code with GTK_CHECK_VERSION would be acceptable, though.
Created attachment 135760 [details] [review] Replace use of gnome_help_display and launching browser/xdg-open with gtk_show_uri when gtk+ >= 2.14 Checking of gtk+ version added.
The gtk_show_uri call should not be within #ifdef GNOME. The whole #ifdef GNOME stuff could vanish as in the first patch (or better be replaced by GTK_CHECK_VERSION() branch.
Created attachment 136171 [details] [review] Replace use of gnome_help_display and launching browser/xdg-open with gtk_show_uri when gtk+ >= 2.14 Here is updated version that gets rid of #ifdef GNOME.
Created attachment 136206 [details] [review] Replace use of gnome_help_display and launching browser/xdg-open with gtk_show_uri when gtk+ >= 2.14 Here is an updated patch that additionally fallbacks to gtk_show_uri with file: uri if showing ghelp: uri fails.
ping :)
Pushed the most recent patch to master (after making it apply cleanly): http://git.gnome.org/cgit/dia/commit/?id=41ec6eafc42ce0302f6ed83d87af678ad476c24d