ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor <i92@mma.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Q/A: %update_menus
Date: Mon, 18 Oct 2004 10:40:31 -0000
Message-ID: <200404181440.28734.i92@mma.ru> (raw)
In-Reply-To: <162472003.20041018163144@ngs.ru>

>>  Я тут разобрался с тем, как "подружить" программу с системным меню...
>> ....
>>  title -- название программы, которое будет отображаться в меню
>>  (максимум два слова)
несколько странное ограничение в 2 слова...(например пункт: "Центр настройки 
KDE" имеет 3 слова...)

Вот мой kdemultimedia-kmix ([K]->[Мультимедиа]->[Звук]->[KMix (Микшер звука)])
+++++++++++++++++++++
?package(kdemultimedia-kmix): needs="kde" extra_filename="kmix" 
section="Multimedia/Sound" title="KMix" icon="kmix.png" command="kmix" 
extra_command="kmix -caption \"%c\" %i %m" genericname="Sound Mixer" 
mimetypes="" hints="Qt,KDE,AudioVideo" 
extra_opt="\\nDocPath=kmix/index.html\\nTerminalOptions=\\nPath=\\nTerminal=0\\nX-KDE-StartupNotify=true\\nX-DCOP-ServiceType=Unique"
+++++++++++++++++++++
т.е.  title="KMix", а на самом деле "KMix (Микшер звука)",
честно говоря сходу не видно откуда берется "(Микшер звука)", добавленное к 
KMix...

>>  hotkey -- __FIXME__: незнаю что написать, так как у меня ничего не
>>  заработало и я не совсем ясно представляю себе для чего этот парметр :))
видать это как в мастдайке, для таких, типа "Выполнить" = "win+R" или 
"експлорер" = "win+E", лично мне бы удобно было по комбинации вызывать mc...

>>  hints -- __FIXME__: примерно представляю себе для чего это, но лично
>>  не использовал, да и в ALTLinux, как я понял, функция группировки меню
>>  отключена (hints_optimize=false по умолчанию).
Вы уверены, что этот параметр связан с группировкой? Судя по названию это 
должны быть всплывающие подсказки для пункта меню. А hints_optimize=false, 
также по названию, мне говорит, что это какая-то оптимизация этой подсказки, 
например, оптимизация может выглядеть след. образом: когда длинная подсказка, 
ее разбивать автоматом на несколько строк... ну или типа того...

Еще вроде не встретил создания собственной группы пунктов меню (простите, если 
пропустил)

P.S. Вообще приятная дока, изменения этой и будущие другие выкидывайте на 
всеобщее обозрение - это правильно.

  reply	other threads:[~2004-10-18 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18  9:31 php-coder
2004-10-18 10:40 ` Igor [this message]
2004-10-18 11:46   ` Re[2]: " php-coder
2004-10-18 12:14   ` 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=200404181440.28734.i92@mma.ru \
    --to=i92@mma.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git