From 6b59767f3d7523fa394de98a1d931d27167f2988 Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 16 Feb 2010 07:56:27 +0000 Subject: added 'Enable address auto-completion' setting. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2480 ee746299-78ed-0310-b773-934348b2243d --- libsylph/prefs_common.c | 4 +++- libsylph/prefs_common.h | 9 +++++---- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'libsylph') 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; -- cgit v1.2.3