Patch to add key shourtcut names to action's tooltips
Jens Dagerbo
jens.dagerbo at gmail.com
Wed May 10 14:57:15 UTC 2006
Sounds like a good idea. But I think you forgot the patch... :)
// jens
On 5/10/06, Innocent <lalekz at gmail.com> wrote:
> Hello,
> A lot of functions in KDevelop have key shortcuts, and I think it's a good
> idea to add shortcut names to the tooltips of the actions. For example,
> instead of "Fullscreen" the tooltip for the "fullscreen" toolbar action
> will contain "Fullscreen (Ctrl+Shift+F)".
> At the moment, debugger component, for example, has hardcoded names
> of shortcuts in its tooltips.
> Of course, the best way is to ask kdelibs developers to add that feature to
> KAction class. However, this can be only done for KDE4.
> For the time being I offer the attached patch which just adds shortcut
> names to existing tooltips by traversing all KParts and all actions in
> their actionCollection()s. It also refreshes tips when one reconfigures
> key shourtcuts by the dialog.
>
> Any comments?
>
> Thanks,
> Alex Lyubitskiy
>
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
>
More information about the KDevelop-devel
mailing list