[gnome-builder] libide: set IdeBuffer:highlight-diagnostics by default



commit 4ca5dfcbe74132c823fd853026cbbd778c9c97cb
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 17 01:28:44 2015 -0800

    libide: set IdeBuffer:highlight-diagnostics by default
    
    We might want to add a GSetting for this, but not terribly important for
    the time being.

 libide/ide-buffer.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-buffer.c b/libide/ide-buffer.c
index fea0b8b..4db9d58 100644
--- a/libide/ide-buffer.c
+++ b/libide/ide-buffer.c
@@ -1203,7 +1203,7 @@ ide_buffer_class_init (IdeBufferClass *klass)
     g_param_spec_boolean ("highlight-diagnostics",
                           "Highlight Diagnostics",
                           "If diagnostic warnings and errors should be highlighted.",
-                          FALSE,
+                          TRUE,
                           (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   properties [PROP_READ_ONLY] =
@@ -1299,6 +1299,8 @@ ide_buffer_init (IdeBuffer *self)
 
   IDE_ENTRY;
 
+  priv->highlight_diagnostics = TRUE;
+
   priv->file_signals = egg_signal_group_new (IDE_TYPE_FILE);
   egg_signal_group_connect_object (priv->file_signals,
                                    "notify::language",


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