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

Daniel P. Berrange berrange at redhat.com
Thu Aug 15 08:58:38 UTC 2013


On Wed, Aug 14, 2013 at 10:31:31PM +0200, Marc-André Lureau wrote:
> 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))

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list