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

« back to all changes in this revision

Viewing changes to softwarecenter/config.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:
135
135
        None,
136
136
        "The preferred email of the user, automatically set via ubuntu-sso")
137
137
    # the review section
 
138
    reviews_username = property(
 
139
        lambda self: self._generic_get(
 
140
            "username", section="reviews", default=""),
 
141
        lambda self, value: self._generic_set(
 
142
            "username", value, section="reviews"),
 
143
        None,
 
144
        "The sso username")
138
145
    reviews_post_via_gwibber = property(
139
146
        lambda self: self._generic_getbool(
140
147
            "gwibber_send", section="reviews", default=False),
158
165
    def _app_window_size_set(self, size_tuple):
159
166
        size_as_string = "%s, %s" % (size_tuple[0], size_tuple[1])
160
167
        self._generic_set("size", size_as_string)
161
 
    app_window_size = property(_app_window_size_get, _app_window_size_set,
162
 
        None,
163
 
        "Defines the size of the application window as a tuple (x,y)")
 
168
    app_window_size = property(
 
169
        _app_window_size_get, _app_window_size_set,
 
170
        None, "Defines the size of the application window as a tuple (x,y)")
164
171
 
165
172
 
166
173
# one global instance of the config