author | zautrix <zautrix> | 2005-01-16 16:09:49 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-16 16:09:49 (UTC) |
commit | a704468d5fd02d30cf962c8b2d6815c7e9208e5d (patch) (unidiff) | |
tree | 2ba2253c8fd73c752a437a201df1d3be7e9e4131 | |
parent | de5f08d69c716f85cc92f20700cd24fb1ad41295 (diff) | |
download | kdepimpi-a704468d5fd02d30cf962c8b2d6815c7e9208e5d.zip kdepimpi-a704468d5fd02d30cf962c8b2d6815c7e9208e5d.tar.gz kdepimpi-a704468d5fd02d30cf962c8b2d6815c7e9208e5d.tar.bz2 |
menu fix
-rw-r--r-- | kaddressbook/kabcore.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index c5a36e2..4098dda 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -2134,13 +2134,15 @@ void KABCore::addActionsManually() | |||
2134 | #endif | 2134 | #endif |
2135 | // mActionQuit->plug ( mMainWindow->toolBar()); | 2135 | // mActionQuit->plug ( mMainWindow->toolBar()); |
2136 | 2136 | ||
2137 | 2137 | ||
2138 | 2138 | ||
2139 | //US Now connect the actions with the menue entries. | 2139 | //US Now connect the actions with the menue entries. |
2140 | #ifdef DESKTOP_VERSION | ||
2140 | mActionPrint->plug( fileMenu ); | 2141 | mActionPrint->plug( fileMenu ); |
2142 | #endif | ||
2141 | mActionMail->plug( fileMenu ); | 2143 | mActionMail->plug( fileMenu ); |
2142 | fileMenu->insertSeparator(); | 2144 | fileMenu->insertSeparator(); |
2143 | 2145 | ||
2144 | mActionNewContact->plug( fileMenu ); | 2146 | mActionNewContact->plug( fileMenu ); |
2145 | mActionNewContact->plug( tb ); | 2147 | mActionNewContact->plug( tb ); |
2146 | 2148 | ||
@@ -2154,15 +2156,17 @@ void KABCore::addActionsManually() | |||
2154 | fileMenu->insertItem( "&Import", ImportMenu ); | 2156 | fileMenu->insertItem( "&Import", ImportMenu ); |
2155 | fileMenu->insertItem( "&Export", ExportMenu ); | 2157 | fileMenu->insertItem( "&Export", ExportMenu ); |
2156 | fileMenu->insertItem( i18n("&Change"), changeMenu ); | 2158 | fileMenu->insertItem( i18n("&Change"), changeMenu ); |
2157 | #ifndef DESKTOP_VERSION | 2159 | #ifndef DESKTOP_VERSION |
2158 | if ( Ir::supported() ) fileMenu->insertItem( i18n("&Beam"), beamMenu ); | 2160 | if ( Ir::supported() ) fileMenu->insertItem( i18n("&Beam"), beamMenu ); |
2159 | #endif | 2161 | #endif |
2160 | 2162 | #if 0 | |
2163 | // PENDING fix MailVCard | ||
2161 | fileMenu->insertSeparator(); | 2164 | fileMenu->insertSeparator(); |
2162 | mActionMailVCard->plug( fileMenu ); | 2165 | mActionMailVCard->plug( fileMenu ); |
2166 | #endif | ||
2163 | #ifndef DESKTOP_VERSION | 2167 | #ifndef DESKTOP_VERSION |
2164 | if ( Ir::supported() ) mActionBR->plug( beamMenu ); | 2168 | if ( Ir::supported() ) mActionBR->plug( beamMenu ); |
2165 | if ( Ir::supported() ) mActionBeamVCard->plug( beamMenu ); | 2169 | if ( Ir::supported() ) mActionBeamVCard->plug( beamMenu ); |
2166 | if ( Ir::supported() ) mActionBeam->plug( beamMenu ); | 2170 | if ( Ir::supported() ) mActionBeam->plug( beamMenu ); |
2167 | #endif | 2171 | #endif |
2168 | fileMenu->insertSeparator(); | 2172 | fileMenu->insertSeparator(); |