From aa3aa8a2f9adc0056106e28e2f535a5cfa669f9c Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 4 Feb 2011 08:23:45 +0000 Subject: save the columns width of address book. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2840 ee746299-78ed-0310-b773-934348b2243d --- libsylph/prefs_common.c | 6 +++++- libsylph/prefs_common.h | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'libsylph') diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 683bc069..c121ecd7 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2010 Hiroyuki Yamamoto + * Copyright (C) 1999-2011 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -305,6 +305,10 @@ static PrefParam param[] = { {"addressbook_y", "32", &prefs_common.addressbook_y, P_INT}, {"addressbook_width", "620", &prefs_common.addressbook_width, P_INT}, {"addressbook_height", "360", &prefs_common.addressbook_height, P_INT}, + {"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_rem", "100", &prefs_common.addressbook_col_rem, P_INT}, /* Message */ {"enable_color", "TRUE", &prefs_common.enable_color, P_BOOL}, diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index 8a68039d..f3210630 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2010 Hiroyuki Yamamoto + * Copyright (C) 1999-2011 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -325,6 +325,11 @@ struct _PrefsCommon gboolean always_add_address_only; /* Compose */ gboolean show_send_dialog; /* Send */ + + gint addressbook_folder_width; + gint addressbook_col_name; + gint addressbook_col_addr; + gint addressbook_col_rem; }; extern PrefsCommon prefs_common; -- cgit v1.2.3