summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koviewmanager.cpp27
-rw-r--r--korganizer/mainwindow.cpp9
2 files changed, 19 insertions, 17 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index b5de4a1..e80b3fc 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -204,5 +204,5 @@ void KOViewManager::showNextView()
- if (mCurrentView == mAgendaView && mFlagShowNextxDays) goto LIST;
+ if (mCurrentView == mAgendaView && mFlagShowNextxDays) goto JOURNAL;
- if (mCurrentView == mListView ) goto DAY_1;
+ if (mCurrentView == mJournalView ) goto DAY_1;
@@ -216,5 +216,8 @@ void KOViewManager::showNextView()
- if (mCurrentView == mMonthView ) goto TODO;
+ if (mCurrentView == mMonthView ) goto LIST;
+
+ if (mCurrentView == mListView ) goto TODO;
+
+ // if (mCurrentView == mTodoView ) goto LIST;
- if (mCurrentView == mTodoView ) goto JOURNAL;
@@ -224,4 +227,4 @@ void KOViewManager::showNextView()
if ( KOPrefs::instance()->mShowIconNextDays ) { showNextXView() ;return ;}
- LIST:
- if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
+ JOURNAL:
+ if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
DAY_1:
@@ -236,8 +239,6 @@ void KOViewManager::showNextView()
if ( KOPrefs::instance()->mShowIconMonth ) { showMonthView();return ;}
+ LIST:
+ if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
TODO:
if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;}
- JOURNAL:
- if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
-
-
@@ -247,3 +248,3 @@ void KOViewManager::showNextView()
- if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
+ if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
@@ -259,5 +260,5 @@ void KOViewManager::showNextView()
- if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;}
+ if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
- if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
+ if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;}
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index b947cac..24055af 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -1011,4 +1011,4 @@ void MainWindow::initActions()
xdays_action->addTo( iconToolBar );
- if (p-> mShowIconList)
- showlist_action->addTo( iconToolBar );
+ if (p-> mShowIconJournal)
+ viewjournal_action->addTo( iconToolBar );
if (p-> mShowIconDay1)
@@ -1023,6 +1023,7 @@ void MainWindow::initActions()
month_action->addTo( iconToolBar );
+ if (p-> mShowIconList)
+ showlist_action->addTo( iconToolBar );
if (p-> mShowIconTodoview)
todoview_action->addTo( iconToolBar );
- if (p-> mShowIconJournal)
- viewjournal_action->addTo( iconToolBar );
+
icon = loadPixmap( pathString + "2leftarrowB" );