| Summary: | Folder tree contextual menĂº does not show shortcuts assigned to the actions | ||
|---|---|---|---|
| Product: | [Unmaintained] kmail | Reporter: | Albert Astals Cid <aacid> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch that fixes the problem | ||
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.
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. CVS commit by aacid: Use the main window actions in the folder contextual menu Approved by Till Adam BUG: 95441 CCMAIL: benjami@gmail.com M +14 -45 kmfoldertree.cpp 1.339 |
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