diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-13 12:38:01 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-13 12:38:01 +0200 |
commit | b67b223c26ad4cc1784070b8d69e85623814e2d2 (patch) | |
tree | 5df4442ffefb94fed950b9d85b2220f89dc8317a /src/fe-gtk/setup.c | |
parent | 0ec02c13c7b17f2ad74a834f8b7b2d1ecc2d4630 (diff) |
Add option to omit alerts when marked as being away
Diffstat (limited to 'src/fe-gtk/setup.c')
-rw-r--r-- | src/fe-gtk/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index d773cbdf..60a17a0c 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -361,6 +361,7 @@ static const setting alert_settings[] = {ST_3OGGLE, N_("Make a beep sound on:"), 0, 0, (void *)beeplist, 0}, {ST_TOGGLE, N_("Enable system tray icon"), P_OFFINTNL(gui_tray), 0, 0, 0}, + {ST_TOGGLE, N_("Omit alerts when marked as being away"), P_OFFINTNL(away_omit_alerts), 0, 0, 0}, {ST_HEADER, N_("Highlighted Messages"),0,0,0}, {ST_LABEL, N_("Highlighted messages are ones where your nickname is mentioned, but also:"), 0, 0, 0, 1}, @@ -381,6 +382,8 @@ static const setting alert_settings_hextray[] = {ST_3OGGLE, N_("Blink task bar on:"), 0, 0, (void *)taskbarlist, 0}, {ST_3OGGLE, N_("Make a beep sound on:"), 0, 0, (void *)beeplist, 0}, + {ST_TOGGLE, N_("Omit alerts when marked as being away"), P_OFFINTNL(away_omit_alerts), 0, 0, 0}, + {ST_HEADER, N_("Highlighted Messages"),0,0,0}, {ST_LABEL, N_("Highlighted messages are ones where your nickname is mentioned, but also:"), 0, 0, 0, 1}, |