[Konversation-devel] [Bug 118397] Widgets don't change with kde colors

Eike Hein sho at eikehein.com
Thu Jan 5 04:25:39 CET 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=118397         
sho eikehein com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From sho eikehein com  2006-01-05 04:25 -------
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())


More information about the Konversation-devel mailing list