From 50c459c068dbc5a10a50463813046fd3a8f085db Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 8 May 2008 09:13:58 +0000 Subject: remember the maximized state of compose window.] git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1990 ee746299-78ed-0310-b773-934348b2243d --- libsylph/prefs_common.c | 4 ++++ libsylph/prefs_common.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'libsylph') diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 8a24b258..5c3103af 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -282,10 +282,14 @@ static PrefParam param[] = { {"sourcewin_width", "600", &prefs_common.sourcewin_width, P_INT}, {"sourcewin_height", "500", &prefs_common.sourcewin_height, P_INT}, + {"compose_x", "32", &prefs_common.compose_x, P_INT}, {"compose_y", "32", &prefs_common.compose_y, P_INT}, {"compose_width", "600", &prefs_common.compose_width, P_INT}, {"compose_height", "560", &prefs_common.compose_height, P_INT}, + + {"compose_maximized", "FALSE", &prefs_common.compose_maximized, P_BOOL}, + {"addressbook_x", "32", &prefs_common.addressbook_x, P_INT}, {"addressbook_y", "32", &prefs_common.addressbook_y, P_INT}, {"addressbook_width", "620", &prefs_common.addressbook_width, P_INT}, diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index 37a230bd..f072e97e 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -184,6 +184,8 @@ struct _PrefsCommon gint compose_width; gint compose_height; + gboolean compose_maximized; + gint addressbook_x; gint addressbook_y; gint addressbook_width; -- cgit v1.2.3