Help Needed: gnome-open and apps patching
Michael Schwendt
ms-nospam-0306 at arcor.de
Tue Mar 16 13:13:20 UTC 2004
On Tue, 16 Mar 2004 02:02:38 -1000, Warren Togami wrote:
> GNOME 2.6 added the "gnome-open" utility which launches the browser that
> is chosen by the user in "Preferred Applications". gnome-open reads the
> appropriate keys from gconf then launches the browser. While gnome-open
> is not a long-term solution for cross-desktop compatibility (like with
> KDE), it allows us to have better desktop application integration within
> the short time-frame of the FC2 release schedule. It also gives us a
> better alternative to the highly problematic "htmlview" script.
>
> The following tasks need your help in order to better integrate the
> Linux desktop applications.
>
> 1) gaim default to gnome-open
> Someone please submit an exact patch that can be added to the
> gaim*.src.rpm to change the default URL handler to Custom and using
> gnome-open.
diff -Nur gaim-0.75-orig/src/gtkprefs.c gaim-0.75/src/gtkprefs.c
--- gaim-0.75-orig/src/gtkprefs.c 2004-01-10 05:04:56.000000000 +0100
+++ gaim-0.75/src/gtkprefs.c 2004-03-16 14:02:18.000000000 +0100
@@ -2702,8 +2702,8 @@
/* Browsers */
gaim_prefs_add_none("/gaim/gtk/browsers");
gaim_prefs_add_bool("/gaim/gtk/browsers/new_window", FALSE);
- gaim_prefs_add_string("/gaim/gtk/browsers/command", "");
- gaim_prefs_add_string("/gaim/gtk/browsers/browser", "mozilla");
+ gaim_prefs_add_string("/gaim/gtk/browsers/command", "gnome-open %s");
+ gaim_prefs_add_string("/gaim/gtk/browsers/browser", "custom");
/* Idle */
gaim_prefs_add_none("/gaim/gtk/idle");
More information about the fedora-devel-list
mailing list