From ad16a72f60ecc84524c22e8912df4eb8a48a2a42 Mon Sep 17 00:00:00 2001 From: kali Date: Tue, 6 Nov 2012 16:26:10 +0900 Subject: split wizard into separate files so we don't go nuts yet. --- src/leap/gui/constants.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/leap/gui/constants.py (limited to 'src/leap/gui/constants.py') diff --git a/src/leap/gui/constants.py b/src/leap/gui/constants.py new file mode 100644 index 00000000..c874cbc9 --- /dev/null +++ b/src/leap/gui/constants.py @@ -0,0 +1,8 @@ +APP_LOGO = ':/images/leap-color-small.png' + +# bare is the username portion of a JID +# full includes the "at" and some extra chars +# that can be allowed for fqdn + +BARE_USERNAME_REGEX = r"^[A-Za-z\d_]+$" +FULL_USERNAME_REGEX = r"^[A-Za-z\d_@.-]+$" -- cgit v1.2.3 From 8118056a244ca74d16380ad26a70e3da40e7e401 Mon Sep 17 00:00:00 2001 From: kali Date: Fri, 9 Nov 2012 11:21:40 +0900 Subject: connect page merged into regvalidation. Flow nearly working with fake provider, except for authentication. --- src/leap/gui/constants.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/leap/gui/constants.py') 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) -- cgit v1.2.3 From 0f9a1d4bc85def69dae0621eb7daaf5a0ee48004 Mon Sep 17 00:00:00 2001 From: kali Date: Fri, 1 Feb 2013 00:49:10 +0900 Subject: add watermark image to wizard --- src/leap/gui/constants.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/leap/gui/constants.py') diff --git a/src/leap/gui/constants.py b/src/leap/gui/constants.py index 277f3540..07077293 100644 --- a/src/leap/gui/constants.py +++ b/src/leap/gui/constants.py @@ -1,6 +1,7 @@ import time APP_LOGO = ':/images/leap-color-small.png' +APP_WATERMARK = ':/images/watermark.png' # bare is the username portion of a JID # full includes the "at" and some extra chars -- cgit v1.2.3