Re: howto extend "window-ops-menu"?
- From: Christopher Roy Bratusek <zanghar freenet de>
- To: sawfish-list gnome org
- Subject: Re: howto extend "window-ops-menu"?
- Date: Fri, 15 Oct 2010 21:29:38 +0200
Am Fri, 15 Oct 2010 16:23:06 +0200
schrieb clemens fischer <ino-news spotteswoode dnsalias org>:
;; extra window-ops
(nconc window-ops-menu `(()
(,(_ "_Destroy Window") destroy-window)
(,(_ "_Kill Client") kill-client)))
will work.
(_ ) marks "Text" as translatable, so either use (_ "Text" ) or "Text".
( "Text" ) is incomplete.
The second, optional _ inside "Text" is the hotkey. Say "_Destroy Window" will allow you
to press "d" to execute it, rather than using the mouse.
If everything is correct, kill-client will be correctly executed.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]