[gnome-builder] Changed colors regarding diff:added-lines and diff:changed-line and added gutter:added-line and gutt



commit 5946b9b7983a0191e984f3a61216ce7514974208
Author: Anwar Sadath <sadath anwar17 gmail com>
Date:   Sun Jan 24 08:37:42 2016 +0530

    Changed colors regarding diff:added-lines and diff:changed-line and added gutter:added-line and 
gutter:changed-line
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760962

 data/style-schemes/builder-dark.xml      |    5 ++++-
 data/style-schemes/builder.xml           |    7 +++++--
 libide/ide-line-change-gutter-renderer.c |    4 ++--
 3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/data/style-schemes/builder-dark.xml b/data/style-schemes/builder-dark.xml
index 9b3e42c..1ec6ff9 100644
--- a/data/style-schemes/builder-dark.xml
+++ b/data/style-schemes/builder-dark.xml
@@ -133,11 +133,14 @@
 
   <style name="diff:added-line"             foreground="chameleon2"/>
   <style name="diff:removed-line"           foreground="plum1"/>
-  <style name="diff:changed-line"           foreground="butter3"/>
+  <style name="diff:changed-line"           foreground="blue1"/>
   <style name="diff:diff-file"              foreground="chameleon1" bold="true"/>
   <style name="diff:location"               foreground="chameleon1"/>
   <style name="diff:special-case"           foreground="white" bold="true"/>
 
+  <style name="gutter:added-line"           foreground="chameleon2"/>
+  <style name="gutter:changed-line"         foreground="butter3"/>
+
   <style name="js:object"                   foreground="chameleon3" bold="true"/>
   <style name="js:constructors"             foreground="pink1"/>
   <style name="js:keyword"                  foreground="#2b85aa"/>
diff --git a/data/style-schemes/builder.xml b/data/style-schemes/builder.xml
index b854098..e234172 100644
--- a/data/style-schemes/builder.xml
+++ b/data/style-schemes/builder.xml
@@ -124,13 +124,16 @@
   <style name="def:warning"                 background="yellow1"/>
   <style name="def:special-constant"        foreground="purple1"/>
 
-  <style name="diff:added-line"             foreground="chameleon1"/>
+  <style name="diff:added-line"             foreground="chocolate1"/>
   <style name="diff:removed-line"           foreground="pink1"/>
-  <style name="diff:changed-line"           foreground="orange1"/>
+  <style name="diff:changed-line"           foreground="orange3"/>
   <style name="diff:diff-file"              use-style="def:type"/>
   <style name="diff:location"               use-style="def:statement"/>
   <style name="diff:special-case"           use-style="def:constant"/>
 
+  <style name="gutter:added-line"           foreground="chameleon1"/>
+  <style name="gutter:changed-line"         foreground="orange1"/>
+
   <style name="python:builtin-object"       foreground="og1"/>
   <style name="python:keyword"              foreground="green1" bold="false"/>
   <style name="python:module-handler"       foreground="purple1" bold="false"/>
diff --git a/libide/ide-line-change-gutter-renderer.c b/libide/ide-line-change-gutter-renderer.c
index a3d730e..24d2f03 100644
--- a/libide/ide-line-change-gutter-renderer.c
+++ b/libide/ide-line-change-gutter-renderer.c
@@ -99,7 +99,7 @@ connect_style_scheme (IdeLineChangeGutterRenderer *self)
     {
       GtkSourceStyle *style;
 
-      style = gtk_source_style_scheme_get_style (style_scheme, "diff:added-line");
+      style = gtk_source_style_scheme_get_style (style_scheme, "gutter:added-line");
 
       if (style)
         {
@@ -115,7 +115,7 @@ connect_style_scheme (IdeLineChangeGutterRenderer *self)
             self->rgba_added_set = gdk_rgba_parse (&self->rgba_added, foreground);
         }
 
-      style = gtk_source_style_scheme_get_style (style_scheme, "diff:changed-line");
+      style = gtk_source_style_scheme_get_style (style_scheme, "gutter:changed-line");
 
       if (style)
         {


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