summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-03-30 17:55:57 (UTC)
committer zautrix <zautrix>2005-03-30 17:55:57 (UTC)
commit0d8be3961052dc4396aa7db1c5f50db3ec1ac194 (patch) (unidiff)
treef823a8b81413f16f861c9c91ef753d3627577cb2
parent95ec57b2f9df64dc40067c3a2278438029517f4c (diff)
downloadkdepimpi-0d8be3961052dc4396aa7db1c5f50db3ec1ac194.zip
kdepimpi-0d8be3961052dc4396aa7db1c5f50db3ec1ac194.tar.gz
kdepimpi-0d8be3961052dc4396aa7db1c5f50db3ec1ac194.tar.bz2
MENU CLEANUP
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/extensionmanager.cpp4
-rw-r--r--kaddressbook/kabcore.cpp28
-rw-r--r--kaddressbook/viewmanager.cpp2
3 files changed, 17 insertions, 17 deletions
diff --git a/kaddressbook/extensionmanager.cpp b/kaddressbook/extensionmanager.cpp
index efbdf17..46defa1 100644
--- a/kaddressbook/extensionmanager.cpp
+++ b/kaddressbook/extensionmanager.cpp
@@ -48,3 +48,3 @@ ExtensionManager::ExtensionManager( KABCore *core, QWidget *parent,
48//US QPopupMenu *settingsmenu = (QPopupMenu*)mCore->getSettingsMenu(); 48//US QPopupMenu *settingsmenu = (QPopupMenu*)mCore->getSettingsMenu();
49 QWidget *settingsmenu = (QWidget*)mCore->getSettingsMenu(); 49 QWidget *settingsmenu = (QWidget*)mCore->getViewMenu();
50#endif //KAB_EMBEDDED 50#endif //KAB_EMBEDDED
@@ -55,3 +55,3 @@ ExtensionManager::ExtensionManager( KABCore *core, QWidget *parent,
55 55
56 mActionExtensions->plug( settingsmenu ); 56 mActionExtensions->plug( settingsmenu ,0);
57 57
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 1433568..5ef61b1 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -2132,3 +2132,3 @@ void KABCore::addActionsManually()
2132 KToolBar* tb = mMainWindow->toolBar(); 2132 KToolBar* tb = mMainWindow->toolBar();
2133 2133 mMainWindow->setToolBarsMovable (false );
2134#ifndef DESKTOP_VERSION 2134#ifndef DESKTOP_VERSION
@@ -2188,6 +2188,7 @@ void KABCore::addActionsManually()
2188 2188
2189 mActionNewContact->plug( fileMenu ); 2189 mActionNewContact->plug( editMenu );
2190 mActionNewContact->plug( tb ); 2190 mActionNewContact->plug( tb );
2191 2191
2192 mActionEditAddressee->plug( fileMenu ); 2192 mActionEditAddressee->plug( editMenu );
2193 editMenu->insertSeparator();
2193 // if ((KGlobal::getDesktopSize() > KGlobal::Small ) || 2194 // if ((KGlobal::getDesktopSize() > KGlobal::Small ) ||
@@ -2196,3 +2197,3 @@ void KABCore::addActionsManually()
2196 2197
2197 fileMenu->insertSeparator(); 2198 // fileMenu->insertSeparator();
2198 mActionSave->plug( fileMenu ); 2199 mActionSave->plug( fileMenu );
@@ -2200,3 +2201,4 @@ void KABCore::addActionsManually()
2200 fileMenu->insertItem( "&Export", ExportMenu ); 2201 fileMenu->insertItem( "&Export", ExportMenu );
2201 fileMenu->insertItem( i18n("&Change"), changeMenu ); 2202 editMenu->insertItem( i18n("&Change"), changeMenu );
2203 editMenu->insertSeparator();
2202#ifndef DESKTOP_VERSION 2204#ifndef DESKTOP_VERSION
@@ -2251,6 +2253,6 @@ void KABCore::addActionsManually()
2251 2253
2252 settingsMenu->insertSeparator(); 2254 mActionEditCategories->plug( settingsMenu );
2253 2255 mActionManageCategories->plug( settingsMenu );
2254 mActionJumpBar->plug( settingsMenu ); 2256 mActionJumpBar->plug( viewMenu,0 );
2255 mActionDetails->plug( settingsMenu ); 2257 mActionDetails->plug( viewMenu,0 );
2256 //if (!KABPrefs::instance()->mMultipleViewsAtOnce || KGlobal::getDesktopSize() == KGlobal::Desktop ) 2258 //if (!KABPrefs::instance()->mMultipleViewsAtOnce || KGlobal::getDesktopSize() == KGlobal::Desktop )
@@ -2264,9 +2266,7 @@ void KABCore::addActionsManually()
2264 mActionWhoAmI->plug( settingsMenu ); 2266 mActionWhoAmI->plug( settingsMenu );
2265 mActionEditCategories->plug( settingsMenu ); 2267 //mActionEditCategories->plug( changeMenu );
2266 mActionEditCategories->plug( changeMenu );
2267 mActionCategories->plug( changeMenu ); 2268 mActionCategories->plug( changeMenu );
2268 mActionManageCategories->plug( changeMenu ); 2269 //mActionManageCategories->plug( changeMenu );
2269 2270
2270 mActionCategories->plug( settingsMenu ); 2271 //mActionCategories->plug( settingsMenu );
2271 mActionManageCategories->plug( settingsMenu );
2272 2272
diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp
index c2b1bb0..86f0f3d 100644
--- a/kaddressbook/viewmanager.cpp
+++ b/kaddressbook/viewmanager.cpp
@@ -722,3 +722,3 @@ void ViewManager::initActions()
722 action->plug(settingsmenu); 722 action->plug(settingsmenu);
723 mActionSelectFilter->plug(viewmenu); 723 mActionSelectFilter->plug(viewmenu,0);
724#endif //KAB_EMBEDDED 724#endif //KAB_EMBEDDED