summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-15 09:12:07 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-15 09:12:07 -0600
commitfc4a12470adde2502f37f22b86f58560e416f3e4 (patch)
treedb745342789cf54de216a8597f483f3609cebe9b /src/gui/widgets/chattab.cpp
parent8606e95b5c8a5fadde99a253de91a661454460db (diff)
downloadmana-fc4a12470adde2502f37f22b86f58560e416f3e4.tar.gz
mana-fc4a12470adde2502f37f22b86f58560e416f3e4.tar.bz2
mana-fc4a12470adde2502f37f22b86f58560e416f3e4.tar.xz
mana-fc4a12470adde2502f37f22b86f58560e416f3e4.zip
Make whisper tabs optional
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 1879a918..0e3ae423 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -144,9 +144,9 @@ void ChatTab::chatLog(std::string line, int own, bool ignoreRecord)
lineColor = "##2"; // Equiv. to BrowserBox::GREEN
break;
case ACT_WHISPER:
- // Resend whisper through normal mechanism
- chatWindow->whisper(tmp.nick, tmp.text);
- return;
+ tmp.nick = strprintf(_("%s whispers: "), tmp.nick.c_str());
+ lineColor = "##W";
+ break;
case ACT_IS:
tmp.nick += CAT_IS;
lineColor = "##I";