aboutsummaryrefslogtreecommitdiff
path: root/libsylph/prefs_common.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-03-08 04:37:16 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-03-08 04:37:16 +0000
commitf11888bfed0c495fc2c492e929bcfc122d9c71cb (patch)
tree29a1c264cc6a0b43cee9b609dcf782b0582d9f26 /libsylph/prefs_common.c
parent3dfde2b2ca388030038a65d6dba71a8571378997 (diff)
removed metamail support and replaced it with the alternative implementation.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1032 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/prefs_common.c')
-rw-r--r--libsylph/prefs_common.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index a35fb2f7..292b40ba 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -259,11 +259,13 @@ static PrefParam param[] = {
{"show_other_header", "FALSE", &prefs_common.show_other_header, P_BOOL},
/* MIME viewer */
- {"mime_image_viewer", "display '%s'", &prefs_common.mime_image_viewer,
- P_STRING},
- {"mime_audio_player", "play '%s'", &prefs_common.mime_audio_player,
- P_STRING},
+ {"mime_image_viewer", NULL, &prefs_common.mime_image_viewer, P_STRING},
+ {"mime_audio_player", NULL, &prefs_common.mime_audio_player, P_STRING},
+#ifdef G_OS_WIN32
+ {"mime_open_command", "notepad '%s'", &prefs_common.mime_open_cmd,
+#else
{"mime_open_command", "gedit '%s'", &prefs_common.mime_open_cmd,
+#endif
P_STRING},
/* Junk mail */