Re: Bug#693477: psychopy: please specify full path of icon in /usr/share/menu/psychopy
Hi,
Bill Allombert wrote:
> "path-to-pixmap" is intended to mean the full path to the icon.
How about this patch?
debian/changelog | 9 +++++++++
doc/README.pre1 | 2 +-
doc/menu.sgml | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 75055bf..4ef236e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+menu (2.1.46+nmu1) unstable; urgency=low
+
+ * doc/menu.sgml, doc/README.pre1:
+ + Emphasize that icon should be an absolute path by using
+ /path/to/pixmap.xpm instead of path-to-pixmap.xpm in examples.
+ Thanks Yaroslav Halchenko. See #693477.
+
+ -- Jonathan Nieder <jrnieder@gmail.com> Thu, 10 Jan 2013 12:01:50 -0800
+
menu (2.1.46) unstable; urgency=low
* The "Marseille" release.
diff --git a/doc/README.pre1 b/doc/README.pre1
index 20c2e32..c07c006 100644
--- a/doc/README.pre1
+++ b/doc/README.pre1
@@ -406,7 +406,7 @@ making it impossible to select a ``happy few'' apps that are allowed
there on every debian system. If you want your fvwm2 to have a few
buttons, you can install files for those packages in /etc/menu/$package,
containing both the normal menu entries, and a line like
- button Games/Puzzles xpuzzles/xmball path-to-pixmap.xpm "Xmball" /usr/games/xmball
+ button Games/Puzzles xpuzzles/xmball /path/to/pixmap.xpm "Xmball" /usr/games/xmball
Then, do the following:
cd /etc/menu-methods/
diff --git a/doc/menu.sgml b/doc/menu.sgml
index bf189be..07425d9 100644
--- a/doc/menu.sgml
+++ b/doc/menu.sgml
@@ -769,7 +769,7 @@ a menu entry like this:
<example>
?Package(xmball):needs=button\
section=Games/Puzzles\
- icon=path-to-pixmap.xpm\
+ icon=/path/to/pixmap.xpm\
title="Xmball"\
command=/usr/games/xmball
</example>
--
1.8.1
Reply to: