[gnome-builder/wip/chergert/perspective] libide: set IdeBuffer:highlight-diagnostics by default



commit 4d3aa13629a782ffc301ed799ee4962914422a16
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 6d58673..5347d7a 100644
--- a/libide/ide-buffer.c
+++ b/libide/ide-buffer.c
@@ -1191,7 +1191,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] =
@@ -1287,6 +1287,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]