[gitg] Locate all the properties together



commit 75f04c9f174e91c5b7bd3963ac24fbeaff018e2d
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Mon Jun 3 11:34:45 2013 +0800

    Locate all the properties together

 plugins/history/gitg-history-navigation.vala |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/plugins/history/gitg-history-navigation.vala b/plugins/history/gitg-history-navigation.vala
index 1911f1d..8f8a8ef 100644
--- a/plugins/history/gitg-history-navigation.vala
+++ b/plugins/history/gitg-history-navigation.vala
@@ -91,6 +91,11 @@ namespace GitgHistory
                        populate(d_repository);
                }
 
+               public List<Gitg.Ref> all
+               {
+                       get { return d_all; }
+               }
+
                [Notify]
                public Gitg.Repository repository
                {
@@ -107,6 +112,11 @@ namespace GitgHistory
                        set { d_selected_iter = value; }
                }
 
+               public bool show_expanders
+               {
+                       get { return false; }
+               }
+
                private static int sort_refs(Gitg.Ref a, Gitg.Ref b)
                {
                        return a.parsed_name.shortname.ascii_casecmp(b.parsed_name.shortname);
@@ -270,16 +280,6 @@ namespace GitgHistory
                        end_section();
                }
 
-               public List<Gitg.Ref> all
-               {
-                       get { return d_all; }
-               }
-
-               public bool show_expanders
-               {
-                       get { return false; }
-               }
-
                private new void append(string text,
                                        string? name,
                                        string? icon_name,


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