pida-patches / reenable-dbus-support

# HG changeset patch
# Parent 402342fcfc30bf2028feff9756e66c386d229f62
diff --git a/pida/core/actions.py b/pida/core/actions.py
--- a/pida/core/actions.py
+++ b/pida/core/actions.py
@@ -83,6 +83,7 @@ class ActionsConfig(OptionsConfig):
     name = '%s.keys.json'
     accelerator_group = accelerator_group
     global_accelerator_group = global_accelerator_group
+    dbus_path = 'actions'
 
     def create(self):
         """
diff --git a/pida/core/options.py b/pida/core/options.py
--- a/pida/core/options.py
+++ b/pida/core/options.py
@@ -26,6 +26,7 @@ from shutil import rmtree
 
 from .base import BaseConfig
 from .environment import is_safe_mode, killsettings, settings_dir
+from .pdbus import DbusOptionsManager
 # locale
 from pida.core.locale import Locale
 locale = Locale('core')
@@ -194,14 +195,16 @@ class ExtraOptionItem(object):
 
 manager = OptionsManager()
 
-class OptionsConfig(BaseConfig):
+class OptionsConfig(BaseConfig, DbusOptionsManager):
 
     #enable reuse for keyboard shortcuts that need different name
     name = '%s.json'
     name_extra = "%s_extra_%s.json"
+    dbus_path = 'options'
 
     def __init__(self, service, *args, **kwargs):
         BaseConfig.__init__(self, service, *args, **kwargs)
+        DbusOptionsManager.__init__(self, service)
 
 
     def unload(self):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.