summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-27 00:38:43 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-27 00:38:43 +0200
commit855c565e2242fa2504fb06f4579abc609de452f5 (patch)
treea07f2f2e99f56f80fbec31090dfea6fc06f57060 /src/gui/widgets
parentb26e72ed5e62e9079319e14ed82734f0659db3c4 (diff)
downloadmv-855c565e2242fa2504fb06f4579abc609de452f5.tar.gz
mv-855c565e2242fa2504fb06f4579abc609de452f5.tar.bz2
mv-855c565e2242fa2504fb06f4579abc609de452f5.tar.xz
mv-855c565e2242fa2504fb06f4579abc609de452f5.zip
Add no away to whisper chat context menu.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/chattab.h7
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;