added 'jobs count' to lish; get_job_count to interface and jsonrpc

This commit is contained in:
Johannes Findeisen 2013-10-21 15:48:39 +02:00
commit b1f8d86fdb
4 changed files with 12 additions and 0 deletions

View file

@ -67,6 +67,10 @@ class LinspectorInterface(object):
job_list.append(d)
return job_list
def get_job_count(self):
count = len(self.jobs)
return count
def get_enabled_layouts(self):
self._config.get_enabled_layouts()