Remove the global "refresh cache" option, as it fails with multiple

accounts anyhow and is available via the more intuitive RMB menu.

svn path=/branches/kdepim/proko2/kdepim/; revision=421541
wilder-work
Till Adam 21 years ago
parent ff970d33fd
commit f825300ad2
  1. 13
      kmmainwidget.cpp
  2. 1
      kmmainwidget.h
  3. 3
      kmmainwin.rc

@ -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" );

@ -234,7 +234,6 @@ protected slots:
void slotModifyFolder();
void slotExpireFolder();
void slotExpireAll();
void slotInvalidateIMAPFolders();
void slotMarkAllAsRead();
void slotRemoveFolder();
void slotEmptyFolder();

@ -1,5 +1,5 @@
<!DOCTYPE kpartgui>
<kpartgui version="80" name="kmmainwin" >
<kpartgui version="81" name="kmmainwin" >
<MenuBar>
<Menu noMerge="1" name="file" >
<text>&amp;File</text>
@ -12,7 +12,6 @@
<Separator/>
<Action name="compact_all_folders" />
<Action name="expire_all_folders" />
<Action name="file_invalidate_imap_cache"/>
<Action name="empty_trash"/>
<Separator/>
<Action name="check_mail" />

Loading…
Cancel
Save