author | zautrix <zautrix> | 2005-01-19 08:52:01 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-19 08:52:01 (UTC) |
commit | af56077eeeab7b46b98ad5159c6653114abf6602 (patch) (side-by-side diff) | |
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,6 +1,11 @@ Info about the changes in new versions of KDE-Pim/Pi +********** VERSION 1.9.19 ************ + +Added a lot of missing translations to KA/Pi, +added some missing translations to KO/Pi and OM/Pi. + ********** VERSION 1.9.18 ************ FYI: The VERSION 1.9.17 was a testing release only. Please read the changelog of VERSION 1.9.17 as well. 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 @@ -184,11 +184,11 @@ { "Move/Copie all mails","Verschiebe/kopiere alle Mails" }, { "Delete all mails","Lösche alle Mails" }, { "Create new subfolder","Neues Unterverzeichnis" }, { "Delete folder","Lösche Verzeichnis" }, -{ "Refresh folder list","Aktualisiere Verzeichnis Liste" }, +{ "Refresh folder list","Aktualisiere Liste" }, { "Create new folder","Neues Verzeichnis" }, -{ "Disconnect","Disconnect" }, +{ "Disconnect","Diskonnect" }, { "Set offline","Gehe offline" }, { "Select target box","Wähle Ziel Box" }, { "<b>Store mail(s) to</b>","<b>Speichere Mail(s) nach</b>" }, { "Folder:","Verzeichnis:" }, @@ -251,9 +251,9 @@ { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, { "The settings of the storage\ndir is saved in the file\n%1","Die Einstellungen des Speicherverzeichnisses\nwerden in folgender Datei gespeichert:\n%1" }, { "Data storage path","Daten Speicherpfad" }, { "userdefined","benutzerdefiniert" }, -{ "","" }, +{ "Reply to this mail","Beantworte diese Mail" }, { "","" }, { "","" }, { "","" }, { "","" }, diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 9c10ba6..12af655 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -338,9 +338,10 @@ void CalendarView::init() } else { mTodoList->setFixedWidth( mDateNavigator->sizeHint().width() ); leftFrame->setFixedWidth( mDateNavigator->sizeHint().width() ); } - + if ( !KOPrefs::instance()->mShowDateNavigator) + mDateNavigator->hide(); //qDebug("Calendarview Size %d %d ", width(), height()); #endif connect( mNavigator, SIGNAL( datesSelected( const KCal::DateList & ) ), @@ -2167,12 +2168,12 @@ void CalendarView::updateView(const QDate &start, const QDate &end) void CalendarView::updateView() { DateList tmpList = mNavigator->selectedDates(); - // We assume that the navigator only selects consecutive days. - updateView( tmpList.first(), tmpList.last() ); if ( KOPrefs::instance()->mHideNonStartedTodos ) mTodoList->updateView(); + // We assume that the navigator only selects consecutive days. + updateView( tmpList.first(), tmpList.last() ); } void CalendarView::updateUnmanagedViews() { @@ -3608,9 +3609,10 @@ KDateNavigator* CalendarView::dateNavigatorWidget() return mDateNavigator; } void CalendarView::toggleDateNavigatorWidget() { - if (mDateNavigator->isVisible()) + KOPrefs::instance()->mShowDateNavigator = !KOPrefs::instance()->mShowDateNavigator ; + if (!KOPrefs::instance()->mShowDateNavigator ) mDateNavigator->hide(); else mDateNavigator->show(); } diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 0a767b6..4b26058 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp @@ -213,8 +213,9 @@ KOPrefs::KOPrefs() : KPrefs::setCurrentGroup("Views"); + addItemBool("Show Date Navigator",&mShowDateNavigator,true); addItemInt("Hour Size",&mHourSize,8); addItemBool("Show Daily Recurrences",&mDailyRecur,true); addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h index 69722a1..b3acda7 100644 --- a/korganizer/koprefs.h +++ b/korganizer/koprefs.h @@ -244,8 +244,10 @@ class KOPrefs : public KPimPrefs bool mHightlightDateTimeEdit; bool mShortDateInViewer; + bool mShowDateNavigator; + QStringList mLocationDefaults; QStringList mEventSummaryUser; QStringList mTodoSummaryUser; diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 5ec7ddd..151b55b 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1637,20 +1637,22 @@ void MainWindow::keyPressEvent ( QKeyEvent * e ) void MainWindow::fillFilterMenu() { selectFilterMenu->clear(); bool disable = false; + selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 ); + selectFilterMenu->insertSeparator(); if ( mView->filterView()->filtersEnabled() ) { - selectFilterMenu->insertItem(i18n ( "Turn filter off" ), 0 ); + selectFilterMenu->insertItem(i18n ( "Turn filter off" ), 1 ); } else { - selectFilterMenu->insertItem(i18n ( "Turn filter on" ), 0 ); + selectFilterMenu->insertItem(i18n ( "Turn filter on" ), 1 ); disable = true; } selectFilterMenu->insertSeparator(); QPtrList<CalFilter> fili = mView->filters(); CalFilter *curfilter = mView->filterView()->selectedFilter(); CalFilter *filter = fili.first(); - int iii = 1; + int iii = 2; while(filter) { selectFilterMenu->insertItem( filter->name(), iii ); if ( filter == curfilter) selectFilterMenu->setItemChecked( iii, true ); @@ -1662,11 +1664,13 @@ void MainWindow::fillFilterMenu() } void MainWindow::selectFilter( int fil ) { if ( fil == 0 ) { + mView->editFilters( ); + } else if ( fil == 1 ){ mView->toggleFilerEnabled( ); } else { - mView->selectFilter( fil-1 ); + mView->selectFilter( fil-2 ); } } void MainWindow::configureToolBar( int item ) { |