-rw-r--r-- | kaddressbook/kabcore.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 755da11..d99a9cd 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -2008,3 +2008,3 @@ void KABCore::addActionsManually() mb->insertItem( i18n("Synchronize"), syncMenu ); - mb->insertItem( i18n("&Change selected"), changeMenu ); + //mb->insertItem( i18n("&Change"), changeMenu ); mb->insertItem( i18n("&Help"), helpMenu ); @@ -2028,3 +2028,3 @@ void KABCore::addActionsManually() mViewManager->getFilterAction()->plug ( popupBarTB); - popupBarTB->insertItem( i18n("&Change selected"), changeMenu ); + //popupBarTB->insertItem( i18n("&Change selected"), changeMenu ); popupBarTB->insertItem( i18n("&Help"), helpMenu ); @@ -2056,2 +2056,3 @@ void KABCore::addActionsManually() fileMenu->insertItem( "&Export", ExportMenu ); + fileMenu->insertItem( i18n("&Change"), changeMenu ); fileMenu->insertSeparator(); @@ -2228,6 +2229,10 @@ void KABCore::removeVoice() return; - KABC::Addressee::List list = mViewManager->selectedAddressees(); + KABC::Addressee::List list; + XXPortSelectDialog dlg( this, false, this ); + if ( dlg.exec() ) + list = dlg.contacts(); + else + return; KABC::Addressee::List::Iterator it; for ( it = list.begin(); it != list.end(); ++it ) { - if ( (*it).removeVoice() ) |