[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [Konversation] 164ab15: Added AlternateBackground color for channel
From:       Dario Abatianni <eisfuchs () tigress ! com>
Date:       2010-07-01 13:26:53
Message-ID: 20100701132653.C5C62BB5470 () projects ! kde ! org
[Download RAW message or body]

commit 164ab1582a69c33fc75a6dcb5d1ceef274080aad
Author: Dario Abatianni <eisfuchs@tigress.com>
Date:   Tue Sep 30 20:03:47 2003 +0000

    Added AlternateBackground color for channel listview
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=255211

diff --git a/konversation/channel.cpp b/konversation/channel.cpp
index 22a22df..233ed3e 100644
--- a/konversation/channel.cpp
+++ b/konversation/channel.cpp
@@ -1299,8 +1299,9 @@ void Channel::updateFonts()
 
   nicknameButton->setFont(KonversationApplication::preferences.getTextFont());
 
-  const QColor fg("#"+KonversationApplication::preferences.getColor("ChannelMessage"));
                
-  const QColor bg("#"+KonversationApplication::preferences.getColor("TextViewBackground"));
 +  const QColor  fg("#"+KonversationApplication::preferences.getColor("ChannelMessage"));
 +  const QColor  bg("#"+KonversationApplication::preferences.getColor("TextViewBackground"));
 +  const QColor abg("#"+KonversationApplication::preferences.getColor("AlternateBackground"));
  
   channelInput->setPaletteForegroundColor(fg);
   channelInput->setPaletteBackgroundColor(bg);
@@ -1324,6 +1325,7 @@ void Channel::updateFonts()
 
   nicknameListView->setPaletteForegroundColor(fg);
   nicknameListView->setPaletteBackgroundColor(bg);
+  nicknameListView->setAlternateBackground(abg);
   nicknameListView->setFont(KonversationApplication::preferences.getListFont());
 }
 
diff --git a/konversation/prefspagecolorsimages.cpp \
b/konversation/prefspagecolorsimages.cpp index 82b5b44..7da1c33 100644
--- a/konversation/prefspagecolorsimages.cpp
+++ b/konversation/prefspagecolorsimages.cpp
@@ -10,8 +10,6 @@
   begin:     Don Jun 5 2003
   copyright: (C) 2003 by Dario Abatianni
   email:     eisfuchs@tigress.com
-
-  $Id$
 */
 
 #include <qlabel.h>
@@ -39,6 +37,7 @@ PrefsPageColorsImages::PrefsPageColorsImages(QFrame* \
newParent,Preferences* newP  colorList.append(i18n("Server message text \
color:")+",ServerMessage");  colorList.append(i18n("Timestamp color:")+",Time");
   colorList.append(i18n("Background color:")+",TextViewBackground");
+  colorList.append(i18n("Alternate Background color:")+",AlternateBackground");
 
   QGridLayout* colorSettingsLayout=new \
QGridLayout(parentFrame,4,3,marginHint(),spacingHint(),"log_settings_layout");  
diff --git a/konversation/prefspagecolorsimages.h \
b/konversation/prefspagecolorsimages.h index f792095..e3b9efc 100644
--- a/konversation/prefspagecolorsimages.h
+++ b/konversation/prefspagecolorsimages.h
@@ -10,8 +10,6 @@
   begin:     Don Jun 5 2003
   copyright: (C) 2003 by Dario Abatianni
   email:     eisfuchs@tigress.com
-
-  $Id$
 */
 
 #ifndef PREFSPAGECOLORSIMAGES_H


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic