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

List:       kde-commits
Subject:    [Konversation] bf7fea0: Shame shame on me. Fix the missing background
From:       "İsmail" "Dönmez" <ismail () kde ! org>
Date:       2010-07-01 13:27:37
Message-ID: 20100701132737.CC3FDBB567C () projects ! kde ! org
[Download RAW message or body]

commit bf7fea0e158e9c75ba3a1723ea78728a85127874
Author: İsmail Dönmez <ismail@kde.org>
Date:   Tue Jul 13 15:46:48 2004 +0000

    Shame shame on me. Fix the missing background image crap.
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=328755

diff --git a/konversation/query.cpp b/konversation/query.cpp
index a720924..740392d 100644
--- a/konversation/query.cpp
+++ b/konversation/query.cpp
@@ -175,7 +175,9 @@ void Query::updateFonts()
   queryHostmask->setFont(KonversationApplication::preferences.getTextFont());
 
   getTextView()->setFont(KonversationApplication::preferences.getTextFont());
-  getTextView()->setViewBackground(KonversationApplication::preferences.getColor("TextViewBackground"),
 +
+  if(KonversationApplication::preferences.getShowBackgroundImage())
+      getTextView()->setViewBackground(KonversationApplication::preferences.getColor("TextViewBackground"),
                
                                    \
KonversationApplication::preferences.getBackgroundImageName());  }
 
diff --git a/konversation/rawlog.cpp b/konversation/rawlog.cpp
index 1c058fd..cf78b72 100644
--- a/konversation/rawlog.cpp
+++ b/konversation/rawlog.cpp
@@ -43,7 +43,9 @@ void RawLog::adjustFocus()
 void RawLog::updateFonts()
 {
   getTextView()->setFont(KonversationApplication::preferences.getTextFont());
-  getTextView()->setViewBackground(KonversationApplication::preferences.getColor("TextViewBackground"),
 +
+  if(KonversationApplication::preferences.getShowBackgroundImage())
+      getTextView()->setViewBackground(KonversationApplication::preferences.getColor("TextViewBackground"),
                
                                    \
KonversationApplication::preferences.getBackgroundImageName());  }
 


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

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