aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_common_dialog.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-17 08:41:04 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-17 08:41:04 +0000
commit2c9286bac8379895e8d6f8f495d254d433e164da (patch)
treedfa3cb024df712afeffedf08ad52fc9136ef0bda /src/prefs_common_dialog.c
parent52a91abbe7d87d0ecddb9e9d89b1232a490144b1 (diff)
win32: made the default editor command 'notepad'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@657 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_common_dialog.c')
-rw-r--r--src/prefs_common_dialog.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c
index 649baa62..7e5522d4 100644
--- a/src/prefs_common_dialog.c
+++ b/src/prefs_common_dialog.c
@@ -2038,12 +2038,16 @@ static void prefs_other_create(void)
gtk_table_attach (GTK_TABLE (ext_table), exteditor_combo, 1, 2, 2, 3,
GTK_EXPAND | GTK_FILL, 0, 0, 0);
gtkut_combo_set_items (GTK_COMBO (exteditor_combo),
+#ifdef G_OS_WIN32
+ "notepad '%s'",
+#else
"gedit %s",
"kedit %s",
"emacs %s",
"xemacs %s",
- "kterm -e jed %s",
- "kterm -e vi %s",
+ "rxvt -e jed %s",
+ "rxvt -e vi %s",
+#endif
NULL);
exteditor_entry = GTK_COMBO (exteditor_combo)->entry;