summaryrefslogtreecommitdiff
path: root/src/leap/gui/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/gui/constants.py')
-rw-r--r--src/leap/gui/constants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/gui/constants.py b/src/leap/gui/constants.py
index c874cbc9..277f3540 100644
--- a/src/leap/gui/constants.py
+++ b/src/leap/gui/constants.py
@@ -1,3 +1,5 @@
+import time
+
APP_LOGO = ':/images/leap-color-small.png'
# bare is the username portion of a JID
@@ -6,3 +8,6 @@ APP_LOGO = ':/images/leap-color-small.png'
BARE_USERNAME_REGEX = r"^[A-Za-z\d_]+$"
FULL_USERNAME_REGEX = r"^[A-Za-z\d_@.-]+$"
+
+GUI_PAUSE_FOR_USER_SECONDS = 1
+pause_for_user = lambda: time.sleep(GUI_PAUSE_FOR_USER_SECONDS)