[gedit-latex/doc-prefs] bibtex schema oops



commit 2cc4c74d151c35fb1c5534b01a917350c69bfd15
Author: John Stowers <john stowers gmail com>
Date:   Tue Aug 16 13:49:41 2011 +1200

    bibtex schema oops

 ...org.gnome.gedit.plugins.latex.gschema.xml.in.in |    3 +++
 latex/preferences/__init__.py                      |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.gedit.plugins.latex.gschema.xml.in.in b/data/org.gnome.gedit.plugins.latex.gschema.xml.in.in
index bce4fa8..b00eab9 100644
--- a/data/org.gnome.gedit.plugins.latex.gschema.xml.in.in
+++ b/data/org.gnome.gedit.plugins.latex.gschema.xml.in.in
@@ -4,6 +4,9 @@
       <default>500</default>
       <_summary>Maximum BibTeX Size</_summary>
     </key>
+    <key name="bibtex-outline-grouping" type="i">
+      <default>1</default>
+    </key>
     <key name="outline-connect-to-editor" type="b">
       <default>true</default>
       <_summary>Connect Outline to Editor</_summary>
diff --git a/latex/preferences/__init__.py b/latex/preferences/__init__.py
index d847843..fab7ae2 100644
--- a/latex/preferences/__init__.py
+++ b/latex/preferences/__init__.py
@@ -91,9 +91,11 @@ class Preferences(_Preferences):
         LOG.debug("Prefs singleton constructed")
 
     def get(self, key):
+        LOG.debug("Prefs get: %s" % key)
         return self._settings[key]
 
     def set(self, key, value):
+        LOG.debug("Prefs set: %s = %s" % (key,value))
         self._settings[key] = value
         self.emit("preferences-changed", str(key), str(value))
 



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