~ubuntu-branches/ubuntu/raring/software-center/raring-proposed

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/views/appview.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2012-12-06 17:30:50 UTC
  • Revision ID: package-import@ubuntu.com-20121206173050-n7mxi5fzlsvtdh9l
Tags: 5.5.2
* lp:~mvo/software-center/fix-pygobject-deprecation-warnings:
  - fix deprecation warninings with the latest python-gi
* lp:~mvo/software-center/minor-logging-fixes:
  - drop some LOG.info() messages to LOG.debug() to spam the user
    less
* lp:~mvo/software-center/trivial-close-ui-tweak:
  - hide the main window immediately when closing down
* lp:~mvo/software-center/5.4-fix-save-person-to-config:
  - This branch ensures that the "username" is saved everytime
    that the ubuntu sso whoami call is done
* lp:~mvo/software-center/use-dpkg-builddeps:
  - use dpkg-checkbuilddeps to find test-dependencies
* lp:~mvo/software-center/update-sc-cmdline-flexibility:
  - update-software-center-agent: 
    + add --target-db-path commandline
  - update-software-center: 
    + add --app-install-desktop-dir and --target-db-path commandline
* lp:~mvo/software-center/raring-pep8:
  - fixes for new pep8

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        "application-activated": (GObject.SignalFlags.RUN_LAST,
43
43
                                  None,
44
44
                                  (GObject.TYPE_PYOBJECT, ),
45
 
                                 ),
 
45
                                  ),
46
46
        "application-selected": (GObject.SignalFlags.RUN_LAST,
47
47
                                  None,
48
48
                                  (GObject.TYPE_PYOBJECT, ),
49
49
                                 ),
50
 
        }
 
50
    }
51
51
 
52
52
    (INSTALLED_MODE, AVAILABLE_MODE, DIFF_MODE) = range(3)
53
53
 
54
54
    _SORT_METHOD_INDEX = (SortMethods.BY_ALPHABET,
55
55
                          SortMethods.BY_TOP_RATED,
56
56
                          SortMethods.BY_CATALOGED_TIME,
57
 
                          SortMethods.BY_SEARCH_RANKING,)
 
57
                          SortMethods.BY_SEARCH_RANKING,
 
58
                          )
58
59
 
59
60
    # indices that relate to the above tuple
60
61
    _SORT_BY_ALPHABET = 0