KPopupMenu (& hence K-Menu) keyboard navigation patch

Hamish Rodda meddie at yoyo.its.monash.edu.au
Sat Apr 27 10:41:34 BST 2002


>Sounds great - I'm missing keyboard navigation in e.g. Konqueror's bookmark
> menus, typing the first letters of the submenu to open etc.
>Would this method allow to do that?

Yes, I would commit this at the same time (I just didn't send the patch...)

Hamish.

diff -u -3 -p -r1.105 kbookmarkmenu.cc
--- kbookmarkmenu.cc	2002/03/18 22:53:00	1.105
+++ kbookmarkmenu.cc	2002/04/17 10:41:46
@@ -62,6 +62,8 @@ KBookmarkMenu::KBookmarkMenu( KBookmarkM
     m_actionCollection( collec ),
     m_parentAddress( parentAddress )
 {
+  m_parentMenu->setKeyboardShortcutsEnabled( true );
+
   m_lstSubMenus.setAutoDelete( true );
   m_actions.setAutoDelete( true );






More information about the kde-core-devel mailing list