diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-01-18 08:15:46 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-01-18 08:15:46 +0000 |
commit | 33d5b6b450180b7b2d1dfcee16f493e172d8a89f (patch) | |
tree | 2117b9fc0c66eb7eed71340d652d74603895ef55 /libsylph | |
parent | 04e39b4605146e09a9ae8b977b2f453336f1eab6 (diff) |
implemented the framework of toolbar customization.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1497 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/prefs_common.c | 7 | ||||
-rw-r--r-- | libsylph/prefs_common.h | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 82d34662..fbca256f 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2006 Hiroyuki Yamamoto + * Copyright (C) 1999-2007 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -130,6 +130,11 @@ static PrefParam param[] = { {"show_searchbar", "TRUE", &prefs_common.show_searchbar, P_BOOL}, {"show_statusbar", "TRUE", &prefs_common.show_statusbar, P_BOOL}, + {"main_toolbar_setting", NULL, &prefs_common.main_toolbar_setting, + P_STRING}, + {"compose_toolbar_setting", NULL, + &prefs_common.compose_toolbar_setting, P_STRING}, + {"summary_col_show_mark", "TRUE", &prefs_common.summary_col_visible[S_COL_MARK], P_BOOL}, {"summary_col_show_unread", "TRUE", diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index 6435bd7b..0b708be3 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2006 Hiroyuki Yamamoto + * Copyright (C) 1999-2007 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -118,6 +118,9 @@ struct _PrefsCommon gboolean show_searchbar; gboolean show_statusbar; + gchar *main_toolbar_setting; + gchar *compose_toolbar_setting; + /* Summary columns visibility, position and size */ gboolean summary_col_visible[N_SUMMARY_COLS]; gint summary_col_pos[N_SUMMARY_COLS]; |