[gnome-builder/gnome-builder-3-30] style-scheme: install style-scheme for legacy gtksourceview-3.0 apps



commit 3cee45fc5be8da780c179171d89395a555812830
Author: Christian Hergert <chergert redhat com>
Date:   Mon Oct 1 13:21:57 2018 -0700

    style-scheme: install style-scheme for legacy gtksourceview-3.0 apps
    
    This allows older applications to use the style-scheme, such as gedit.
    
    Fixes #652

 data/style-schemes/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/data/style-schemes/meson.build b/data/style-schemes/meson.build
index 128a42ade..786c508e0 100644
--- a/data/style-schemes/meson.build
+++ b/data/style-schemes/meson.build
@@ -2,3 +2,10 @@ install_data([
   'builder.style-scheme.xml',
   'builder-dark.style-scheme.xml',
 ], install_dir: join_paths(get_option('datadir'), 'gtksourceview-4/styles'))
+
+# For applications using legacy gtksourceview-3.0, like gedit up until
+# recently, install the style-schemes for them too.
+install_data([
+  'builder.style-scheme.xml',
+  'builder-dark.style-scheme.xml',
+], install_dir: join_paths(get_option('datadir'), 'gtksourceview-3.0/styles'))


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