Re: useability issues
- From: Tim Moore <tmoore tembel org>
- To: George <jirka 5z com>
- CC: gnome-list gnome org
- Subject: Re: useability issues
- Date: Sun, 27 Sep 1998 11:48:30 -0400
George wrote:
>
> On Sat, Sep 26, 1998 at 09:30:04PM -0500, Alan Shutko wrote:
> > One question... Gimp has that wonderful ability to set menu
> > accelerators by bringing up the menu and hitting the key. So do Gnome
> > apps, but Gimp saves the keys for the next session, which Gnome apps
> > apparently don't? Anyone know how to make this happen? If someone
> > points me in the right direction, I'll start making patches for all
> > sorts of apps.
>
> I have not looked at the code, but this really needs to be done in the
> library ... maybe subclassing a all gtk_menu* stuff into gnome_menu*
> which would itself save the accelerators ...
Another thing that would be nice is a single-key which would restore the
factory default keybinding for a given item. Now Menus for MacOS had
this feature. The way I think it worked was pressing backspace toggled
between the default binding and no binding (if it had a default binding,
that is). So if I assign Ctl+T to "Save", pressing backspace once would
set it back to Ctl+S, pressing it again would set it to nothing, and
pressing it subsequent times would jump between Ctl+S and nothing.
Obviously, if there *is* no default binding, pressing backspace will
just clear the binding.
Of course, this don't allow you to set a keybinding to just the
backspace key, but I don't think GTK+ allows you to do that anyway,
which is reasonable IMO since it's probably a bad idea anyway :-)
As an extra bonus, if the binding for an item was "stolen" from another
item, pressing backspace should restore it. For example, if I assign
Ctl+S to "Save As", then it gets "stolen" from "Save" to resolve the
conflict. When I press backspace on "Save As" it would be super spiffy
if GTK+ realized that Ctl+S had been originally assigned to "Save" and
now that it's available again, reassigns it to "Save".
Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]