aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-13 09:20:58 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-13 09:20:58 +0000
commitf4ef5b2fe53d60d2d9bd4ed4f3c0b3f9c7be53bb (patch)
tree5a62bfb178c4455df4f262655e6031d70b35a788 /libsylph
parent80072d1ee0161c430f44b40ad52d3038a039d364 (diff)
perform show/hide on trayicon click. Implemented popup menu on trayicon.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@896 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c4
-rw-r--r--libsylph/prefs_common.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 963f2d56..ad18467f 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2005 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -321,6 +321,8 @@ static PrefParam param[] = {
{"comply_gnome_hig", "TRUE", &prefs_common.comply_gnome_hig, P_BOOL},
#endif
+ {"show_trayicon", "TRUE", &prefs_common.show_trayicon, P_BOOL},
+
/* Other */
{"receive_dialog_mode", "1", &prefs_common.recv_dialog_mode, P_ENUM},
{"no_receive_error_panel", "FALSE", &prefs_common.no_recv_err_panel,
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index 979ba933..eee87b3a 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2005 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -220,6 +220,7 @@ struct _PrefsCommon
gboolean open_inbox_on_inc;
gboolean immediate_exec;
gboolean comply_gnome_hig;
+ gboolean show_trayicon;
/* Other */
RecvDialogMode recv_dialog_mode;