[gedit] Use the right schema file and use GObject.Object for the property.



commit aa3078046d4d6ab414d91fce890a08b2bfe049da
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Aug 4 00:26:51 2010 +0200

    Use the right schema file and use GObject.Object for the property.

 plugins/pythonconsole/pythonconsole/__init__.py |    2 +-
 plugins/pythonconsole/pythonconsole/console.py  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/pythonconsole/pythonconsole/__init__.py b/plugins/pythonconsole/pythonconsole/__init__.py
index ae93757..a2d5b88 100644
--- a/plugins/pythonconsole/pythonconsole/__init__.py
+++ b/plugins/pythonconsole/pythonconsole/__init__.py
@@ -34,7 +34,7 @@ PYTHON_ICON = 'gnome-mime-text-x-python'
 class PythonConsolePlugin(GObject.Object, Gedit.WindowActivatable, PeasUI.Configurable):
     __gtype_name__ = "PythonConsolePlugin"
 
-    window = GObject.property(type=Gedit.Window)
+    window = GObject.property(type=GObject.Object)
 
     def __init__(self):
         GObject.Object.__init__(self)
diff --git a/plugins/pythonconsole/pythonconsole/console.py b/plugins/pythonconsole/pythonconsole/console.py
index 5e852b0..317b7f3 100755
--- a/plugins/pythonconsole/pythonconsole/console.py
+++ b/plugins/pythonconsole/pythonconsole/console.py
@@ -42,7 +42,7 @@ class PythonConsole(Gtk.ScrolledWindow):
     DEFAULT_FONT = "Monospace 10"
 
     CONSOLE_KEY_BASE = 'org.gnome.gedit.plugins.pythonconsole'
-    SETTINGS_INTERFACE_DIR = "org.gnome.Desktop.Interface"
+    SETTINGS_INTERFACE_DIR = "org.gnome.desktop.interface"
     SETTINGS_PROFILE_DIR = "org.gnome.GnomeTerminal.profiles.Default"
 
     CONSOLE_KEY_COMMAND_COLOR = 'command-color'



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