Bug 118397 - Widgets don't change with kde colors
Summary: Widgets don't change with kde colors
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 19:50 UTC by Franklin Belew
Modified: 2006-01-05 04:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franklin Belew 2005-12-15 19:50:14 UTC
Version:           Konversation 0.18 #3016 (Using KDE 3.5.0 Level "a" SUSE 10.0 UNSUPPORTED) (using KDE KDE 3.5.0)
Installed from:    SuSE RPMs
OS:                Linux

To see behaviour:

1> Run konversation
2> open KDE Control Center
3> Under Appearance & Themes -> Colors, Select a scheme different than what you have.
4> Look at konversation scrollbars and borders, they are the original colors.
Comment 1 Eike Hein 2006-01-05 04:25:34 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())