|Summary:||Folder tree contextual menú does not show shortcuts assigned to the actions|
|Product:||[Applications] kmail||Reporter:||Albert Astals Cid <aacid>|
|Component:||general||Assignee:||kdepim bugs <kdepim-bugs>|
|Latest Commit:||Version Fixed In:|
|Attachments:||Patch that fixes the problem|
Description Albert Astals Cid 2004-12-19 09:31:54 UTC
Version: (using KDE Devel) Installed from: Compiled sources The actions that appear when clicking right menu button over a item on the folder tree do not show the shortcuts assigned by the user on Configure shortcut dialog. How to reproduce: - Go to the configure shortcuts and assign a shortcut to Mark All Messages as Read - Click on folder menu, see the shortcut - Right click on a folder in the folder tree, see the shortcut is not there I think that is because on kmfoldertree.cpp, you do things like folderMenu->insertItem( SmallIconSet("goto"), i18n("Mark All Messages as &Read"), mMainWidget, SLOT( slotMarkAllAsRead() ) ); instead of pluging mMarkAllAsReadAction action created on kmmainwidget.cpp
Comment 1 Albert Astals Cid 2004-12-21 22:23:19 UTC
Created attachment 8760 [details] Patch that fixes the problem I sent a patch to kde-pim mailing list but nobody answered, i'm attaching it here to see if i have more luck.
Comment 2 Till Adam 2004-12-21 22:54:05 UTC
Looks good in principle, I suppose you've checked that the action disabling/enabling still works, for folder_reload and such? If so, feel free to commit.