[gnome-tweak-tool] fix the uninstall dbus interface for gnome-shell versions



commit 3fbb53dbc2622827a4fa0b51f89801a7e0c3b0b9
Author: John Stowers <john stowers gmail com>
Date:   Sun Mar 24 21:39:26 2013 +0100

    fix the uninstall dbus interface for gnome-shell versions

 gtweak/gshellwrapper.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtweak/gshellwrapper.py b/gtweak/gshellwrapper.py
index 5d33f25..6999596 100644
--- a/gtweak/gshellwrapper.py
+++ b/gtweak/gshellwrapper.py
@@ -114,7 +114,7 @@ class GnomeShell:
         self._execute_js('const Main = imports.ui.main; Main.loadTheme();')
 
     def uninstall_extension(self, uuid):
-        return self._proxy.proxy_extensions.UninstallExtension('(s)', uuid)
+        pass
 
     @property
     def mode(self):
@@ -154,13 +154,16 @@ class GnomeShell34(GnomeShell32):
         logging.warning("Reloading Theme Not Supported")
 
     def uninstall_extension(self, uuid):
-        return self._proxy.proxy_extensions.UninstallExtension('(s)', uuid)
+        return self._proxy.proxy.UninstallExtension('(s)', uuid)
 
 class GnomeShell36(GnomeShell34):
 
     def list_extensions(self):
         return self._proxy.proxy_extensions.ListExtensions()
 
+    def uninstall_extension(self, uuid):
+        return self._proxy.proxy_extensions.UninstallExtension('(s)', uuid)
+
 @gtweak.utils.singleton
 class GnomeShellFactory:
     def __init__(self):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]