Alexander Gavrilov writes:This is solving the problem that the $M1T doesn't get expanded in the call below because it's inside {}. If we are going to have a magic string that gets expanded like this, I'd rather it didn't look like a variable reference, because that is confusing. Alternatively, we could define a [meta] function that does this: proc meta {x} { if {[tk windowingsystem] eq "aqua"} { return Cmd-$x } return Ctrl-$x } and then use -accelerator [meta F5] in the makemenu call, and not have any magic string substitution in makemenu. That will work since the eval will evaluate the []. Paul. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
| Al Boldi | Re: [ck] Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu sched... |
| Andrew Morton | 2.6.25-rc8-mm2 |
| Ingo Molnar | Re: [patch] sched_clock(): cleanups |
| David Miller | [GIT]: Networking |
| John P Poet | Realtek 8111C transmit timed out |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Kenny Chang | Multicast packet loss |
git: | |
