[gitg/wip/commit] Rename tree_view_files to sidebar



commit 13d60931780b696ff6d9da392d74b96abb8d0133
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Wed Jul 3 18:49:11 2013 +0200

    Rename tree_view_files to sidebar

 gitg/commit/gitg-commit-paned.vala |    2 +-
 gitg/commit/gitg-commit.vala       |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gitg/commit/gitg-commit-paned.vala b/gitg/commit/gitg-commit-paned.vala
index e0aa98d..ab6c70c 100644
--- a/gitg/commit/gitg-commit-paned.vala
+++ b/gitg/commit/gitg-commit-paned.vala
@@ -29,7 +29,7 @@ class Paned : Gtk.Paned
        [GtkChild (name = "diff_view")]
        private Gitg.DiffView d_diff_view;
 
-       public Gitg.Sidebar tree_view_files
+       public Gitg.Sidebar sidebar
        {
                get { return d_tree_view_files; }
        }
diff --git a/gitg/commit/gitg-commit.vala b/gitg/commit/gitg-commit.vala
index e5e8429..8816e1c 100644
--- a/gitg/commit/gitg-commit.vala
+++ b/gitg/commit/gitg-commit.vala
@@ -180,7 +180,7 @@ namespace GitgCommit
 
                public void reload()
                {
-                       var model = d_main.tree_view_files.model;
+                       var model = d_main.sidebar.model;
 
                        var stage = application.repository.stage;
 
@@ -255,7 +255,7 @@ namespace GitgCommit
 
                                model.end_header();
 
-                               d_main.tree_view_files.expand_all();
+                               d_main.sidebar.expand_all();
                        });
                }
 


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