| Summary: | Widgets don't change with kde colors | ||
|---|---|---|---|
| Product: | [Applications] konversation | Reporter: | Franklin Belew <frbsbn> |
| Component: | general | Assignee: | Konversation Bugs <konversation-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Franklin Belew
2005-12-15 19:50:14 UTC
SVN commit 494445 by hein:
Correctly update widget colors when KDE tells us to.
BUG:118397
M +4 -0 channel.cpp
M +2 -0 query.cpp
M +2 -1 statuspanel.cpp
--- trunk/extragear/network/konversation/src/channel.cpp #494444:494445
@@ -1850,10 +1850,12 @@
abg=abgCache;
}
+ channelInput->unsetPalette();
channelInput->setPaletteForegroundColor(fg);
channelInput->setPaletteBackgroundColor(bg);
channelInput->setFont(Preferences::textFont());
+ limit->unsetPalette();
limit->setPaletteForegroundColor(fg);
limit->setPaletteBackgroundColor(bg);
limit->setFont(Preferences::textFont());
@@ -1862,6 +1864,7 @@
//topicLine->lineEdit()->setPaletteBackgroundColor(bg);
topicLine->setFont(Preferences::textFont());
+ getTextView()->unsetPalette();
getTextView()->setFont(Preferences::textFont());
if(Preferences::showBackgroundImage())
@@ -1877,6 +1880,7 @@
nicknameListView->resort();
+ nicknameListView->unsetPalette();
nicknameListView->setPaletteForegroundColor(fg);
nicknameListView->setPaletteBackgroundColor(bg);
nicknameListView->setAlternateBackground(abg);
--- trunk/extragear/network/konversation/src/query.cpp #494444:494445
@@ -216,6 +216,7 @@
bg=colorGroup().base();
}
+ queryInput->unsetPalette();
queryInput->setPaletteForegroundColor(fg);
queryInput->setPaletteBackgroundColor(bg);
queryInput->setFont(Preferences::textFont());
@@ -224,6 +225,7 @@
// queryHostmask->setPaletteBackgroundColor(bg);
// queryHostmask->setFont(Preferences::textFont());
+ getTextView()->unsetPalette();
getTextView()->setFont(Preferences::textFont());
if(Preferences::showBackgroundImage())
--- trunk/extragear/network/konversation/src/statuspanel.cpp #494444:494445
@@ -162,11 +162,12 @@
bg=colorGroup().base();
}
-
+ statusInput->unsetPalette();
statusInput->setPaletteForegroundColor(fg);
statusInput->setPaletteBackgroundColor(bg);
statusInput->setFont(Preferences::textFont());
+ getTextView()->unsetPalette();
getTextView()->setFont(Preferences::textFont());
if(Preferences::showBackgroundImage())
|