diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-01-11 06:36:56 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-01-11 06:36:56 +0000 |
commit | 8f4ff8e73cafc662954824690f4fc75c1863c037 (patch) | |
tree | 7e282a846bd7ce5a32f4f8f558af6537e79aebce /libsylph | |
parent | 0c621798e192f350b1b3f6c97b9d9f8b92dfb7fb (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')
-rw-r--r-- | libsylph/prefs_common.c | 6 | ||||
-rw-r--r-- | libsylph/prefs_common.h | 1 |
2 files changed, 7 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}, diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index cbb4d8a4..6435bd7b 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -240,6 +240,7 @@ struct _PrefsCommon gboolean comply_gnome_hig; gboolean show_trayicon; gboolean minimize_to_tray; + gboolean toggle_window_on_trayicon_click; /* Other */ RecvDialogMode recv_dialog_mode; |