~ubuntu-branches/ubuntu/quantal/zeitgeist/quantal

« back to all changes in this revision

Viewing changes to _zeitgeist/engine/remote.py

  • Committer: Bazaar Package Importer
  • Author(s): Siegfried-Angel Gevatter Pujals
  • Date: 2011-01-22 14:15:38 UTC
  • mfrom: (1.1.7 upstream) (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110122141538-8poh0211pn8uv1xc
Tags: 0.7-1
* New upstream release. Some of the changes are:
   - Various performance improvements (speed, reduced I/O, etc).
   - Enhancements to the extensions system (eg. feature to ask which
     extensions are active).
   - Various bug fixes (eg. fixed find_event_for_template Python API method).
   - Added new mimetype mappings.
* Updated debian/copyright and debian/zeitgeist-core.install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#
9
9
# This program is free software: you can redistribute it and/or modify
10
10
# it under the terms of the GNU Lesser General Public License as published by
11
 
# the Free Software Foundation, either version 3 of the License, or
 
11
# the Free Software Foundation, either version 2.1 of the License, or
12
12
# (at your option) any later version.
13
13
#
14
14
# This program is distributed in the hope that it will be useful,
42
42
        :const:`org.gnome.zeitgeist.Engine`.
43
43
        """
44
44
        _dbus_properties = {
45
 
                "version": property(lambda self: (0, 5, 2)),
 
45
                "version": property(lambda self: (0, 7, 0)),
 
46
                "extensions": property(lambda self: list(self._engine.extensions.iter_names())),
46
47
        }
47
48
        
48
49
        # Initialization
348
349
                self._engine.close()
349
350
                if self._mainloop:
350
351
                        self._mainloop.quit()
 
352
                # remove the interface from all busses (in our case from the session bus)
 
353
                self.remove_from_connection()
351
354
        
352
355
        # Properties interface
353
356