aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-02-16 07:56:27 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-02-16 07:56:27 +0000
commit6b59767f3d7523fa394de98a1d931d27167f2988 (patch)
tree0dedd3e0295b939308f19a4be7a387fb47d0b0d8 /libsylph
parent2b8f8a38610a395bcd9eeeb5d6e9e495d8b88306 (diff)
added 'Enable address auto-completion' setting.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2480 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c4
-rw-r--r--libsylph/prefs_common.h9
2 files changed, 8 insertions, 5 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 27109213..e6358b42 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2009 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2010 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -435,6 +435,8 @@ static PrefParam param[] = {
{"add_address_by_click", "FALSE", &prefs_common.add_address_by_click,
P_BOOL},
+ {"enable_address_completion", "TRUE",
+ &prefs_common.enable_address_completion, P_BOOL},
{"confirm_on_exit", "FALSE", &prefs_common.confirm_on_exit, P_BOOL},
{"clean_trash_on_exit", "FALSE", &prefs_common.clean_on_exit, P_BOOL},
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index a87613ef..9f247910 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2009 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2010 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -310,9 +310,10 @@ struct _PrefsCommon
gboolean online_mode;
/* Append new members here */
- gboolean folder_col_visible[4]; /* Display */
- gboolean reply_address_only; /* Compose */
- gboolean recipients_autoreg; /* Send */
+ gboolean folder_col_visible[4]; /* Display */
+ gboolean reply_address_only; /* Compose */
+ gboolean recipients_autoreg; /* Send */
+ gboolean enable_address_completion; /* Compose */
};
extern PrefsCommon prefs_common;