summaryrefslogtreecommitdiffabout
path: root/kaddressbook
authorzautrix <zautrix>2005-03-30 17:55:57 (UTC)
committer zautrix <zautrix>2005-03-30 17:55:57 (UTC)
commit0d8be3961052dc4396aa7db1c5f50db3ec1ac194 (patch) (side-by-side diff)
treef823a8b81413f16f861c9c91ef753d3627577cb2 /kaddressbook
parent95ec57b2f9df64dc40067c3a2278438029517f4c (diff)
downloadkdepimpi-0d8be3961052dc4396aa7db1c5f50db3ec1ac194.zip
kdepimpi-0d8be3961052dc4396aa7db1c5f50db3ec1ac194.tar.gz
kdepimpi-0d8be3961052dc4396aa7db1c5f50db3ec1ac194.tar.bz2
MENU CLEANUP
Diffstat (limited to 'kaddressbook') (more/less context) (show 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,
//US QPopupMenu *settingsmenu = (QPopupMenu*)mCore->getSettingsMenu();
- QWidget *settingsmenu = (QWidget*)mCore->getSettingsMenu();
+ QWidget *settingsmenu = (QWidget*)mCore->getViewMenu();
#endif //KAB_EMBEDDED
@@ -55,3 +55,3 @@ ExtensionManager::ExtensionManager( KABCore *core, QWidget *parent,
- mActionExtensions->plug( settingsmenu );
+ mActionExtensions->plug( settingsmenu ,0);
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()
KToolBar* tb = mMainWindow->toolBar();
-
+ mMainWindow->setToolBarsMovable (false );
#ifndef DESKTOP_VERSION
@@ -2188,6 +2188,7 @@ void KABCore::addActionsManually()
- mActionNewContact->plug( fileMenu );
+ mActionNewContact->plug( editMenu );
mActionNewContact->plug( tb );
- mActionEditAddressee->plug( fileMenu );
+ mActionEditAddressee->plug( editMenu );
+ editMenu->insertSeparator();
// if ((KGlobal::getDesktopSize() > KGlobal::Small ) ||
@@ -2196,3 +2197,3 @@ void KABCore::addActionsManually()
- fileMenu->insertSeparator();
+ // fileMenu->insertSeparator();
mActionSave->plug( fileMenu );
@@ -2200,3 +2201,4 @@ void KABCore::addActionsManually()
fileMenu->insertItem( "&Export", ExportMenu );
- fileMenu->insertItem( i18n("&Change"), changeMenu );
+ editMenu->insertItem( i18n("&Change"), changeMenu );
+ editMenu->insertSeparator();
#ifndef DESKTOP_VERSION
@@ -2251,6 +2253,6 @@ void KABCore::addActionsManually()
- settingsMenu->insertSeparator();
-
- mActionJumpBar->plug( settingsMenu );
- mActionDetails->plug( settingsMenu );
+ mActionEditCategories->plug( settingsMenu );
+ mActionManageCategories->plug( settingsMenu );
+ mActionJumpBar->plug( viewMenu,0 );
+ mActionDetails->plug( viewMenu,0 );
//if (!KABPrefs::instance()->mMultipleViewsAtOnce || KGlobal::getDesktopSize() == KGlobal::Desktop )
@@ -2264,9 +2266,7 @@ void KABCore::addActionsManually()
mActionWhoAmI->plug( settingsMenu );
- mActionEditCategories->plug( settingsMenu );
- mActionEditCategories->plug( changeMenu );
+ //mActionEditCategories->plug( changeMenu );
mActionCategories->plug( changeMenu );
- mActionManageCategories->plug( changeMenu );
+ //mActionManageCategories->plug( changeMenu );
- mActionCategories->plug( settingsMenu );
- mActionManageCategories->plug( settingsMenu );
+ //mActionCategories->plug( settingsMenu );
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()
action->plug(settingsmenu);
- mActionSelectFilter->plug(viewmenu);
+ mActionSelectFilter->plug(viewmenu,0);
#endif //KAB_EMBEDDED