summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koviewmanager.cpp33
-rw-r--r--korganizer/mainwindow.cpp13
2 files changed, 24 insertions, 22 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()
204 204
205 if (mCurrentView == mAgendaView && mFlagShowNextxDays) goto LIST; 205 if (mCurrentView == mAgendaView && mFlagShowNextxDays) goto JOURNAL;
206 206
207 if (mCurrentView == mListView ) goto DAY_1; 207 if (mCurrentView == mJournalView ) goto DAY_1;
208 208
@@ -216,5 +216,8 @@ void KOViewManager::showNextView()
216 216
217 if (mCurrentView == mMonthView ) goto TODO; 217 if (mCurrentView == mMonthView ) goto LIST;
218
219 if (mCurrentView == mListView ) goto TODO;
220
221 // if (mCurrentView == mTodoView ) goto LIST;
218 222
219 if (mCurrentView == mTodoView ) goto JOURNAL;
220 223
@@ -223,5 +226,5 @@ void KOViewManager::showNextView()
223 NEXT_X: 226 NEXT_X:
224 if ( KOPrefs::instance()->mShowIconNextDays ) { showNextXView() ;return ;} 227 if ( KOPrefs::instance()->mShowIconNextDays ) { showNextXView() ;return ;}
225 LIST: 228 JOURNAL:
226 if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;} 229 if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
227 DAY_1: 230 DAY_1:
@@ -236,8 +239,6 @@ void KOViewManager::showNextView()
236 if ( KOPrefs::instance()->mShowIconMonth ) { showMonthView();return ;} 239 if ( KOPrefs::instance()->mShowIconMonth ) { showMonthView();return ;}
240 LIST:
241 if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
237 TODO: 242 TODO:
238 if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;} 243 if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;}
239 JOURNAL:
240 if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
241
242
243 244
@@ -246,7 +247,7 @@ void KOViewManager::showNextView()
246 if ( KOPrefs::instance()->mShowIconNextDays ) { showNextXView() ;return ;} 247 if ( KOPrefs::instance()->mShowIconNextDays ) { showNextXView() ;return ;}
247
248 if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
249 248
250 if ( KOPrefs::instance()->mShowIconDay1 ) { showDayView() ;return ;} 249 if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
251 250
251 if ( KOPrefs::instance()->mShowIconDay1 ) { showDayView() ;return ;}
252
252 if ( KOPrefs::instance()->mShowIconDay5 ) { showWorkWeekView() ;return ;} 253 if ( KOPrefs::instance()->mShowIconDay5 ) { showWorkWeekView() ;return ;}
@@ -259,5 +260,5 @@ void KOViewManager::showNextView()
259 260
260 if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;} 261 if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
261 262
262 if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;} 263 if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;}
263 264
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()
1011 xdays_action->addTo( iconToolBar ); 1011 xdays_action->addTo( iconToolBar );
1012 if (p-> mShowIconList) 1012 if (p-> mShowIconJournal)
1013 showlist_action->addTo( iconToolBar ); 1013 viewjournal_action->addTo( iconToolBar );
1014 if (p-> mShowIconDay1) 1014 if (p-> mShowIconDay1)
@@ -1022,7 +1022,8 @@ void MainWindow::initActions()
1022 if (p-> mShowIconMonth) 1022 if (p-> mShowIconMonth)
1023 month_action->addTo( iconToolBar ); 1023 month_action->addTo( iconToolBar );
1024 if (p-> mShowIconList)
1025 showlist_action->addTo( iconToolBar );
1024 if (p-> mShowIconTodoview) 1026 if (p-> mShowIconTodoview)
1025 todoview_action->addTo( iconToolBar ); 1027 todoview_action->addTo( iconToolBar );
1026 if (p-> mShowIconJournal) 1028
1027 viewjournal_action->addTo( iconToolBar );
1028 icon = loadPixmap( pathString + "2leftarrowB" ); 1029 icon = loadPixmap( pathString + "2leftarrowB" );