author | zautrix <zautrix> | 2005-03-16 21:16:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-16 21:16:24 (UTC) |
commit | b7184073d5e552e0f04b14c5fc0c20a7bfd26d3d (patch) (unidiff) | |
tree | 3e74cd9653c0aa4f65dd4658369662c93c3005aa /kaddressbook | |
parent | 3f6f846915ac28e623e1f04201b233111d8bbbdf (diff) | |
download | kdepimpi-b7184073d5e552e0f04b14c5fc0c20a7bfd26d3d.zip kdepimpi-b7184073d5e552e0f04b14c5fc0c20a7bfd26d3d.tar.gz kdepimpi-b7184073d5e552e0f04b14c5fc0c20a7bfd26d3d.tar.bz2 |
some fixes
-rw-r--r-- | kaddressbook/kabcore.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 3b1a0c1..3f7a7da 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -2181,55 +2181,56 @@ void KABCore::addActionsManually() | |||
2181 | #endif | 2181 | #endif |
2182 | #ifndef DESKTOP_VERSION | 2182 | #ifndef DESKTOP_VERSION |
2183 | if ( Ir::supported() ) mActionBR->plug( beamMenu ); | 2183 | if ( Ir::supported() ) mActionBR->plug( beamMenu ); |
2184 | if ( Ir::supported() ) mActionBeamVCard->plug( beamMenu ); | 2184 | if ( Ir::supported() ) mActionBeamVCard->plug( beamMenu ); |
2185 | if ( Ir::supported() ) mActionBeam->plug( beamMenu ); | 2185 | if ( Ir::supported() ) mActionBeam->plug( beamMenu ); |
2186 | #endif | 2186 | #endif |
2187 | fileMenu->insertSeparator(); | 2187 | fileMenu->insertSeparator(); |
2188 | mActionQuit->plug( fileMenu ); | 2188 | mActionQuit->plug( fileMenu ); |
2189 | #ifdef _OL_IMPORT_ | 2189 | #ifdef _OL_IMPORT_ |
2190 | mActionImportOL->plug( ImportMenu ); | 2190 | mActionImportOL->plug( ImportMenu ); |
2191 | #endif | 2191 | #endif |
2192 | // edit menu | 2192 | // edit menu |
2193 | mActionUndo->plug( editMenu ); | 2193 | mActionUndo->plug( editMenu ); |
2194 | mActionRedo->plug( editMenu ); | 2194 | mActionRedo->plug( editMenu ); |
2195 | editMenu->insertSeparator(); | 2195 | editMenu->insertSeparator(); |
2196 | mActionCut->plug( editMenu ); | 2196 | mActionCut->plug( editMenu ); |
2197 | mActionCopy->plug( editMenu ); | 2197 | mActionCopy->plug( editMenu ); |
2198 | mActionPaste->plug( editMenu ); | 2198 | mActionPaste->plug( editMenu ); |
2199 | mActionDelete->plug( editMenu ); | 2199 | mActionDelete->plug( editMenu ); |
2200 | editMenu->insertSeparator(); | 2200 | editMenu->insertSeparator(); |
2201 | mActionSelectAll->plug( editMenu ); | 2201 | mActionSelectAll->plug( editMenu ); |
2202 | 2202 | ||
2203 | mActionSetFormattedName->plug( changeMenu ); | 2203 | mActionSetFormattedName->plug( changeMenu ); |
2204 | mActionRemoveVoice->plug( changeMenu ); | 2204 | mActionRemoveVoice->plug( changeMenu ); |
2205 | // settings menu | 2205 | // settingsmings menu |
2206 | //US special menuentry to configure the addressbook resources. On KDE | 2206 | //US special menuentry to configure the addressbook resources. On KDE |
2207 | // you do that through the control center !!! | 2207 | // you do that through the control center !!! |
2208 | mActionConfigResources->plug( settingsMenu ); | 2208 | // settingsMenu->insertSeparator(); |
2209 | settingsMenu->insertSeparator(); | ||
2210 | 2209 | ||
2211 | mActionConfigKAddressbook->plug( settingsMenu ); | 2210 | mActionConfigKAddressbook->plug( settingsMenu, 0 ); |
2211 | mActionConfigResources->plug( settingsMenu,1 ); | ||
2212 | settingsMenu->insertSeparator(2); | ||
2212 | 2213 | ||
2213 | if ( mIsPart ) { | 2214 | if ( mIsPart ) { |
2214 | //US not implemented yet | 2215 | //US not implemented yet |
2215 | //mActionConfigShortcuts->plug( settingsMenu ); | 2216 | //mActionConfigShortcuts->plug( settingsMenu ); |
2216 | //mActionConfigureToolbars->plug( settingsMenu ); | 2217 | //mActionConfigureToolbars->plug( settingsMenu ); |
2217 | 2218 | ||
2218 | } else { | 2219 | } else { |
2219 | //US not implemented yet | 2220 | //US not implemented yet |
2220 | //mActionKeyBindings->plug( settingsMenu ); | 2221 | //mActionKeyBindings->plug( settingsMenu ); |
2221 | } | 2222 | } |
2222 | 2223 | ||
2223 | settingsMenu->insertSeparator(); | 2224 | settingsMenu->insertSeparator(); |
2224 | 2225 | ||
2225 | mActionJumpBar->plug( settingsMenu ); | 2226 | mActionJumpBar->plug( settingsMenu ); |
2226 | mActionDetails->plug( settingsMenu ); | 2227 | mActionDetails->plug( settingsMenu ); |
2227 | //if (!KABPrefs::instance()->mMultipleViewsAtOnce || KGlobal::getDesktopSize() == KGlobal::Desktop ) | 2228 | //if (!KABPrefs::instance()->mMultipleViewsAtOnce || KGlobal::getDesktopSize() == KGlobal::Desktop ) |
2228 | mActionDetails->plug( tb ); | 2229 | mActionDetails->plug( tb ); |
2229 | settingsMenu->insertSeparator(); | 2230 | settingsMenu->insertSeparator(); |
2230 | #ifndef DESKTOP_VERSION | 2231 | #ifndef DESKTOP_VERSION |
2231 | if ( Ir::supported() ) mActionBR->plug(settingsMenu ); | 2232 | if ( Ir::supported() ) mActionBR->plug(settingsMenu ); |
2232 | settingsMenu->insertSeparator(); | 2233 | settingsMenu->insertSeparator(); |
2233 | #endif | 2234 | #endif |
2234 | 2235 | ||
2235 | mActionWhoAmI->plug( settingsMenu ); | 2236 | mActionWhoAmI->plug( settingsMenu ); |