Re: [PATCH 1/1] ui/notebook.py:fix Gtk-WARNING Theme parsing error



Thanks for the patch, but unfortunately this is invalid syntax on GTK+
3.18 and earlier, which causes much more serious problems. If you want
to get rid of that warning, the CSS there will have to be templated
based on different GTK+ versions.

cheers,
Kai

On 13 July 2016 at 01:48, Phillip Sz <phillip szelat gmail com> wrote:
"gtk-key-bindings" changed to "-gtk-key-bindings"
---

 meld/ui/notebook.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meld/ui/notebook.py b/meld/ui/notebook.py
index 1624c7f..2aa04e9 100644
--- a/meld/ui/notebook.py
+++ b/meld/ui/notebook.py
@@ -36,7 +36,7 @@ class MeldNotebook(Gtk.Notebook):

     css = b"""
         @binding-set TabSwitchBindings {}
-        MeldNotebook { gtk-key-bindings: TabSwitchBindings; }
+        MeldNotebook { -gtk-key-bindings: TabSwitchBindings; }
     """

     ui = """
--
2.9.0

_______________________________________________
meld-list mailing list
meld-list gnome org
https://mail.gnome.org/mailman/listinfo/meld-list


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