[virt-tools-list] [PATCH virt-viewer] virt-viewer-app: Do not show error dialog twice for unknown graphic

Fabiano Fidêncio fabiano at fidencio.org
Wed Apr 8 13:37:40 UTC 2015


On Wed, Apr 8, 2015 at 3:23 PM, Pavel Grunt <pgrunt at redhat.com> wrote:
> Related: rhbz#1085216
> ---
>  src/virt-viewer-app.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
> index 04a2bb7..563117a 100644
> --- a/src/virt-viewer-app.c
> +++ b/src/virt-viewer-app.c
> @@ -1082,8 +1082,6 @@ virt_viewer_app_create_session(VirtViewerApp *self, const gchar *type, GError **
>
>          virt_viewer_app_trace(self, "Guest %s has unsupported %s display type",
>                                priv->guest_name, type);
> -        virt_viewer_app_simple_message_dialog(self, _("Unknown graphic type for the guest %s"),
> -                                              priv->guest_name);
>          return FALSE;
>      }
>
> --
> 2.3.5
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list

ACK!

-- 
Fabiano Fidêncio




More information about the virt-tools-list mailing list