aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-03-19 08:33:29 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-03-19 08:33:29 +0000
commitbf166a12fba39baa7d17ffd40c2a32131f8689c5 (patch)
tree951bac4dd69fba2c57e378bc4daf390cd8f57bde /libsylph
parent394f514c0a07a93ee41e082b01ffbc9606095dae (diff)
made the display period of notification window configurable.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3355 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c4
-rw-r--r--libsylph/prefs_common.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index d1917818..2d3184cc 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2013 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2014 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -53,6 +53,8 @@ static PrefParam param[] = {
P_STRING},
{"enable_newmsg_notify_window", "TRUE",
&prefs_common.enable_newmsg_notify_window, P_BOOL},
+ {"notify_window_period", "10",
+ &prefs_common.notify_window_period, P_INT},
{"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 3fafae52..e9062eda 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2013 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2014 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -349,6 +349,8 @@ struct _PrefsCommon
gboolean alt_prefer_html; /* Message */
gint save_file_type;
+
+ gint notify_window_period; /* Receive */
};
extern PrefsCommon prefs_common;