Print this page
*** NO COMMENTS ***

Split Close
Expand all
Collapse all
          --- old/src/gui/modules/enumerations.py
          +++ new/src/gui/modules/enumerations.py
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  MARK_COLUMN,
  33   33  STATUS_ICON_COLUMN,
  34   34  ICON_COLUMN,
  35   35  NAME_COLUMN,
  36   36  INSTALLED_VERSION_COLUMN,
  37   37  INSTALLED_OBJECT_COLUMN, # This will speed up a little bit
  38   38  LATEST_AVAILABLE_COLUMN,
  39   39  RATING_COLUMN,           # Not in revision 1
  40   40  DESCRIPTION_COLUMN,
  41   41  PACKAGE_OBJECT_COLUMN,   # pkg.client.fmri.py module
  42      -IMAGE_OBJECT_COLUMN,     # This takes not much memory, so we can use that :)
  43   42  IS_VISIBLE_COLUMN,       # True indicates that the package is visible in ui
  44   43  CATEGORY_LIST_OBJECT     # list of categories to which package belongs
  45      -) = range(13)
       44 +) = range(12)
  46   45  
  47   46  #Categories
  48   47  (
  49   48  CATEGORY_ID,
  50   49  CATEGORY_NAME,
  51   50  CATEGORY_DESCRIPTION,
  52   51  CATEGORY_ICON,
  53   52  CATEGORY_VISIBLE,
  54   53  SECTION_LIST_OBJECT,     #List with the sections to which category belongs 
  55   54  ) = range(6)
↓ open down ↓ 8 lines elided ↑ open up ↑
  64   63  (
  65   64  FILTER_ID,
  66   65  FILTER_NAME,
  67   66  ) = range(2)
  68   67  
  69   68  #Repositories switch
  70   69  (
  71   70  REPOSITORY_ID,
  72   71  REPOSITORY_NAME,
  73   72  ) = range(2)
       73 +
       74 +(
       75 +INSTALL_UPDATE,
       76 +REMOVE,
       77 +IMAGE_UPDATE
       78 +) = range(3)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX