mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-31 20:04:01 +00:00
app: Update warning msg in virt-viewer's window
Information about connection issues during display activation will appear in virt-viewer's window Related: rhbz#1386630
This commit is contained in:
parent
965286d699
commit
d7ef44d44f
@ -1239,6 +1239,8 @@ virt_viewer_app_activate(VirtViewerApp *self, GError **error)
|
||||
ret = VIRT_VIEWER_APP_GET_CLASS(self)->activate(self, error);
|
||||
|
||||
if (ret == FALSE) {
|
||||
if(error != NULL && *error != NULL)
|
||||
virt_viewer_app_show_status(self, (*error)->message);
|
||||
priv->connected = FALSE;
|
||||
} else {
|
||||
virt_viewer_app_show_status(self, _("Connecting to graphic server"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user