[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH virt-viewer] remote-viewer: remove -d direct option



remote-viewer currently doesn't provide automatic ssh tunnels, and even if
it would, that would be explicit in the url given to remote-viewer (such
as spice+ssh://...)

https://bugzilla.redhat.com/show_bug.cgi?id=991261
---
 src/remote-viewer-main.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/remote-viewer-main.c b/src/remote-viewer-main.c
index 820a676..19e5197 100644
--- a/src/remote-viewer-main.c
+++ b/src/remote-viewer-main.c
@@ -112,7 +112,6 @@ main(int argc, char **argv)
     char *hotkeys = NULL;
     gboolean verbose = FALSE;
     gboolean debug = FALSE;
-    gboolean direct = FALSE;
     RemoteViewer *viewer = NULL;
 #ifdef HAVE_SPICE_GTK
     gboolean controller = FALSE;
@@ -125,8 +124,6 @@ main(int argc, char **argv)
           N_("Display verbose information"), NULL },
         { "title", 't', 0, G_OPTION_ARG_STRING, &title,
           N_("Set window title"), NULL },
-        { "direct", 'd', 0, G_OPTION_ARG_NONE, &direct,
-          N_("Direct connection with no automatic tunnels"), NULL },
         { "zoom", 'z', 0, G_OPTION_ARG_INT, &zoom,
           N_("Zoom level of window, in percentage"), "ZOOM" },
         { "debug", '\0', 0, G_OPTION_ARG_NONE, &debug,
@@ -213,7 +210,6 @@ main(int argc, char **argv)
     g_object_set(app, "fullscreen-auto-conf", fullscreen_auto_conf, NULL);
     g_object_set(app, "fullscreen", fullscreen, NULL);
     virt_viewer_window_set_zoom_level(virt_viewer_app_get_main_window(app), zoom);
-    virt_viewer_app_set_direct(app, direct);
     virt_viewer_app_set_hotkeys(app, hotkeys);
 
     if (!virt_viewer_app_start(app))
-- 
1.8.3.rc1.49.g8d97506


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]