aboutsummaryrefslogtreecommitdiff
path: root/libsylph/prefs_common.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-11-29 06:39:33 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-11-29 06:39:33 +0000
commit4cc3707180ec49e18d83fd72c4f3eea541eb40ea (patch)
tree86fce2c6efd9e2adb0af876048f463cc53eb922d /libsylph/prefs_common.c
parente7f6d03d3475bb24aba9c850b04e06cd3027edb9 (diff)
added an option to use external program for printing.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1385 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/prefs_common.c')
-rw-r--r--libsylph/prefs_common.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index fd8d8e8f..220e1e69 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -367,17 +367,19 @@ static PrefParam param[] = {
#endif
P_STRING},
#ifdef G_OS_WIN32
- {"print_command", NULL, &prefs_common.print_cmd, P_STRING},
-#else
- {"print_command", "lpr %s", &prefs_common.print_cmd, P_STRING},
-#endif
-#ifdef G_OS_WIN32
{"ext_editor_command", "notepad '%s'", &prefs_common.ext_editor_cmd,
#else
{"ext_editor_command", "gedit %s", &prefs_common.ext_editor_cmd,
#endif
P_STRING},
+ {"use_print_command", "FALSE", &prefs_common.use_print_cmd, P_BOOL},
+#ifdef G_OS_WIN32
+ {"print_command", NULL, &prefs_common.print_cmd, P_STRING},
+#else
+ {"print_command", "lpr %s", &prefs_common.print_cmd, P_STRING},
+#endif
+
{"use_ext_inc", "FALSE", &prefs_common.use_extinc, P_BOOL},
{"ext_inc_path", DEFAULT_INC_PATH, &prefs_common.extinc_cmd, P_STRING},
{"use_ext_sendmail", "FALSE", &prefs_common.use_extsend, P_BOOL},