From e67371d269eab88bb684a7c5d5e37190cdf805dd Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 13 Apr 2013 23:03:54 -0400 Subject: Add option for omitting alerts while focused --- src/common/cfgfiles.c | 1 + src/common/hexchat.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/common') diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index ac9120e1..d3c2046d 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -426,6 +426,7 @@ const struct prefs vars[] = {"gui_dialog_left", P_OFFINT (hex_gui_dialog_left), TYPE_INT}, {"gui_dialog_top", P_OFFINT (hex_gui_dialog_top), TYPE_INT}, {"gui_dialog_width", P_OFFINT (hex_gui_dialog_width), TYPE_INT}, + {"gui_focus_omitalerts", P_OFFINT (hex_gui_focus_omitalerts), TYPE_BOOL}, {"gui_hide_menu", P_OFFINT (hex_gui_hide_menu), TYPE_BOOL}, {"gui_input_icon", P_OFFINT (hex_gui_input_icon), TYPE_BOOL}, {"gui_input_nick", P_OFFINT (hex_gui_input_nick), TYPE_BOOL}, diff --git a/src/common/hexchat.h b/src/common/hexchat.h index 06bd3d4d..3291d93a 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -150,6 +150,7 @@ struct hexchatprefs unsigned int hex_gui_autoopen_recv; unsigned int hex_gui_autoopen_send; unsigned int hex_gui_compact; + unsigned int hex_gui_focus_omitalerts; unsigned int hex_gui_hide_menu; unsigned int hex_gui_input_icon; unsigned int hex_gui_input_nick; -- cgit 1.4.1