aboutsummaryrefslogtreecommitdiff
path: root/libsylph/prefs_common.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-11 06:36:56 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-11 06:36:56 +0000
commit8f4ff8e73cafc662954824690f4fc75c1863c037 (patch)
tree7e282a846bd7ce5a32f4f8f558af6537e79aebce /libsylph/prefs_common.c
parent0c621798e192f350b1b3f6c97b9d9f8b92dfb7fb (diff)
added the option to toggle window on trayicon click.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1466 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/prefs_common.c')
-rw-r--r--libsylph/prefs_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 220e1e69..82d34662 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -339,6 +339,12 @@ static PrefParam param[] = {
{"show_trayicon", "TRUE", &prefs_common.show_trayicon, P_BOOL},
{"minimize_to_tray", "FALSE", &prefs_common.minimize_to_tray, P_BOOL},
+#ifdef G_OS_WIN32
+ {"toggle_window_on_trayicon_click", "FALSE",
+#else
+ {"toggle_window_on_trayicon_click", "TRUE",
+#endif
+ &prefs_common.toggle_window_on_trayicon_click, P_BOOL},
/* Other */
{"receive_dialog_mode", "1", &prefs_common.recv_dialog_mode, P_ENUM},