summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/germantranslation.txt2
-rw-r--r--bin/kdepim/korganizer/today_small.pngbin797 -> 827 bytes
-rw-r--r--korganizer/kotodoview.cpp12
3 files changed, 9 insertions, 5 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt
index cb92677..bcc23dc 100644
--- a/bin/kdepim/korganizer/germantranslation.txt
+++ b/bin/kdepim/korganizer/germantranslation.txt
@@ -91,5 +91,4 @@
91{ "Change","Ändere" }, 91{ "Change","Ändere" },
92{ "Cinema","Kino" }, 92{ "Cinema","Kino" },
93{ "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" },
94{ "Clone Item","Klone Eintrag" }, 93{ "Clone Item","Klone Eintrag" },
95{ "&Close","S&chließen" }, 94{ "&Close","S&chließen" },
@@ -1495,4 +1494,5 @@
1495{ "Hide Completed","Verstecke erledigte Todos" }, 1494{ "Hide Completed","Verstecke erledigte Todos" },
1496{ "Show not Running","Zeige nicht Laufende" }, 1495{ "Show not Running","Zeige nicht Laufende" },
1496{ "Click to add new Todo","Klick für neues Todo!" },
1497{ "","" }, 1497{ "","" },
1498{ "","" }, 1498{ "","" },
diff --git a/bin/kdepim/korganizer/today_small.png b/bin/kdepim/korganizer/today_small.png
index fcc4ac2..3d2979f 100644
--- a/bin/kdepim/korganizer/today_small.png
+++ b/bin/kdepim/korganizer/today_small.png
Binary files differ
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index 06d40b1..2c017e1 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -477,10 +477,10 @@ KOQuickTodo::KOQuickTodo(QWidget *parent) :
477 QLineEdit(parent) 477 QLineEdit(parent)
478{ 478{
479 setText(i18n("Click to add a new Todo")); 479 setText(i18n("Click to add new Todo"));
480} 480}
481 481
482void KOQuickTodo::focusInEvent(QFocusEvent *ev) 482void KOQuickTodo::focusInEvent(QFocusEvent *ev)
483{ 483{
484 if ( text()==i18n("Click to add a new Todo") ) 484 if ( text()==i18n("Click to add new Todo") )
485 setText(""); 485 setText("");
486 QLineEdit::focusInEvent(ev); 486 QLineEdit::focusInEvent(ev);
@@ -489,5 +489,5 @@ void KOQuickTodo::focusInEvent(QFocusEvent *ev)
489void KOQuickTodo::focusOutEvent(QFocusEvent *ev) 489void KOQuickTodo::focusOutEvent(QFocusEvent *ev)
490{ 490{
491 setText(i18n("Click to add a new Todo")); 491 setText(i18n("Click to add new Todo"));
492 QLineEdit::focusOutEvent(ev); 492 QLineEdit::focusOutEvent(ev);
493} 493}
@@ -524,8 +524,12 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) :
524 connect ( allclose, SIGNAL ( clicked()), SLOT ( setAllClose())); 524 connect ( allclose, SIGNAL ( clicked()), SLOT ( setAllClose()));
525 QPushButton * s_done = new QPushButton( "D",mQuickBar ); 525 QPushButton * s_done = new QPushButton( "D",mQuickBar );
526 s_done->setPixmap( SmallIcon("greenhook16"));
526 s_done->setFixedWidth( fixwid ); 527 s_done->setFixedWidth( fixwid );
528 s_done->setFixedHeight( flat->sizeHint().height() );
527 connect ( s_done, SIGNAL ( clicked()), SLOT ( toggleCompleted())); 529 connect ( s_done, SIGNAL ( clicked()), SLOT ( toggleCompleted()));
528 QPushButton * s_run = new QPushButton( "R",mQuickBar ); 530 QPushButton * s_run = new QPushButton( "R",mQuickBar );
531 s_run->setPixmap( SmallIcon("ko16old"));
529 s_run->setFixedWidth( fixwid ); 532 s_run->setFixedWidth( fixwid );
533 s_run->setFixedHeight( flat->sizeHint().height() );
530 connect ( s_run, SIGNAL ( clicked()), SLOT ( toggleRunning())); 534 connect ( s_run, SIGNAL ( clicked()), SLOT ( toggleRunning()));
531 535
@@ -1119,5 +1123,5 @@ void KOTodoView::newSubTodo()
1119 mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem(); 1123 mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem();
1120 if (mActiveItem) { 1124 if (mActiveItem) {
1121 if ( mQuickAdd->isVisible() && !mQuickAdd->text().isEmpty() && mQuickAdd->text() != i18n("Click to add a new Todo") ) { 1125 if ( mQuickAdd->isVisible() && !mQuickAdd->text().isEmpty() && mQuickAdd->text() != i18n("Click to add new Todo") ) {
1122 addQuickTodoPar( mActiveItem->todo()); 1126 addQuickTodoPar( mActiveItem->todo());
1123 } else 1127 } else