author | zautrix <zautrix> | 2005-01-19 08:52:01 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-19 08:52:01 (UTC) |
commit | af56077eeeab7b46b98ad5159c6653114abf6602 (patch) (unidiff) | |
tree | b621bc3c2c8d283d0aec81b2b8276074082c951a | |
parent | c626089f47244d0c0a9ba73bcd12f42927acb28f (diff) | |
download | kdepimpi-af56077eeeab7b46b98ad5159c6653114abf6602.zip kdepimpi-af56077eeeab7b46b98ad5159c6653114abf6602.tar.gz kdepimpi-af56077eeeab7b46b98ad5159c6653114abf6602.tar.bz2 |
kopi fixes
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 5 | ||||
-rw-r--r-- | bin/kdepim/kopiemail/germantranslation.txt | 6 | ||||
-rw-r--r-- | korganizer/calendarview.cpp | 10 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 1 | ||||
-rw-r--r-- | korganizer/koprefs.h | 2 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 12 |
6 files changed, 25 insertions, 11 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index c0078be..23ff53c 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,5 +1,10 @@ | |||
1 | Info about the changes in new versions of KDE-Pim/Pi | 1 | Info about the changes in new versions of KDE-Pim/Pi |
2 | 2 | ||
3 | ********** VERSION 1.9.19 ************ | ||
4 | |||
5 | Added a lot of missing translations to KA/Pi, | ||
6 | added some missing translations to KO/Pi and OM/Pi. | ||
7 | |||
3 | ********** VERSION 1.9.18 ************ | 8 | ********** VERSION 1.9.18 ************ |
4 | 9 | ||
5 | FYI: The VERSION 1.9.17 was a testing release only. | 10 | FYI: The VERSION 1.9.17 was a testing release only. |
diff --git a/bin/kdepim/kopiemail/germantranslation.txt b/bin/kdepim/kopiemail/germantranslation.txt index 5037f5f..6ebaafe 100644 --- a/bin/kdepim/kopiemail/germantranslation.txt +++ b/bin/kdepim/kopiemail/germantranslation.txt | |||
@@ -185,9 +185,9 @@ | |||
185 | { "Delete all mails","Lösche alle Mails" }, | 185 | { "Delete all mails","Lösche alle Mails" }, |
186 | { "Create new subfolder","Neues Unterverzeichnis" }, | 186 | { "Create new subfolder","Neues Unterverzeichnis" }, |
187 | { "Delete folder","Lösche Verzeichnis" }, | 187 | { "Delete folder","Lösche Verzeichnis" }, |
188 | { "Refresh folder list","Aktualisiere Verzeichnis Liste" }, | 188 | { "Refresh folder list","Aktualisiere Liste" }, |
189 | { "Create new folder","Neues Verzeichnis" }, | 189 | { "Create new folder","Neues Verzeichnis" }, |
190 | { "Disconnect","Disconnect" }, | 190 | { "Disconnect","Diskonnect" }, |
191 | { "Set offline","Gehe offline" }, | 191 | { "Set offline","Gehe offline" }, |
192 | { "Select target box","Wähle Ziel Box" }, | 192 | { "Select target box","Wähle Ziel Box" }, |
193 | { "<b>Store mail(s) to</b>","<b>Speichere Mail(s) nach</b>" }, | 193 | { "<b>Store mail(s) to</b>","<b>Speichere Mail(s) nach</b>" }, |
@@ -252,7 +252,7 @@ | |||
252 | { "The settings of the storage\ndir is saved in the file\n%1","Die Einstellungen des Speicherverzeichnisses\nwerden in folgender Datei gespeichert:\n%1" }, | 252 | { "The settings of the storage\ndir is saved in the file\n%1","Die Einstellungen des Speicherverzeichnisses\nwerden in folgender Datei gespeichert:\n%1" }, |
253 | { "Data storage path","Daten Speicherpfad" }, | 253 | { "Data storage path","Daten Speicherpfad" }, |
254 | { "userdefined","benutzerdefiniert" }, | 254 | { "userdefined","benutzerdefiniert" }, |
255 | { "","" }, | 255 | { "Reply to this mail","Beantworte diese Mail" }, |
256 | { "","" }, | 256 | { "","" }, |
257 | { "","" }, | 257 | { "","" }, |
258 | { "","" }, | 258 | { "","" }, |
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 9c10ba6..12af655 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -339,7 +339,8 @@ void CalendarView::init() | |||
339 | mTodoList->setFixedWidth( mDateNavigator->sizeHint().width() ); | 339 | mTodoList->setFixedWidth( mDateNavigator->sizeHint().width() ); |
340 | leftFrame->setFixedWidth( mDateNavigator->sizeHint().width() ); | 340 | leftFrame->setFixedWidth( mDateNavigator->sizeHint().width() ); |
341 | } | 341 | } |
342 | 342 | if ( !KOPrefs::instance()->mShowDateNavigator) | |
343 | mDateNavigator->hide(); | ||
343 | //qDebug("Calendarview Size %d %d ", width(), height()); | 344 | //qDebug("Calendarview Size %d %d ", width(), height()); |
344 | #endif | 345 | #endif |
345 | 346 | ||
@@ -2168,10 +2169,10 @@ void CalendarView::updateView() | |||
2168 | { | 2169 | { |
2169 | DateList tmpList = mNavigator->selectedDates(); | 2170 | DateList tmpList = mNavigator->selectedDates(); |
2170 | 2171 | ||
2171 | // We assume that the navigator only selects consecutive days. | ||
2172 | updateView( tmpList.first(), tmpList.last() ); | ||
2173 | if ( KOPrefs::instance()->mHideNonStartedTodos ) | 2172 | if ( KOPrefs::instance()->mHideNonStartedTodos ) |
2174 | mTodoList->updateView(); | 2173 | mTodoList->updateView(); |
2174 | // We assume that the navigator only selects consecutive days. | ||
2175 | updateView( tmpList.first(), tmpList.last() ); | ||
2175 | } | 2176 | } |
2176 | 2177 | ||
2177 | void CalendarView::updateUnmanagedViews() | 2178 | void CalendarView::updateUnmanagedViews() |
@@ -3609,7 +3610,8 @@ KDateNavigator* CalendarView::dateNavigatorWidget() | |||
3609 | } | 3610 | } |
3610 | void CalendarView::toggleDateNavigatorWidget() | 3611 | void CalendarView::toggleDateNavigatorWidget() |
3611 | { | 3612 | { |
3612 | if (mDateNavigator->isVisible()) | 3613 | KOPrefs::instance()->mShowDateNavigator = !KOPrefs::instance()->mShowDateNavigator ; |
3614 | if (!KOPrefs::instance()->mShowDateNavigator ) | ||
3613 | mDateNavigator->hide(); | 3615 | mDateNavigator->hide(); |
3614 | else | 3616 | else |
3615 | mDateNavigator->show(); | 3617 | mDateNavigator->show(); |
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 0a767b6..4b26058 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -214,6 +214,7 @@ KOPrefs::KOPrefs() : | |||
214 | 214 | ||
215 | 215 | ||
216 | KPrefs::setCurrentGroup("Views"); | 216 | KPrefs::setCurrentGroup("Views"); |
217 | addItemBool("Show Date Navigator",&mShowDateNavigator,true); | ||
217 | addItemInt("Hour Size",&mHourSize,8); | 218 | addItemInt("Hour Size",&mHourSize,8); |
218 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); | 219 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); |
219 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); | 220 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); |
diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h index 69722a1..b3acda7 100644 --- a/korganizer/koprefs.h +++ b/korganizer/koprefs.h | |||
@@ -245,6 +245,8 @@ class KOPrefs : public KPimPrefs | |||
245 | bool mHightlightDateTimeEdit; | 245 | bool mHightlightDateTimeEdit; |
246 | bool mShortDateInViewer; | 246 | bool mShortDateInViewer; |
247 | 247 | ||
248 | bool mShowDateNavigator; | ||
249 | |||
248 | QStringList mLocationDefaults; | 250 | QStringList mLocationDefaults; |
249 | QStringList mEventSummaryUser; | 251 | QStringList mEventSummaryUser; |
250 | QStringList mTodoSummaryUser; | 252 | QStringList mTodoSummaryUser; |
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 5ec7ddd..151b55b 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1638,18 +1638,20 @@ void MainWindow::fillFilterMenu() | |||
1638 | { | 1638 | { |
1639 | selectFilterMenu->clear(); | 1639 | selectFilterMenu->clear(); |
1640 | bool disable = false; | 1640 | bool disable = false; |
1641 | selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 ); | ||
1642 | selectFilterMenu->insertSeparator(); | ||
1641 | if ( mView->filterView()->filtersEnabled() ) { | 1643 | if ( mView->filterView()->filtersEnabled() ) { |
1642 | selectFilterMenu->insertItem(i18n ( "Turn filter off" ), 0 ); | 1644 | selectFilterMenu->insertItem(i18n ( "Turn filter off" ), 1 ); |
1643 | } | 1645 | } |
1644 | else { | 1646 | else { |
1645 | selectFilterMenu->insertItem(i18n ( "Turn filter on" ), 0 ); | 1647 | selectFilterMenu->insertItem(i18n ( "Turn filter on" ), 1 ); |
1646 | disable = true; | 1648 | disable = true; |
1647 | } | 1649 | } |
1648 | selectFilterMenu->insertSeparator(); | 1650 | selectFilterMenu->insertSeparator(); |
1649 | QPtrList<CalFilter> fili = mView->filters(); | 1651 | QPtrList<CalFilter> fili = mView->filters(); |
1650 | CalFilter *curfilter = mView->filterView()->selectedFilter(); | 1652 | CalFilter *curfilter = mView->filterView()->selectedFilter(); |
1651 | CalFilter *filter = fili.first(); | 1653 | CalFilter *filter = fili.first(); |
1652 | int iii = 1; | 1654 | int iii = 2; |
1653 | while(filter) { | 1655 | while(filter) { |
1654 | selectFilterMenu->insertItem( filter->name(), iii ); | 1656 | selectFilterMenu->insertItem( filter->name(), iii ); |
1655 | if ( filter == curfilter) | 1657 | if ( filter == curfilter) |
@@ -1663,9 +1665,11 @@ void MainWindow::fillFilterMenu() | |||
1663 | void MainWindow::selectFilter( int fil ) | 1665 | void MainWindow::selectFilter( int fil ) |
1664 | { | 1666 | { |
1665 | if ( fil == 0 ) { | 1667 | if ( fil == 0 ) { |
1668 | mView->editFilters( ); | ||
1669 | } else if ( fil == 1 ){ | ||
1666 | mView->toggleFilerEnabled( ); | 1670 | mView->toggleFilerEnabled( ); |
1667 | } else { | 1671 | } else { |
1668 | mView->selectFilter( fil-1 ); | 1672 | mView->selectFilter( fil-2 ); |
1669 | } | 1673 | } |
1670 | } | 1674 | } |
1671 | void MainWindow::configureToolBar( int item ) | 1675 | void MainWindow::configureToolBar( int item ) |