summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-util.h
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2014-09-26 15:55:52 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-10-10 12:57:08 +0200
commit7a47a4da08acf17efd95f5afc2aeb220ee31443c (patch)
tree508d7a98b49d5c561015280cd0f1dc20e91132b0 /src/virt-viewer-util.h
parent334169749ef482281e5da11c5cd79d4f196c4780 (diff)
downloadvirt-viewer-7a47a4da08acf17efd95f5afc2aeb220ee31443c.tar.gz
virt-viewer-7a47a4da08acf17efd95f5afc2aeb220ee31443c.tar.xz
virt-viewer-7a47a4da08acf17efd95f5afc2aeb220ee31443c.zip
Show VM chooser dialog when oVirt VM name is missing
When a user tries to connect to ovirt without specifying VM name (remote-viewer ovirt://ovirt.example.com) or with wrong VM name a list of available virtual machines is shown, and the user may pick a machine he wants to connect to.
Diffstat (limited to 'src/virt-viewer-util.h')
-rw-r--r--src/virt-viewer-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/virt-viewer-util.h b/src/virt-viewer-util.h
index 287f9bd..dda7b1d 100644
--- a/src/virt-viewer-util.h
+++ b/src/virt-viewer-util.h
@@ -30,6 +30,7 @@ extern gboolean doDebug;
enum {
VIRT_VIEWER_ERROR_FAILED,
+ VIRT_VIEWER_VM_CHOOSE_DIALOG_CANCELLED,
};
#define VIRT_VIEWER_ERROR virt_viewer_error_quark ()