diff options
author | James Booth <boothj5@gmail.com> | 2014-05-24 21:13:33 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-05-24 21:13:33 +0100 |
commit | b25b3f318036e6b14d52fef5a4f418a36d9b5a64 (patch) | |
tree | 64390020af43f1435e2bd214a2870c07db8b3168 /src/config | |
parent | eb0f0dd96b368424a1f2344d23c67c1e8934aae4 (diff) | |
download | profani-tty-b25b3f318036e6b14d52fef5a4f418a36d9b5a64.tar.gz |
Added notification setting for typing in current window
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 4 | ||||
-rw-r--r-- | src/config/preferences.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index eb32d558..c5dd75b7 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -400,6 +400,7 @@ _get_group(preference_t pref) case PREF_OUTTYPE: return PREF_GROUP_CHATSTATES; case PREF_NOTIFY_TYPING: + case PREF_NOTIFY_TYPING_CURRENT: case PREF_NOTIFY_MESSAGE: case PREF_NOTIFY_MESSAGE_CURRENT: case PREF_NOTIFY_ROOM: @@ -464,6 +465,8 @@ _get_key(preference_t pref) return "outtype"; case PREF_NOTIFY_TYPING: return "typing"; + case PREF_NOTIFY_TYPING_CURRENT: + return "typing.current"; case PREF_NOTIFY_MESSAGE: return "message"; case PREF_NOTIFY_MESSAGE_CURRENT: @@ -515,6 +518,7 @@ _get_default_boolean(preference_t pref) case PREF_LOG_SHARED: case PREF_NOTIFY_MESSAGE_CURRENT: case PREF_NOTIFY_ROOM_CURRENT: + case PREF_NOTIFY_TYPING_CURRENT: return TRUE; default: return FALSE; diff --git a/src/config/preferences.h b/src/config/preferences.h index 75a4c576..66d0d41c 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -52,6 +52,7 @@ typedef enum { PREF_STATES, PREF_OUTTYPE, PREF_NOTIFY_TYPING, + PREF_NOTIFY_TYPING_CURRENT, PREF_NOTIFY_MESSAGE, PREF_NOTIFY_MESSAGE_CURRENT, PREF_NOTIFY_ROOM, |