[gedit/dbus2: 3/9] Remove goto line/column option
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/dbus2: 3/9] Remove goto line/column option
- Date: Mon, 3 May 2010 15:52:35 +0000 (UTC)
commit 2d92c560bfbbc5960d16a85db4ed74a2bd2aaa0f
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sun May 2 13:21:36 2010 +0200
Remove goto line/column option
gedit/gedit-command-line.c | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 deletions(-)
---
diff --git a/gedit/gedit-command-line.c b/gedit/gedit-command-line.c
index 3ff12fb..c3b1903 100644
--- a/gedit/gedit-command-line.c
+++ b/gedit/gedit-command-line.c
@@ -248,22 +248,6 @@ gedit_command_line_parse (GeditCommandLine *command_line,
NULL
},
- /* Goto line/column */
- {
- "+LINE[:COLUMN]", '\0', 0, G_OPTION_ARG_NONE,
- &command_line->priv->line_column_position,
- N_("Move cursor to LINE, COLUMN"),
- NULL
- },
-
- /* collects file arguments */
- {
- G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY,
- &command_line->priv->remaining_args,
- NULL,
- N_("[FILE...]")
- },
-
/* Wait for closing documents */
{
"wait", 'w', 0, G_OPTION_ARG_NONE,
@@ -288,6 +272,14 @@ gedit_command_line_parse (GeditCommandLine *command_line,
NULL
},
+ /* collects file arguments */
+ {
+ G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY,
+ &command_line->priv->remaining_args,
+ NULL,
+ N_("[FILE...] [+LINE[:COLUMN]]")
+ },
+
{NULL}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]