DORMANTno replies

[PATCH] Use light orange for remote branches

From: Pavel Roskin <hidden>
Date: 2016-06-15 22:42:52
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Pavel Roskin <redacted>
---

 src/common.h          |    1 +
 src/listview.cpp      |    2 +-
 src/namespace_def.cpp |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/common.h b/src/common.h
index 500545f..6799fe6 100644
--- a/src/common.h
+++ b/src/common.h
@@ -161,6 +161,7 @@ namespace QGit {
 	extern const QColor BROWN;
 	extern const QColor ORANGE;
 	extern const QColor DARK_ORANGE;
+	extern const QColor LIGHT_ORANGE;
 	extern const QColor LIGHT_BLUE;
 	extern const QColor PURPLE;
 	extern const QColor DARK_GREEN;
diff --git a/src/listview.cpp b/src/listview.cpp
index 80043e9..ef0bfe4 100644
--- a/src/listview.cpp
+++ b/src/listview.cpp
@@ -636,7 +636,7 @@ void ListViewItem::paintTagMarks(int col) {
 		addBranchPixmap(&newPm);
 
 	if (rt & Git::RMT_BRANCH)
-		addRefPixmap(&newPm, git->getRefName(_sha, Git::RMT_BRANCH), ORANGE);
+		addRefPixmap(&newPm, git->getRefName(_sha, Git::RMT_BRANCH), LIGHT_ORANGE);
 
 	if (rt & Git::TAG)
 		addRefPixmap(&newPm, git->getRefName(_sha, Git::TAG), Qt::yellow);
diff --git a/src/namespace_def.cpp b/src/namespace_def.cpp
index ffc6b32..a5049ba 100644
--- a/src/namespace_def.cpp
+++ b/src/namespace_def.cpp
@@ -22,6 +22,7 @@ const QString QGit::GIT_VERSION = "1.4.4";
 const QColor QGit::BROWN       = QColor(150, 75, 0);
 const QColor QGit::ORANGE      = QColor(255, 160, 50);
 const QColor QGit::DARK_ORANGE = QColor(216, 144, 0);
+const QColor QGit::LIGHT_ORANGE = QColor(255, 221, 170);
 const QColor QGit::LIGHT_BLUE  = QColor(85, 255, 255);
 const QColor QGit::PURPLE      = QColor(221, 221, 255);
 const QColor QGit::DARK_GREEN  = QColor(0, 205, 0);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help