[gitg] Use 'hunk_stats' as class name



commit 64c30d5f196f27b70a7dad640b733f9e43508131
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Wed Dec 18 07:08:57 2013 +0800

    Use 'hunk_stats' as class name
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720886

 libgitg/resources/diff-view-html-builder.js |    2 +-
 libgitg/resources/diff-view.css             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgitg/resources/diff-view-html-builder.js b/libgitg/resources/diff-view-html-builder.js
index db88885..0f05ebb 100644
--- a/libgitg/resources/diff-view-html-builder.js
+++ b/libgitg/resources/diff-view-html-builder.js
@@ -19,7 +19,7 @@ function diff_file(file, lnstate, data)
                var cold = h.range.old.start;
                var cnew = h.range.new.start;
 
-               var hunk_header = '<span class="hunk_header">@@ -' + h.range.old.start + ',' + 
h.range.old.lines + ' +' + h.range.new.start + ',' + h.range.new.lines + ' @@</span>';
+               var hunk_header = '<span class="hunk_stats">@@ -' + h.range.old.start + ',' + 
h.range.old.lines + ' +' + h.range.new.start + ',' + h.range.new.lines + ' @@</span>';
 
                if (data.settings.staged || data.settings.unstaged)
                {
diff --git a/libgitg/resources/diff-view.css b/libgitg/resources/diff-view.css
index 34ad4dc..782de1b 100644
--- a/libgitg/resources/diff-view.css
+++ b/libgitg/resources/diff-view.css
@@ -239,7 +239,7 @@ span.unstage {
   background-color: #ffdddd;
 }
 
-span.hunk_header, span.file_path {
+span.hunk_stats, span.file_path {
   display: inline-block;
   vertical-align: middle;
 }


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