~diegosarmentero/ubuntu-sso-client/930720

« back to all changes in this revision

Viewing changes to ubuntu_sso/qt/main.py

- Refactor the pages and controller in sso (LP: #929686).

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import sys
21
21
 
22
22
from PyQt4 import QtGui
23
 
from ubuntu_sso.qt.gui import UbuntuSSOClientGUI
 
23
from ubuntu_sso.qt.ubuntu_sso_wizard import UbuntuSSOClientGUI
24
24
 
25
25
 
26
26
def parse_args():
32
32
        help='a link to be used as the ping url (to notify about new tokens)')
33
33
    parser.add_argument('--tc_url', default='',
34
34
        help='a link to be used as Terms & Conditions url')
 
35
    parser.add_argument('--policy_url', default='',
 
36
        help='a link to be used as Privacy Policy url')
35
37
    parser.add_argument('--help_text', default='',
36
38
        help='extra text that will be shown below the headers')
37
39
    parser.add_argument('--login_only', action='store_true', default=False,