From: php-coder <php-coder@altlinux.ru>
To: devel@altlinux.ru
Subject: [devel] Пункты меню и menu-methods
Date: Mon, 16 May 2005 21:24:32 +0700
Message-ID: <20050516142432.GA10272@mycomp.mydomain> (raw)
Здравствуйте!
Собираю fbpager (пэйджер для Fluxbox) и по ходу возникли некоторые
вопросы.
- должен ли fbpager зависить от Fluxbox? Поглядел на Fluxter -- он не
зависит, но с другой стороны -- этот пэйджер будет работать лишь во
Флюксе и без него бесполезен.
- где в меню должен быть fbpager? Он квалифицируется как обычная
программа или он должен быть где-то рядом с настройками Флюкса? (к
примеру, в Session/Tools?)
Еще вопрос по Флюксу и меню:
x11=nstring(level(), " ") "[exec] (" esc(title(), ")") ") {"
$command "}" find_icon($icon) "\n"
fluxbox=nstring(level(), " ") "[" $command "] (" translate(lang(),
title()) ")\n"
Это кусок из menu-methods. Согласно ему все пункты меню у которых
прописано needs=x11 будут в итоге записыыаться так:
[exec] ($name) {$command} <$icon>
Все пункты в меню у которых прописано needs=fluxbox будут такими:
[$command] ($name)
Теперь, собственно, что мне нужно. Хочу добавить в меню пункт, который
бы вызывал внешнюю программу, но при этом бы был "виден" только для в
меню Флюкса. Т.е. обрабатываться он должен как need=x11, но при этом иметь
свойства как need=fluxbox.
В итоге, к примеру, получится следующее:
[exec](Update menu) {update-menus -N}
И этот пункт должен появиться только в меню Флюкса в Session. Вот.
Постарался как можно более подробно, четко и понятно описать, что мне
требуется. Хотел бы услышать ваше мнение/советы/предложения. Что
скажете? Как лучше достичь желаемого результата?
--
+ php-coder
+ php-coder[at]altlinux[dot]ru
next reply other threads:[~2005-05-16 14:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-16 14:24 php-coder [this message]
2005-05-16 14:43 ` Sergey V Turchin
2005-05-17 6:05 ` php-coder
2005-05-17 10:09 ` Sergey V Turchin
2005-05-17 10:42 ` php-coder
2005-05-17 15:45 ` Sergey V Turchin
2005-05-17 10:17 ` Sergey V Turchin
2005-05-17 10:22 ` Sergey V Turchin
2005-05-16 15:04 ` Andrey Rahmatullin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050516142432.GA10272@mycomp.mydomain \
--to=php-coder@altlinux.ru \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git