Re: Introducing separate strings for quick bar items
- From: Egmont Koblinger <egmont uhulinux hu>
- To: MC Devel <mc-devel gnome org>
- Subject: Re: Introducing separate strings for quick bar items
- Date: Tue, 12 Jul 2005 23:47:47 +0200
On Tue, Jul 12, 2005 at 08:18:20PM +0200, Roland Illig wrote:
> I suggest another naming scheme for it, as the "1" has no intuitive
> interpretation for me in this case.
You're right, I just wrote it because I remember I saw it somewhere (I don't
know where).
> What about "ButtonBar:Quit" or
> "ButtonBar|Quit"? This scheme would also be extensible to other special
> cases, like menu strings, dialog boxes, etc.
Nice idea. If it gets widely used in mc, we could even introduce wrapper
functions around _() that return a pointer skipping up to (including) the
first separator character so that we don't have to type "strchr(s, '|') + 1"
over and over again.
I'm not sure at this moment (it's too late in the evening) whether such
things can be done around N_(). Doesn't seem to be trivial.
--
Egmont
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]