diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-27 00:38:43 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-27 00:38:43 +0200 |
commit | 855c565e2242fa2504fb06f4579abc609de452f5 (patch) | |
tree | a07f2f2e99f56f80fbec31090dfea6fc06f57060 /src/gui/widgets | |
parent | b26e72ed5e62e9079319e14ed82734f0659db3c4 (diff) | |
download | manaplus-855c565e2242fa2504fb06f4579abc609de452f5.tar.gz manaplus-855c565e2242fa2504fb06f4579abc609de452f5.tar.bz2 manaplus-855c565e2242fa2504fb06f4579abc609de452f5.tar.xz manaplus-855c565e2242fa2504fb06f4579abc609de452f5.zip |
Add no away to whisper chat context menu.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/chattab.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h index 998ad2e3d..611ca8ef3 100644 --- a/src/gui/widgets/chattab.h +++ b/src/gui/widgets/chattab.h @@ -153,6 +153,12 @@ class ChatTab : public Tab void setRemoveNames(bool n) { mRemoveNames = n; } + bool getNoAway() + { return mNoAway; } + + void setNoAway(bool n) + { mNoAway = n; } + protected: friend class ChatWindow; friend class WhisperWindow; @@ -173,6 +179,7 @@ class ChatTab : public Tab BrowserBox *mTextOutput; bool mAllowHightlight; bool mRemoveNames; + bool mNoAway; }; extern ChatTab *localChatTab; |