diff --git a/kmmainwidget.cpp b/kmmainwidget.cpp index f784dd656..ac3f077bd 100644 --- a/kmmainwidget.cpp +++ b/kmmainwidget.cpp @@ -1086,15 +1086,6 @@ void KMMainWidget::slotTroubleshootFolder() } } -void KMMainWidget::slotInvalidateIMAPFolders() { - if ( KMessageBox::warningContinueCancel( this, - i18n("Are you sure you want to refresh the IMAP cache?\n" - "This will remove all changes that you have done " - "locally to your IMAP folders."), - i18n("Refresh IMAP Cache"), i18n("&Refresh") ) == KMessageBox::Continue ) - kmkernel->acctMgr()->invalidateIMAPFolders(); -} - //----------------------------------------------------------------------------- void KMMainWidget::slotExpireAll() { KConfig *config = KMKernel::config(); @@ -2212,10 +2203,6 @@ void KMMainWidget::setupActions() this, SLOT(slotExpireAll()), actionCollection(), "expire_all_folders" ); - (void) new KAction( i18n("&Refresh Local IMAP Cache"), "refresh", - this, SLOT(slotInvalidateIMAPFolders()), - actionCollection(), "file_invalidate_imap_cache" ); - (void) new KAction( i18n("Empty All &Trash Folders"), 0, KMKernel::self(), SLOT(slotEmptyTrash()), actionCollection(), "empty_trash" ); diff --git a/kmmainwidget.h b/kmmainwidget.h index 947fd9791..5e07b6d78 100644 --- a/kmmainwidget.h +++ b/kmmainwidget.h @@ -234,7 +234,6 @@ protected slots: void slotModifyFolder(); void slotExpireFolder(); void slotExpireAll(); - void slotInvalidateIMAPFolders(); void slotMarkAllAsRead(); void slotRemoveFolder(); void slotEmptyFolder(); diff --git a/kmmainwin.rc b/kmmainwin.rc index 451e04b9d..26d58a16e 100644 --- a/kmmainwin.rc +++ b/kmmainwin.rc @@ -1,5 +1,5 @@ - + &File @@ -12,7 +12,6 @@ -