Added wait entry to man page. Removed logic that cause wait to open extra tab.
This commit is contained in:
parent
b6483090b6
commit
6f58fd2f2c
|
@ -42,6 +42,9 @@ Output version information and exit
|
||||||
\fB\-?, \-h, \-\-help\fR
|
\fB\-?, \-h, \-\-help\fR
|
||||||
Print standard command line options.
|
Print standard command line options.
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-w, \-\-wait\fR
|
||||||
|
Open files and block the xed process.
|
||||||
|
.TP
|
||||||
\fB\-\-help\-all\fR
|
\fB\-\-help\-all\fR
|
||||||
Print all command line options.
|
Print all command line options.
|
||||||
.P
|
.P
|
||||||
|
|
|
@ -699,14 +699,6 @@ xed_app_handle_local_options (GApplication *application,
|
||||||
g_application_set_flags (application, old_flags | G_APPLICATION_NON_UNIQUE);
|
g_application_set_flags (application, old_flags | G_APPLICATION_NON_UNIQUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_variant_dict_contains (options, "wait"))
|
|
||||||
{
|
|
||||||
GApplicationFlags old_flags;
|
|
||||||
|
|
||||||
old_flags = g_application_get_flags (application);
|
|
||||||
g_application_set_flags (application, old_flags | G_APPLICATION_IS_LAUNCHER);
|
|
||||||
}
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue