[gitg/wip/techlivezh/diff-progress-bar: 2/2] Remove 'Loading diff...' text



commit 86b4e737e7988dcba45621191502c8ce2db0c732
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Wed Dec 25 11:40:54 2013 +0800

    Remove 'Loading diff...' text
    
    Progress bar should be sufficient.

 libgitg/gitg-diff-view.vala    |    1 -
 libgitg/resources/diff-view.js |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libgitg/gitg-diff-view.vala b/libgitg/gitg-diff-view.vala
index 1db62c2..aeff8f4 100644
--- a/libgitg/gitg-diff-view.vala
+++ b/libgitg/gitg-diff-view.vala
@@ -88,7 +88,6 @@ namespace Gitg
 
                        strings.set_string_member("stage", _("stage"));
                        strings.set_string_member("unstage", _("unstage"));
-                       strings.set_string_member("loading_diff", _("Loading diff..."));
 
                        o.set_object_member("strings", strings);
 
diff --git a/libgitg/resources/diff-view.js b/libgitg/resources/diff-view.js
index efcb9c0..8d6fbf7 100644
--- a/libgitg/resources/diff-view.js
+++ b/libgitg/resources/diff-view.js
@@ -24,7 +24,6 @@ var settings = {
        strings: {
                stage: 'stage',
                unstage: 'unstage',
-               loading_diff: 'Loading diff...'
        },
 };
 
@@ -162,7 +161,6 @@ function update_diff(id, lsettings)
                        // Show the progress
                        content.html('\
                                <div class="loading">\
-                                       ' + settings.strings.loading_diff + '\
                                        <progress value="' + html_builder_tick + '"></progress>\
                                </div>\
                        ');


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