~nmu-sscheel/gtg/rework-task-editor

« back to all changes in this revision

Viewing changes to GTG/gtk/dbuswrapper.py

  • Committer: Luca Invernizzi
  • Date: 2010-09-08 14:15:11 UTC
  • mfrom: (825.1.227 liblarch_rebased)
  • Revision ID: invernizzi.l@gmail.com-20100908141511-vsctgw74dj1xp0wi
Liblarch is now in trunk.
Note that performances are still bad and it misses DnD and multi-select
support, but its state is better that the current trunk.
Backends are added in this merge too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
         filters_bank documentation for a list of stock filters.
114
114
        @return: List of ids
115
115
        """
116
 
        tree = self.req.get_custom_tasks_tree()
 
116
        tree = self.req.get_tasks_tree()
117
117
        for filter in filters:
118
118
            if filter[0] == '!':
119
119
                tree.apply_filter(filter[1:], parameters={'negate': 1} )
120
120
            else:
121
121
                tree.apply_filter(filter)
122
 
        return tree.get_all_keys()
 
122
        return tree.get_all_nodes()
123
123
 
124
124
    @dbus.service.method(BUSNAME, in_signature="as")
125
125
    def get_tasks_filtered(self, filters):