]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
respect theme foreground color 162/head
authorVlad Glagolev <vaygr@users.noreply.github.com>
Thu, 27 Oct 2016 15:45:30 +0000 (11:45 -0400)
committerVlad Glagolev <vaygr@users.noreply.github.com>
Thu, 27 Oct 2016 15:45:30 +0000 (11:45 -0400)
gtk.c

diff --git a/gtk.c b/gtk.c
index 41cf5969e19ddf237cd3c01e7f5866f4038d499c..6a37a9a3b74c49e4b7acbc3d0adf8d8688101142 100644 (file)
--- a/gtk.c
+++ b/gtk.c
@@ -495,7 +495,7 @@ static void update_tree_row(struct mtr_ctl *ctl, int row, GtkTreeIter *iter)
     COL_WORST, net_worst(row)/1000,
     COL_STDEV, (float)(net_stdev(row)/1000.0),
     
-    COL_COLOR, net_up(row) ? "black" : "red",
+    COL_COLOR, net_up(row) ? NULL : "red",
 
     -1);
 #ifdef HAVE_IPINFO