diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-02-08 06:58:26 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-02-08 06:58:26 +0000 |
commit | 25f4e280ba5ed4126f72c18a78f0b2bde961d1bd (patch) | |
tree | ed0b4b7ebb293b497f6913da05d0286f5ba2cce5 /libsylph | |
parent | 6224779aca608fd457f1cb0d24ff516afe72694d (diff) |
added option: 'Show notification window when new messages arrive'
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3212 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/prefs_common.c | 4 | ||||
-rw-r--r-- | libsylph/prefs_common.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 8652d9c9..46806d4e 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2012 Hiroyuki Yamamoto + * Copyright (C) 1999-2013 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -51,6 +51,8 @@ static PrefParam param[] = { &prefs_common.enable_newmsg_notify_sound, P_BOOL}, {"newmsg_notify_sound", NULL, &prefs_common.newmsg_notify_sound, P_STRING}, + {"enable_newmsg_notify_window", "TRUE", + &prefs_common.enable_newmsg_notify_window, P_BOOL}, {"inc_local", "FALSE", &prefs_common.inc_local, P_BOOL}, {"filter_on_inc_local", "TRUE", &prefs_common.filter_on_inc, P_BOOL}, diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index ea31f6fd..471d95c8 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2012 Hiroyuki Yamamoto + * Copyright (C) 1999-2013 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -341,6 +341,8 @@ struct _PrefsCommon gboolean show_attach_tab; /* Message - Attachment */ gboolean show_attached_files_first; /* Message - Attachment */ gint attach_toolbutton_pos; /* Message - Attachment */ + + gboolean enable_newmsg_notify_window; /* Receive */ }; extern PrefsCommon prefs_common; |