summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-02-20 11:14:04 (UTC)
committer zautrix <zautrix>2005-02-20 11:14:04 (UTC)
commitbb74ffa01010ca364e101e05a6b3e090ae363a0e (patch) (unidiff)
tree573f3b5244f064996c9cb4c73cc0ad04816bda9b
parentce9aa88149547443452a2077f5c3832fbea34f63 (diff)
downloadkdepimpi-bb74ffa01010ca364e101e05a6b3e090ae363a0e.zip
kdepimpi-bb74ffa01010ca364e101e05a6b3e090ae363a0e.tar.gz
kdepimpi-bb74ffa01010ca364e101e05a6b3e090ae363a0e.tar.bz2
minor month-weekview fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt3
-rw-r--r--korganizer/komonthview.h2
-rw-r--r--korganizer/koviewmanager.cpp1
3 files changed, 5 insertions, 1 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index 3c757a1..7c81b3a 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -2,8 +2,11 @@ Info about the changes in new versions of KDE-Pim/Pi
2 2
3********** VERSION 2.0.9 ************ 3********** VERSION 2.0.9 ************
4 4
5Made month view icons for multiday events a bit nicer. 5Made month view icons for multiday events a bit nicer.
6Some minor fixes in KO/Pi
7(e.g. go to today did not work for new week view properly).
8
6 9
7********** VERSION 2.0.8 ************ 10********** VERSION 2.0.8 ************
8 11
9Fixed a problem in dependency info in the ipk files for the Zaurus. 12Fixed a problem in dependency info in the ipk files for the Zaurus.
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h
index b79a41f..f92a69a 100644
--- a/korganizer/komonthview.h
+++ b/korganizer/komonthview.h
@@ -225,9 +225,9 @@ class KOMonthView: public KOEventView
225 virtual DateList selectedDates(); 225 virtual DateList selectedDates();
226 226
227 virtual void printPreview(CalPrinter *calPrinter, 227 virtual void printPreview(CalPrinter *calPrinter,
228 const QDate &, const QDate &); 228 const QDate &, const QDate &);
229 bool isMonthView() { return true; } 229 bool isMonthView() { return !mShowWeekView; }
230 bool isUpdatePossible() { return updatePossible; } 230 bool isUpdatePossible() { return updatePossible; }
231 231
232 MonthViewCell * selectedCell(); 232 MonthViewCell * selectedCell();
233 bool skipResize; 233 bool skipResize;
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index ac67b58..a9f5a41 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -556,8 +556,9 @@ if (!mMonthView) {
556} 556}
557void KOViewManager::showMonthViewWeek() 557void KOViewManager::showMonthViewWeek()
558{ 558{
559 createMonthView(); 559 createMonthView();
560 globalFlagBlockAgenda = 1;
560 bool full = true; 561 bool full = true;
561 if ( mCurrentView == mMonthView) 562 if ( mCurrentView == mMonthView)
562 full = mMainView->leftFrame()->isVisible(); 563 full = mMainView->leftFrame()->isVisible();
563 if ( !KOPrefs::instance()->mMonthViewWeek ) { 564 if ( !KOPrefs::instance()->mMonthViewWeek ) {