[node-patches] Change in ovirt-node[master]: setup: Display loading message on all translations

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Nov 12 14:24:57 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: setup: Display loading message on all translations
......................................................................

setup: Display loading message on all translations

Previously the loading message was just shown for non-plugin pages, now
this message is shown on all page transistions. Additionally the sleep
time was decreased to be able to switch faster between pages.

rhbz#816900

Change-Id: I86d8b40ea287838ab169783cccb8e825f0d0a603
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/88/9188/1

diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py
index ba6d29e..2b5a732 100755
--- a/scripts/ovirt-config-setup.py
+++ b/scripts/ovirt-config-setup.py
@@ -1940,11 +1940,11 @@
                 screen.setColor(customColorset(1), "black", "magenta")
             screen.pushHelpLine(" ")
 
-            if self.__current_page < FIRST_PLUGIN_PAGE:
-                self._set_title()
-                screen.drawRootText(15, 10, "Loading page ...")
-                screen.refresh()
-                time.sleep(0.3)
+            # Draw loading msg on background:
+            self._set_title()
+            screen.drawRootText(15, 10, "Loading page ...")
+            screen.refresh()
+            time.sleep(0.2)
 
             elements = self.get_elements_for_page(screen, self.__current_page)
 


--
To view, visit http://gerrit.ovirt.org/9188
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86d8b40ea287838ab169783cccb8e825f0d0a603
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