aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-11-24 05:36:20 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-11-24 05:36:20 +0000
commit278ff465694b8435fbb5dd4018c5cfe5cbf0dce9 (patch)
tree8e5004e2a96e173f7a0ba5f29bab363b76a4056e /libsylph
parentf7e99d6cfd58d531b01b2d245ccc8e68554c046c (diff)
added 'Nick Name' column to the address book.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3583 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c3
-rw-r--r--libsylph/prefs_common.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 2d8d2917..8ed74a3e 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2014 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2017 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -316,6 +316,7 @@ static PrefParam param[] = {
{"addressbook_folder_width", "190", &prefs_common.addressbook_folder_width, P_INT},
{"addressbook_col_name", "164", &prefs_common.addressbook_col_name, P_INT},
{"addressbook_col_addr", "156", &prefs_common.addressbook_col_addr, P_INT},
+ {"addressbook_col_nickname", "120", &prefs_common.addressbook_col_nickname, P_INT},
{"addressbook_col_rem", "100", &prefs_common.addressbook_col_rem, P_INT},
/* Message */
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index 95bb0047..ba9ddb57 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2014 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2017 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -353,6 +353,8 @@ struct _PrefsCommon
gint notify_window_period; /* Receive */
gint startup_online_mode; /* Online */
+
+ gint addressbook_col_nickname;
};
extern PrefsCommon prefs_common;