Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-10-21 16:45:21 +0300
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-11-04 17:07:13 +0300
commitc3b62c635eedc79a4cc33608efaa9a1e9fab623c (patch)
tree38bf8d01f74ba94a6e90b1777eafd454cc087915 /plugins/x2go
parentb4f9823bec06c382ac76fccede71026621614d58 (diff)
x2go_plugin.c: Add --quiet option for fetching existing sessions.
Diffstat (limited to 'plugins/x2go')
-rw-r--r--plugins/x2go/x2go_plugin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/x2go/x2go_plugin.c b/plugins/x2go/x2go_plugin.c
index 171c64b5e..315e3b776 100644
--- a/plugins/x2go/x2go_plugin.c
+++ b/plugins/x2go/x2go_plugin.c
@@ -921,6 +921,12 @@ static gchar* rmplugin_x2go_get_pyhoca_sessions(RemminaProtocolWidget* gp, GErro
return NULL;
}
+ // No need to catch feature-not-available error.
+ // `--quiet` is not that important.
+ if (FEATURE_AVAILABLE(gpdata, "QUIET")) {
+ argv[argc++] = g_strdup("--quiet");
+ }
+
argv[argc++] = NULL;
gchar* std_out = rmplugin_x2go_spawn_pyhoca_process(argc, argv, error);