aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-05-25 05:27:58 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-05-25 05:27:58 +0000
commite69f5f537d14ae3f802314142010aa179b940c62 (patch)
tree7ba57c87c97ef65fef4f01652b007ef0e183d25c /src/mainwindow.c
parenta74fbbb42c390e797325135c1dd1b3d6b6deb6db (diff)
added Windows-only --ipcport option to 'Help - Command line options'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2548 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index c74dd928..37930b32 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2009 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2010 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -4042,6 +4042,26 @@ static void help_command_line_show(void)
gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
+#ifdef G_OS_WIN32
+ label = gtk_label_new(_("Windows-only option:"));
+ gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0);
+ gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
+ gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
+
+ hbox = gtk_hbox_new(FALSE, 32);
+ gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0);
+
+ label = gtk_label_new(_("--ipcport portnum"));
+ gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+ gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
+ gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
+
+ label = gtk_label_new(_("specify port for IPC remote commands"));
+ gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+ gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
+ gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
+#endif
+
gtkut_stock_button_set_create(&hbbox, &ok_btn, GTK_STOCK_OK,
NULL, NULL, NULL, NULL);
gtk_box_pack_end(GTK_BOX(vbox), hbbox, FALSE, FALSE, 0);