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

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/models/pendingstore.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:
2
2
from gi.repository import GLib
3
3
from gi.repository import Gtk
4
4
from gi.repository import GdkPixbuf
5
 
from gi.repository import GObject
6
5
 
7
6
import logging
8
7
 
57
56
        self.backend = get_install_backend()
58
57
        self._signals = []
59
58
        # let the pulse helper run
60
 
        GObject.timeout_add(500, self._pulse_purchase_helper)
 
59
        GLib.timeout_add(500, self._pulse_purchase_helper)
61
60
 
62
61
    def clear(self):
63
62
        super(PendingStore, self).clear()
64
63
        for sig in self._signals:
65
 
            GObject.source_remove(sig)
 
64
            GLib.source_remove(sig)
66
65
            del sig
67
66
        self._signals = []
68
67