aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-05-08 09:13:58 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-05-08 09:13:58 +0000
commit50c459c068dbc5a10a50463813046fd3a8f085db (patch)
tree8116eae4fcc47b09cb328920d56acd7db029bd90 /libsylph
parentba546f30097ffc76e94983d14ff9be1c55eb8074 (diff)
remember the maximized state of compose window.]
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1990 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c4
-rw-r--r--libsylph/prefs_common.h2
2 files changed, 6 insertions, 0 deletions
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;