[node-patches] Change in ovirt-node[master]: setup: Only show loading message for network page
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Wed Dec 12 16:02:19 UTC 2012
Fabian Deutsch has uploaded a new change for review.
Change subject: setup: Only show loading message for network page
......................................................................
setup: Only show loading message for network page
Previously the loading message was shown for all page transitions, now
it's only shown when the network page is opened.
rhbz#816900
Change-Id: Ibf1f1c26f3d3f10dfcc78a326fb135f6ecfddb08
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-config-setup.py
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/03/10003/1
diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py
index 53e9c0d..0949367 100755
--- a/scripts/ovirt-config-setup.py
+++ b/scripts/ovirt-config-setup.py
@@ -1957,11 +1957,11 @@
screen.setColor(customColorset(1), "black", "magenta")
screen.pushHelpLine(" ")
- # Draw loading msg on background:
- self._set_title()
- screen.drawRootText(15, 10, "Loading page ...")
- screen.refresh()
- time.sleep(0.2)
+ if self.__current_page == NETWORK_PAGE:
+ # Draw loading msg on background:
+ self._set_title()
+ screen.drawRootText(15, 10, "Loading page ...")
+ screen.refresh()
elements = self.get_elements_for_page(screen, self.__current_page)
--
To view, visit http://gerrit.ovirt.org/10003
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf1f1c26f3d3f10dfcc78a326fb135f6ecfddb08
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list