aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-07 14:00:47 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-07 14:00:47 +0000
commit38ad5762fb87ec8278108d4a8d06e32612e64a13 (patch)
treed1e8ff69fc9df29c9d161ffde316240f88a69651
parentd95b257008c82c30ff050f74517753188bd110b6 (diff)
modification for Win32.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@477 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog1
-rw-r--r--ChangeLog.ja1
-rw-r--r--src/prefs_common.c10
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 466106fe..8f6faa0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* src/defs.h: modification for Win32.
* src/main.c: check filename encoding only on Unix.
+ * src/prefs_common.c: modification for Win32.
2005-08-07
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 69353b6d..8edc3eeb 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -2,6 +2,7 @@
* src/defs.h: modification for Win32.
* src/main.c: check filename encoding only on Unix.
+ * src/prefs_common.c: modification for Win32.
2005-08-07
diff --git a/src/prefs_common.c b/src/prefs_common.c
index 8b14a814..cef89305 100644
--- a/src/prefs_common.c
+++ b/src/prefs_common.c
@@ -622,11 +622,11 @@ static PrefParam param[] = {
&prefs_common.store_passphrase_timeout, P_INT,
&privacy.spinbtn_store_passphrase,
prefs_set_data_from_spinbtn, prefs_set_spinbtn},
-#ifndef __MINGW32__
+#ifndef G_OS_WIN32
{"passphrase_grab", "FALSE", &prefs_common.passphrase_grab, P_BOOL,
&privacy.checkbtn_passphrase_grab,
prefs_set_data_from_toggle, prefs_set_toggle},
-#endif /* __MINGW32__ */
+#endif /* G_OS_WIN32 */
{"gpg_warning", "TRUE", &prefs_common.gpg_warning, P_BOOL,
&privacy.checkbtn_gpg_warning,
prefs_set_data_from_toggle, prefs_set_toggle},
@@ -666,7 +666,11 @@ static PrefParam param[] = {
P_BOOL, &interface.checkbtn_close_recv_dialog,
prefs_set_data_from_toggle, prefs_set_toggle},
+#ifdef G_OS_WIN32
+ {"comply_gnome_hig", "FALSE", &prefs_common.comply_gnome_hig, P_BOOL,
+#else
{"comply_gnome_hig", "TRUE", &prefs_common.comply_gnome_hig, P_BOOL,
+#endif
&interface.checkbtn_comply_gnome_hig,
prefs_set_data_from_toggle, prefs_set_toggle},
@@ -2143,7 +2147,7 @@ static void prefs_privacy_create(void)
PACK_VSPACER (vbox2, vbox3, VSPACING_NARROW_2);
-#ifndef __MINGW32__
+#ifndef G_OS_WIN32
PACK_CHECK_BUTTON (vbox2, checkbtn_passphrase_grab,
_("Grab input while entering a passphrase"));
#endif