From kde-core-devel Sun Mar 23 14:51:32 2008 From: Anders Lund Date: Sun, 23 Mar 2008 14:51:32 +0000 To: kde-core-devel Subject: Re: kdiroperator shortcuts Message-Id: <200803231551.32577.anders () alweb ! dk> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=120628392309042 On søndag 23 Marts 2008, Albert Astals Cid wrote: > A Sunday 23 Març 2008, Anders Lund va escriure: > > Another problem related to KDiroperator and Kate: > > > > The Del key in kate does not work, assumingly because KDirOperator uses > > it. > > > > But the KDirOperator does not provide write access to its actions, so I > > can't change it like I could in kde 3 > > (op->actionCollection->("delete")->setShortcut(somekey). > > > > Can someone come up with a a way to achieve this? > > IMHO that's a workaround and the real fix should be KDirOperator only > eating the key press when the focus is in certain part of the window, maybe > using the correct ShortcutContext for the action (like maybe WidgetShortcut > or WidgetWithChildrenShortcut) can fix that. > > Albert That sounds like a very good idea to me :) -- Anders www: http://www.alweb.dk jabber: anderslund@jabber.dk