author | harlekin <harlekin> | 2002-04-08 19:58:35 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-04-08 19:58:35 (UTC) |
commit | 9dd42008cd6dea68520c58a569874a7cc8230eb0 (patch) (side-by-side diff) | |
tree | d12285c8f697b85c59740d3a6f4c89cd2b86798d | |
parent | d30a329f104fd7abb20521c8abfe389d9cd76c99 (diff) | |
download | opie-9dd42008cd6dea68520c58a569874a7cc8230eb0.zip opie-9dd42008cd6dea68520c58a569874a7cc8230eb0.tar.gz opie-9dd42008cd6dea68520c58a569874a7cc8230eb0.tar.bz2 |
updated buttons
-rw-r--r-- | core/pim/today/changelog | 1 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/today/changelog b/core/pim/today/changelog index 2270551..b3da1fb 100644 --- a/core/pim/today/changelog +++ b/core/pim/today/changelog @@ -1,8 +1,9 @@ 0.3.1 +* fixed the wrong color of the buttons * better translation (thanks carsten and others) * fixes memory leaks * bugfixes in calendar part, now location and note are working again. 0.3.0 diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index dfcc34e..755c860 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp @@ -45,12 +45,15 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) QPixmap config = Resource::loadPixmap( "today/config" ); // config icon QPixmap mail = Resource::loadPixmap( "today/mail" ); // mail icon QPalette pal = this->palette(); QColor col = pal.color(QPalette::Active, QColorGroup::Background); pal.setColor(QPalette::Active, QColorGroup::Button, col); + pal.setColor(QPalette::Inactive, QColorGroup::Button, col); + pal.setColor(QPalette::Normal, QColorGroup::Button, col); + pal.setColor(QPalette::Disabled, QColorGroup::Button, col); this->setPalette(pal); QWidget *d = QApplication::desktop(); int w=d->width(); int h=d->height(); |