[Konversation-devel] [Bug 96609] if you insert a reminder-bar, all tabs blink as if something was said in these queries/channels

Peter Simonsson peter.simonsson at gmail.com
Thu Jul 1 16:02:04 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=96609





--- Comment #5 from Peter Simonsson <peter simonsson gmail com>  2010-07-01 16:02:01 ---
commit f8eca4d3d37c9f09b41ed8e6f20a60e9152d5935
Author: Peter Simonsson <peter.simonsson at gmail.com>
Date:   Fri Apr 1 16:35:48 2005 +0000

    Don't blink tabs on insert remember line

    BUG:96609

    svn path=/trunk/kdeextragear-2/konversation/; revision=402438

diff --git a/konversation/chatwindow.cpp b/konversation/chatwindow.cpp
index d593936..19a9b83 100644
--- a/konversation/chatwindow.cpp
+++ b/konversation/chatwindow.cpp
@@ -226,7 +226,7 @@ void ChatWindow::insertRememberLine()
 {
   Q_ASSERT(textView);  if(!textView) return;
   kdDebug() << "Inserting remember line" << endl;
-  textView->appendRaw("<br><hr
color=\"#"+KonversationApplication::preferences.getColor("CommandMessage")+"\"
noshade>", true);
+  textView->appendRaw("<br><hr
color=\"#"+KonversationApplication::preferences.getColor("CommandMessage")+"\"
noshade>", true, true);
 }

 void ChatWindow::appendRaw(const QString& message, bool suppressTimestamps)
diff --git a/konversation/ircview.cpp b/konversation/ircview.cpp
index 2c2596b..d92fc3f 100644
--- a/konversation/ircview.cpp
+++ b/konversation/ircview.cpp
@@ -517,7 +517,7 @@ void IRCView::append(const QString& nick,const QString&
message)
   doAppend(line);
 }

-void IRCView::appendRaw(const QString& message, bool suppressTimestamps)
+void IRCView::appendRaw(const QString& message, bool suppressTimestamps, bool
self)
 {
   QString
channelColor=KonversationApplication::preferences.getColor("ChannelMessage");
   QString line;
@@ -531,7 +531,7 @@ void IRCView::appendRaw(const QString& message, bool
suppressTimestamps)
       line = QString("<p>" + timeStamp() + " <font color=\"#" + channelColor +
"\">" + message + "</font></p>\n");
     }

-  doAppend(line);
+  doAppend(line, true, self);
 }

 void IRCView::appendQuery(const QString& nick,const QString& message)
diff --git a/konversation/ircview.h b/konversation/ircview.h
index 8d2cf88..c49f6be 100644
--- a/konversation/ircview.h
+++ b/konversation/ircview.h
@@ -77,7 +77,7 @@ class IRCView : public KTextBrowser

   public slots:
     void append(const QString& nick, const QString& message);
-    void appendRaw(const QString& message, bool suppressTimestamps=false);
+    void appendRaw(const QString& message, bool suppressTimestamps=false, bool
self = false);
     void appendQuery(const QString& nick, const QString& message);
     void appendAction(const QString& nick, const QString& message);
     void appendServerMessage(const QString& type, const QString& message);

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list