check in updated cdg-open patch
This commit is contained in:
parent
b1bcc297b0
commit
5985afbdf7
@ -1,36 +0,0 @@
|
|||||||
diff -up gimp-2.4.0/docs/gimprc.5.in.xdg-open gimp-2.4.0/docs/gimprc.5.in
|
|
||||||
--- gimp-2.4.0/docs/gimprc.5.in.xdg-open 2007-10-22 21:45:59.000000000 +0200
|
|
||||||
+++ gimp-2.4.0/docs/gimprc.5.in 2007-10-29 14:53:34.000000000 +0100
|
|
||||||
@@ -788,7 +788,7 @@ Sets the browser used by the help system
|
|
||||||
web-browser.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
-(web-browser "firefox %s")
|
|
||||||
+(web-browser "xdg-open %s")
|
|
||||||
|
|
||||||
Sets the external web browser to be used. This can be an absolute path or the
|
|
||||||
name of an executable to search for in the user's PATH. If the command
|
|
||||||
diff -up gimp-2.4.0/etc/gimprc.xdg-open gimp-2.4.0/etc/gimprc
|
|
||||||
--- gimp-2.4.0/etc/gimprc.xdg-open 2007-10-22 21:45:59.000000000 +0200
|
|
||||||
+++ gimp-2.4.0/etc/gimprc 2007-10-29 14:37:49.000000000 +0100
|
|
||||||
@@ -625,7 +625,7 @@
|
|
||||||
# appended to the command with a space separating the two. This is a single
|
|
||||||
# filename.
|
|
||||||
#
|
|
||||||
-# (web-browser "firefox %s")
|
|
||||||
+# (web-browser "xdg-open %s")
|
|
||||||
|
|
||||||
# The window type hint that is set on the toolbox. This may affect how your
|
|
||||||
# window manager decorates and handles the toolbox window. Possible values
|
|
||||||
diff -up gimp-2.4.0/app/config/gimpguiconfig.c.xdg-open gimp-2.4.0/app/config/gimpguiconfig.c
|
|
||||||
--- gimp-2.4.0/app/config/gimpguiconfig.c.xdg-open 2007-05-21 10:56:29.000000000 +0200
|
|
||||||
+++ gimp-2.4.0/app/config/gimpguiconfig.c 2007-10-29 14:37:49.000000000 +0100
|
|
||||||
@@ -40,7 +40,7 @@
|
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
# define DEFAULT_WEB_BROWSER "not used on Windows"
|
|
||||||
#else
|
|
||||||
-# define DEFAULT_WEB_BROWSER "firefox %s"
|
|
||||||
+# define DEFAULT_WEB_BROWSER "xdg-open %s"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
36
gimp-2.6.0-xdg-open.patch
Normal file
36
gimp-2.6.0-xdg-open.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
diff -up gimp-2.6.0/app/config/gimpguiconfig.c.xdg-open gimp-2.6.0/app/config/gimpguiconfig.c
|
||||||
|
--- gimp-2.6.0/app/config/gimpguiconfig.c.xdg-open 2008-09-30 23:21:55.000000000 +0200
|
||||||
|
+++ gimp-2.6.0/app/config/gimpguiconfig.c 2008-10-02 12:12:14.000000000 +0200
|
||||||
|
@@ -45,7 +45,7 @@
|
||||||
|
#elif HAVE_CARBON
|
||||||
|
# define DEFAULT_WEB_BROWSER "open %s"
|
||||||
|
#else
|
||||||
|
-# define DEFAULT_WEB_BROWSER "firefox %s"
|
||||||
|
+# define DEFAULT_WEB_BROWSER "xdg-open %s"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
diff -up gimp-2.6.0/docs/gimprc.5.in.xdg-open gimp-2.6.0/docs/gimprc.5.in
|
||||||
|
--- gimp-2.6.0/docs/gimprc.5.in.xdg-open 2008-09-29 20:46:42.000000000 +0200
|
||||||
|
+++ gimp-2.6.0/docs/gimprc.5.in 2008-10-02 12:10:24.000000000 +0200
|
||||||
|
@@ -788,7 +788,7 @@ Sets the browser used by the help system
|
||||||
|
web-browser.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
-(web-browser "firefox %s")
|
||||||
|
+(web-browser "xdg-open %s")
|
||||||
|
|
||||||
|
Sets the external web browser to be used. This can be an absolute path or the
|
||||||
|
name of an executable to search for in the user's PATH. If the command
|
||||||
|
diff -up gimp-2.6.0/etc/gimprc.xdg-open gimp-2.6.0/etc/gimprc
|
||||||
|
--- gimp-2.6.0/etc/gimprc.xdg-open 2008-09-29 20:46:42.000000000 +0200
|
||||||
|
+++ gimp-2.6.0/etc/gimprc 2008-10-02 12:10:24.000000000 +0200
|
||||||
|
@@ -625,7 +625,7 @@
|
||||||
|
# appended to the command with a space separating the two. This is a single
|
||||||
|
# filename.
|
||||||
|
#
|
||||||
|
-# (web-browser "firefox %s")
|
||||||
|
+# (web-browser "xdg-open %s")
|
||||||
|
|
||||||
|
# When enabled, the online user manual will be used by the help system.
|
||||||
|
# Otherwise the locally installed copy is used. Possible values are yes and
|
Loading…
Reference in New Issue
Block a user