~vcs-imports/gnome-desktop-testing/trunk

« back to all changes in this revision

Viewing changes to desktoptesting/gnome_constants.py

  • Committer: apulido
  • Date: 2009-04-01 10:57:19 UTC
  • Revision ID: vcs-imports@canonical.com-20090401105719-2lmgja8v59lwegoh
Moved contants to main classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
"""
2
 
This is the "gnome_constants" module.
3
 
 
4
 
The gnome_constants provides the "object map" to be used in gnome.py 
5
 
"""
6
 
 
7
 
TOP_PANEL = 'frmTopExpandedEdgePanel'
8
 
 
9
 
 
10
 
# GtkSudo Popup (prefix = SU)
11
 
SU_WINDOW     = "dlg0"
12
 
SU_TXT_PASS   = "txtPassword"
13
 
SU_BTN_OK     = "btnOK"
14
 
SU_BTN_CANCEL = "btnCancel"
15
 
 
16
 
# GEdit constants (prefix = GE)
17
 
GE_WINDOW     = "frm*gedit"
18
 
GE_TXT_FIELD  = "txt1"
19
 
GE_LAUNCHER   = "gedit"
20
 
GE_SAVE_DLG   = "dlgSave*"
21
 
GE_SAVE_DLG_TXT_NAME = "txtName"
22
 
GE_SAVE_DLG_BTN_SAVE = "btnSave"
23
 
GE_QUESTION_DLG = "dlgQuestion"
24
 
GE_QUESTION_DLG_BTN_SAVE = "btnSave"
25
 
GE_QUESTION_DLG_BTN_SAVE_AS = "btnSaveAs"
26
 
GE_QUESTION_DLG_BTN_CLOSE = "btnClosewithoutSaving"
27
 
GE_MNU_QUIT = "mnuQuit"
28
 
GE_MNU_CLOSE = "mnuClose"
29
 
GE_MNU_NEW = "mnuNew"
30
 
 
31
 
# Seahorse contants (prefix = SH)
32
 
SH_WINDOW       = "frmPasswordsandEncryptionKeys"
33
 
SH_LAUNCHER     = "seahorse"
34
 
SH_MNU_NEWKEY   = "mnuNew"
35
 
SH_NEWKEY_DLG   = "Create New ..."
36
 
SH_BTN_CONTINUE = "btnContinue"
37
 
SH_TYPE_PGP            = "PGP Key"
38
 
SH_NEWPGP_DLG          = "dlgCreateaPGPKey"
39
 
SH_DLG_NEWPGP_FULLNAME = "txtFullName"
40
 
SH_DLG_NEWPGP_EMAIL    = "txtEmailAddress"
41
 
SH_DLG_NEWPGP_COMMENT  = "txtComment"
42
 
SH_BTN_NEWPGP_CREATE   = "btnCreate"
43
 
SH_DLG_NEWKEY_PASS     = "dlgPassphrasefor*"
44
 
SH_BTN_PASS_OK         = "btnOK"
45
 
SH_DLG_GENERATING_KEY  = "dlgGeneratingkey"
46
 
SH_DLG_CREATING_SSH    = "dlgCreatingSecureShellKey"
47
 
SH_TYPE_SSH            = "Secure Shell Key"
48
 
SH_NEWSSH_DLG          = "New Secure Shell Key" 
49
 
SH_DLG_NEWSSH_DESC     = "txtKeyDescription"
50
 
SH_BTN_NEWSSH_CREATE_AND_SETUP = "Create and Set Up"
51
 
SH_DLG_SET_UP          = "Set Up Computer for SSH Connection"
52
 
SH_TXT_SET_UP_COMPUTER = "txtThehostnameoraddressoftheserver."
53
 
SH_TXT_SET_UP_LOGIN    = "txtLoginName"
54
 
SH_BTN_SET_UP          = "btnSetUp"
55
 
SH_BTN_NEWSSH_CREATE   = "Just Create Key"
56
 
SH_TAB_PERSONAL_KEYS   = "My Personal Keys"
57
 
SH_TAB_LIST            = "ptl0"
58