|
|
|
|
@ -909,6 +909,15 @@ void KMMainWidget::slotFolderMailingListProperties() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
void KMMainWidget::slotFolderShortcutCommand() |
|
|
|
|
{ |
|
|
|
|
if (!mFolderTree) return; |
|
|
|
|
KMFolderTreeItem *item = static_cast<KMFolderTreeItem*>( mFolderTree->currentItem() ); |
|
|
|
|
if ( item ) |
|
|
|
|
item->assignShortcut(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
void KMMainWidget::slotModifyFolder() |
|
|
|
|
@ -2273,6 +2282,10 @@ void KMMainWidget::setupActions() |
|
|
|
|
/*"folder_mailinglist_properties",*/ 0, this, SLOT( slotFolderMailingListProperties() ), |
|
|
|
|
actionCollection(), "folder_mailinglist_properties" ); |
|
|
|
|
|
|
|
|
|
mFolderShortCutCommandAction = new KAction( i18n("&Assign Shortcut..."), "configure_shortcuts", |
|
|
|
|
0, this, SLOT( slotFolderShortcutCommand() ), actionCollection(), |
|
|
|
|
"folder_shortcut_command" ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mMarkAllAsReadAction = new KAction( i18n("Mark All Messages as &Read"), "goto", 0, this, |
|
|
|
|
SLOT(slotMarkAllAsRead()), actionCollection(), "mark_all_as_read" ); |
|
|
|
|
|