On Thu 3.Sep'09 at 16:43:01 +0400, Alexey I. Froloff wrote:
> On Thu, Sep 03, 2009 at 12:30:12PM +0200, Carlos R. Mafra wrote:
> > Besides if I really needed to have a history for it, those commands
> > would be in the rootmenu proper. And if it is a one-time-only then
> > I don't need the feature.
> I have several apps that I use very often (like terminal, editor
> and screen locker) bound to keyboard shortcuts from root menu.
> And I have several apps that I run once per several days, like
> FF, psi and stuff. Having one shortcut for these rare apps (Run
> dialog and then just browse history) is very handy.
>
> I could live without whole Run dialog if I could just bind a key
> to the whole submenu (not the root menu).
I've just pushed it to 'next'.
Note that I had to also include <libintl.h>, because I got this
when I compiled:
CC main.o
CC menu.o
CC misc.o
misc.c: In function 'getuserinput':
misc.c:605: warning: incompatible implicit declaration of built-in function
'gettext'
CC monitor.o
CC motif.o
<propaganda>
Having a _clean_ compilation output with --disable-verbose-compile
makes this warnings really stand out :-)
</propaganda>
<!propaganda>
Doing a 'make install' if you chose --disable-verbose-compile
will give you a slightly screwed up instalation, because
I put some @echo where I shouldn't. It is a bug which I haven't
had time to fix, mostly because I don't install the wmaker
I compile myself
</!propaganda>
I did some limited testing on the feature. The history was supposed
to be saved in ~/GNUstep/.AppInfo/WindowMaker/History
but after using the Run dialog that file does not exist.
Perhaps I should at least create the file before using it?
And I thought that Tab completion was limited to the history,
but it seems to be more general, like the bash completion.
>From Alexey's answer I supposed he wanted to have a list
of the "most rarely used" apps in the history for convenience.
Of course I might be missing the whole point of having a "xterm + bash"
in the Run dialog.
It is in 'next' now, anyway. If people like it and want to polish it,
patches are always welcome.
--
To unsubscribe, send mail to [email protected].