[vinagre] Re-added "Open a file" command line feature.
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vinagre] Re-added "Open a file" command line feature.
- Date: Mon, 10 Aug 2009 17:31:20 +0000 (UTC)
commit 0c3070dc793b37acc1368d95d705dc9669f37e40
Author: Jonh Wendell <jwendell gnome org>
Date: Mon Aug 10 14:30:08 2009 -0300
Re-added "Open a file" command line feature.
Changed the flag from -f to -F also.
vinagre/vinagre-main.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/vinagre/vinagre-main.c b/vinagre/vinagre-main.c
index 7f4ff60..ffb0fe6 100644
--- a/vinagre/vinagre-main.c
+++ b/vinagre/vinagre-main.c
@@ -58,13 +58,20 @@ static gboolean fullscreen = FALSE;
static const GOptionEntry options [] =
{
{ "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen,
+ /* Translators: this is a command line option (run vinagre --help) */
N_("Open vinagre in fullscreen mode"), NULL },
{ "new-window", 'n', 0, G_OPTION_ARG_NONE, &new_window,
+ /* Translators: this is a command line option (run vinagre --help) */
N_("Create a new toplevel window in an existing instance of vinagre"), NULL },
+ { "file", 'F', 0, G_OPTION_ARG_FILENAME_ARRAY, &files,
+ /* Translators: this is a command line option (run vinagre --help) */
+ N_("Open a file recognized by vinagre"), N_("filename")},
+
{
G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &remaining_args,
+ /* Translators: this is a command line option (run vinagre --help) */
NULL, N_("[server:port]") },
{ NULL }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]