git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Use light orange for remote branches

From
PRPavel Roskin <proski@gnu.org>
Date
Feb 5, 2007, 03:14 UTC
Message-ID
<20070205031448.4013.34275.stgit@dv.roinet.com>
Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 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);
Message 1 of 1 in “Use light orange for remote branches”
  1. Use light orange for remote branchesPavel Roskin, Feb 5, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.