~mmcg069/software-center/availablepane-nav-tweaks

« back to all changes in this revision

Viewing changes to softwarecenter/enums.py

  • Committer: Matthew McGowan
  • Date: 2011-01-04 02:17:08 UTC
  • Revision ID: matthew.joseph.mcgowan@gmail.com-20110104021708-iku4yv3exycum7om
some search navigation fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
                  ]
65
65
                  
66
66
# define ID values for the various buttons found in the navigation bar
67
 
NAV_BUTTON_ID_CATEGORY = "category"
68
 
NAV_BUTTON_ID_LIST     = "list"
69
 
NAV_BUTTON_ID_SUBCAT   = "subcat"
70
 
NAV_BUTTON_ID_DETAILS  = "details"
71
 
NAV_BUTTON_ID_SEARCH   = "search"
 
67
(PAGE_LOBBY,
 
68
 PAGE_CATEGORY,
 
69
 PAGE_APPLIST,
 
70
 PAGE_APP_DETAILS,
 
71
 PAGE_PURCHASED) = range(5)
 
72
 
 
73
# define ID values for the various buttons found in the navigation bar
 
74
NAV_BUTTON_ID_LOBBY     = 0
 
75
NAV_BUTTON_ID_CAT       = 1
 
76
NAV_BUTTON_ID_SUBCAT    = 2
 
77
NAV_BUTTON_ID_SEARCH    = 3
 
78
NAV_BUTTON_ID_DETAILS   = 4
 
79
 
72
80
NAV_BUTTON_ID_PURCHASE = "purchase"
73
81
NAV_BUTTON_ID_PREV_PURCHASES = "prev-purchases"
74
82