[gedit/zbrown/deteplification-src: 235/633] GeditDocument: fall back to 'tango' style scheme, not 'classic'




commit 2be7c801ab60a9aec1b93c8604b9b909b03b3b7b
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Mar 25 11:45:44 2020 +0100

    GeditDocument: fall back to 'tango' style scheme, not 'classic'
    
    To follow the same default value as in the GSettings schema.

 gedit/gedit-document.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index b1335ad9b..5c96d7b31 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -662,13 +662,13 @@ get_default_style_scheme (GSettings *editor_settings)
 
        if (def_style == NULL)
        {
-               g_warning ("Default style scheme '%s' cannot be found, falling back to 'classic' style scheme 
", scheme_id);
+               g_warning ("Default style scheme '%s' cannot be found, falling back to 'tango' style 
scheme.", scheme_id);
 
-               def_style = gtk_source_style_scheme_manager_get_scheme (manager, "classic");
+               def_style = gtk_source_style_scheme_manager_get_scheme (manager, "tango");
 
                if (def_style == NULL)
                {
-                       g_warning ("Style scheme 'classic' cannot be found, check your GtkSourceView 
installation.");
+                       g_warning ("Style scheme 'tango' cannot be found, check your GtkSourceView 
installation.");
                }
        }
 


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