summaryrefslogtreecommitdiffabout
path: root/korganizer/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index f68f032..7a5f3e5 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -677,3 +677,4 @@ void MainWindow::initActions()
menuBar1->insertItem( i18n("View"), viewMenu );
- menuBar1->insertItem( i18n("Actions"), actionMenu );
+ menuBar1->insertItem( i18n("Edit"), mCurrentItemMenu );
+ menuBar1->insertItem( i18n("Action"), actionMenu );
#ifdef DESKTOP_VERSION
@@ -697,3 +698,4 @@ void MainWindow::initActions()
menuBar->insertItem( i18n("View"), viewMenu );
- menuBar->insertItem( i18n("Actions"), actionMenu );
+ menuBar->insertItem( i18n("Edit"), mCurrentItemMenu );
+ menuBar->insertItem( i18n("Action"), actionMenu );
menuBar->insertItem( i18n("Synchronize"), syncMenu );
@@ -784,6 +786,6 @@ void MainWindow::initActions()
action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this );
- action->addTo( actionMenu );
+ action->addTo( mCurrentItemMenu );
connect( action, SIGNAL( activated() ),
mView, SLOT( undo_delete() ) );
-
+ mCurrentItemMenu->insertSeparator();
icon = loadPixmap( pathString + "newevent" );
@@ -797,3 +799,3 @@ void MainWindow::initActions()
- actionMenu->insertItem ( i18n("Selected Item"), mCurrentItemMenu);
+ //actionMenu->insertItem ( i18n("Selected Item"), mCurrentItemMenu);
mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this );
@@ -1724,6 +1726,2 @@ void MainWindow::enableIncidenceActions( bool enabled )
{
-
-#ifndef DESKTOP_VERSION
- mCurrentItemMenu->setEnabled( enabled );
-#else
mShowAction->setEnabled( enabled );
@@ -1736,3 +1734,2 @@ void MainWindow::enableIncidenceActions( bool enabled )
mCancelAction->setEnabled( enabled );
-#endif
}