summaryrefslogtreecommitdiff
path: root/debian/patches/deb_gimp_acquire_menu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/deb_gimp_acquire_menu.patch')
-rw-r--r--debian/patches/deb_gimp_acquire_menu.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/deb_gimp_acquire_menu.patch b/debian/patches/deb_gimp_acquire_menu.patch
new file mode 100644
index 0000000..e0d0168
--- /dev/null
+++ b/debian/patches/deb_gimp_acquire_menu.patch
@@ -0,0 +1,20 @@
+Description: Change XSane's GIMP menu layout
+ Group XSane actions in their own submenu in the Acquire menu.
+Author: Julien BLACHE <jblache@debian.org>
+Forwarded: not-needed
+
+Index: xsane-0.996/src/xsane-text.h
+===================================================================
+--- xsane-0.996.orig/src/xsane-text.h 2010-03-13 20:42:30.663742229 +0100
++++ xsane-0.996/src/xsane-text.h 2010-03-13 20:42:59.177742198 +0100
+@@ -869,8 +869,8 @@
+ #define XSANE_GIMP_INSTALL_HELP _("This function provides access to scanners and other image acquisition devices through the SANE (Scanner Access Now Easy) interface.")
+
+ /* Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" */
+-#define XSANE_GIMP_MENU_DIALOG _("<Toolbox>/File/Acquire/XSane: Device dialog...")
+-#define XSANE_GIMP_MENU _("<Toolbox>/File/Acquire/XSane: ")
++#define XSANE_GIMP_MENU_DIALOG _("<Toolbox>/File/Acquire/XSane/Device dialog...")
++#define XSANE_GIMP_MENU _("<Toolbox>/File/Acquire/XSane/")
+ #define XSANE_GIMP_MENU_DIALOG_OLD _("<Toolbox>/Xtns/XSane/Device dialog...")
+ #define XSANE_GIMP_MENU_OLD _("<Toolbox>/Xtns/XSane/")
+