[gitg] List 'All' as top most in history navigation



commit d881e36febe15ca68a2e80a78754f721674efa9b
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Tue Oct 16 21:23:38 2012 +0200

    List 'All' as top most in history navigation

 plugins/history/gitg-history-navigation.vala |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/plugins/history/gitg-history-navigation.vala b/plugins/history/gitg-history-navigation.vala
index 012f6e2..1897662 100644
--- a/plugins/history/gitg-history-navigation.vala
+++ b/plugins/history/gitg-history-navigation.vala
@@ -115,6 +115,15 @@ namespace GitgHistory
 				}
 			} catch {}
 
+			if (CommandLine.all)
+			{
+				model.append_default(_("All commits"), null, (nc) => ref_activated(null));
+			}
+			else
+			{
+				model.append(_("All commits"), null, (nc) => ref_activated(null));
+			}
+
 			// Branches
 			model.begin_header(_("Branches"), null);
 
@@ -148,17 +157,6 @@ namespace GitgHistory
 				}
 			}
 
-			model.separator();
-
-			if (CommandLine.all)
-			{
-				model.append_default(_("All"), null, (nc) => ref_activated(null));
-			}
-			else
-			{
-				model.append(_("All"), null, (nc) => ref_activated(null));
-			}
-
 			model.end_header();
 
 			// Remotes



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