[gedit-plugins] terminal: don't get 'word-chars' from org.gnome.Terminal.Legacy.Profile



commit f6439a01caddab9cf94a328cd228deeec90022fa
Author: Igor Gnatenko <i gnatenko brain gmail com>
Date:   Sun Jun 29 18:05:12 2014 +0400

    terminal: don't get 'word-chars' from org.gnome.Terminal.Legacy.Profile
    
    (gedit:4931): GLib-GIO-ERROR **: Settings schema 'org.gnome.Terminal.Legacy.Profile' does not contain a 
key named 'word-chars'
    Regression after 
https://git.gnome.org/browse/gnome-terminal/commit?id=e63cbcf64d2fde5bc4a8cb8ae0e3ef8c95a6d889
    
    Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732422
    Signed-off-by: Igor Gnatenko <i gnatenko brain gmail com>

 ....gnome.gedit.plugins.terminal.gschema.xml.in.in |   10 ----------
 plugins/terminal/terminal.py                       |    1 -
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/plugins/terminal/org.gnome.gedit.plugins.terminal.gschema.xml.in.in 
b/plugins/terminal/org.gnome.gedit.plugins.terminal.gschema.xml.in.in
index b589da0..8d62266 100644
--- a/plugins/terminal/org.gnome.gedit.plugins.terminal.gschema.xml.in.in
+++ b/plugins/terminal/org.gnome.gedit.plugins.terminal.gschema.xml.in.in
@@ -63,16 +63,6 @@
         If true, allow applications in the terminal to make text boldface.
       </_description>
     </key>
-    <key name="word-chars" type="s">
-      <default>'-A-Za-z0-9,./?%&amp;#:_'</default>
-      <_summary>Characters that are considered "part of a word"</_summary>
-      <_description>
-        When selecting text by word, sequences of these characters
-        are considered single words. Ranges can be given as
-        "A-Z". Literal hyphen (not expressing a range) should be
-        the first character given.
-      </_description>
-    </key>
     <key name="foreground-color" type="s">
       <default>'#000000'</default>
       <_summary>Default color of text in the terminal</_summary>
diff --git a/plugins/terminal/terminal.py b/plugins/terminal/terminal.py
index 62a95bd..4f4db10 100644
--- a/plugins/terminal/terminal.py
+++ b/plugins/terminal/terminal.py
@@ -145,7 +145,6 @@ class GeditTerminal(Vte.Terminal):
         self.set_allow_bold(self.profile_settings.get_boolean("allow-bold"))
         self.set_scroll_on_keystroke(self.profile_settings.get_boolean("scroll-on-keystroke"))
         self.set_scroll_on_output(self.profile_settings.get_boolean("scroll-on-output"))
-        self.set_word_chars(self.profile_settings.get_string("word-chars"))
         self.set_emulation(self.defaults['emulation'])
         self.set_visible_bell(self.defaults['visible_bell'])
 


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