From 43512302f7cca4b31a34767b7d60fed5df40aaba Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Wed, 9 Sep 2020 15:14:05 -0400 Subject: vmwindow: Cleanup the interaction with vmmConsolePages - Add ui/console.ui for console-pages and below - Add move auth and graphics unavailable pages to a new subnotebook - Move all the menubar handling up into vmwindow - Clarify the control flow as much as I can come up with Signed-off-by: Cole Robinson --- ui/console.ui | 312 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ui/vmwindow.ui | 281 +-------------------------------------------------- 2 files changed, 315 insertions(+), 278 deletions(-) create mode 100644 ui/console.ui (limited to 'ui') diff --git a/ui/console.ui b/ui/console.ui new file mode 100644 index 00000000..baf4f429 --- /dev/null +++ b/ui/console.ui @@ -0,0 +1,312 @@ + + + + + + True + True + False + + + + True + False + center + center + <b>The console is currently unavailable</b> + True + center + True + True + 60 + 60 + + + True + + + + + True + False + Unavailable + + + False + + + + + True + True + + + serial-pages + + + + + 1 + + + + + True + False + Serial + + + 1 + False + + + + + True + True + False + + + True + False + + + True + True + + + True + False + queue + none + + + + + + console-gfx-viewport + + + + + + + -1 + + + + + + + True + False + Display + + + False + + + + + True + False + center + True + 6 + 6 + 6 + + + True + False + start + _Password: + True + console-auth-password + + + 0 + 1 + + + + + True + False + start + _Username: + True + console-auth-username + + + 0 + 0 + + + + + True + True + True + + + + 1 + 0 + + + + + True + True + False + + + + 1 + 1 + + + + + _Login + True + True + False + image70 + True + + + + 2 + 1 + + + + + _Save this password in your keyring + True + True + False + Check to save password, uncheck to forget password. + start + True + True + + + 1 + 2 + + + + + True + False + + + + + + 2 + 0 + + + + + True + False + + + + + + 2 + 2 + + + + + True + False + + + + + + 0 + 2 + + + + + 1 + + + + + True + False + Auth + + + 1 + False + + + + + True + False + center + center + <b>The console is currently unavailable</b> + True + center + True + True + 60 + 60 + + + 2 + + + + + True + False + Unavailable + + + 2 + False + + + + + 2 + + + + + True + False + Graphics + + + 2 + False + + + + + console-pages + + + + + True + False + gtk-apply + + diff --git a/ui/vmwindow.ui b/ui/vmwindow.ui index 9a6e6418..a88cde12 100644 --- a/ui/vmwindow.ui +++ b/ui/vmwindow.ui @@ -3,11 +3,6 @@ - - True - False - gtk-apply - False Virtual Machine @@ -498,281 +493,11 @@ - + True - True - False - - - - True - False - center - center - <b>The console is currently unavailable</b> - True - center - True - True - 60 - 60 - - - True - - - - - True - False - Unavailable - - - False - - - - - True - False - 3 - 3 - 3 - 3 - 3 - - - True - False - start - _Password: - True - console-auth-password - - - 1 - 2 - GTK_FILL - - - - - - True - True - False - - - - 1 - 2 - 1 - 2 - - - - - - _Save this password in your keyring - True - True - False - Check to save password, uncheck to forget password. - start - True - True - - - 1 - 2 - 2 - 3 - GTK_FILL - - - - - - True - False - start - _Username: - True - console-auth-username - - - GTK_FILL - - - - - - True - True - - - - 1 - 2 - - - - - - _Login - True - True - False - image70 - True - - - - 2 - 3 - 1 - 2 - GTK_FILL - - - - - - True - False - - - - - - 2 - 3 - GTK_FILL - GTK_FILL - - - - - True - False - - - - - - 2 - 3 - GTK_FILL - GTK_FILL - - - - - True - False - - - - - - 2 - 3 - 2 - 3 - GTK_FILL - GTK_FILL - - - - - 1 - - - - - True - False - Auth - - - 1 - False - - - - - True - True - - - serial-pages - - - - - 2 - - - - - True - False - Serial - - - 2 - False - - + False - - True - False - - - True - True - - - True - False - queue - none - - - - - - console-gfx-viewport - - - - - - - -1 - - - - - 3 - - - - - True - False - Graphics - - - 3 - False - - - - - console-pages - + -- cgit v1.2.1