From 39172957623e0b91343e51e2694c78d9c3b1a5fe Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Aug 2012 12:41:46 +0300 Subject: Revert "Highlight gms in online list with color." This reverts commit 5804dfb0eb162fcd73e6ae7bac9232bb44dbf398. --- data/graphics/gui/colors.xml | 2 +- data/themes/blacknblack/colors.xml | 2 +- data/themes/blackwood/colors.xml | 2 +- data/themes/enchilado/colors.xml | 2 +- data/themes/mana/colors.xml | 2 +- data/themes/pink/colors.xml | 2 +- data/themes/wood/colors.xml | 2 +- src/gui/whoisonline.cpp | 12 ++---------- 8 files changed, 9 insertions(+), 17 deletions(-) diff --git a/data/graphics/gui/colors.xml b/data/graphics/gui/colors.xml index 62b6ad3ca..a4798c760 100644 --- a/data/graphics/gui/colors.xml +++ b/data/graphics/gui/colors.xml @@ -22,7 +22,7 @@ - + diff --git a/data/themes/blacknblack/colors.xml b/data/themes/blacknblack/colors.xml index 27face716..cda7bdfe4 100644 --- a/data/themes/blacknblack/colors.xml +++ b/data/themes/blacknblack/colors.xml @@ -22,7 +22,7 @@ - + diff --git a/data/themes/blackwood/colors.xml b/data/themes/blackwood/colors.xml index c5c15cdca..f21ae45b9 100644 --- a/data/themes/blackwood/colors.xml +++ b/data/themes/blackwood/colors.xml @@ -22,7 +22,7 @@ - + diff --git a/data/themes/enchilado/colors.xml b/data/themes/enchilado/colors.xml index 772c8cb44..bf3fd8f3e 100644 --- a/data/themes/enchilado/colors.xml +++ b/data/themes/enchilado/colors.xml @@ -22,7 +22,7 @@ - + diff --git a/data/themes/mana/colors.xml b/data/themes/mana/colors.xml index b38315a29..79821eff2 100644 --- a/data/themes/mana/colors.xml +++ b/data/themes/mana/colors.xml @@ -22,7 +22,7 @@ - + diff --git a/data/themes/pink/colors.xml b/data/themes/pink/colors.xml index 8b65b349c..478779f6e 100644 --- a/data/themes/pink/colors.xml +++ b/data/themes/pink/colors.xml @@ -22,7 +22,7 @@ - + diff --git a/data/themes/wood/colors.xml b/data/themes/wood/colors.xml index 9857cf6b9..4b3d14111 100644 --- a/data/themes/wood/colors.xml +++ b/data/themes/wood/colors.xml @@ -22,7 +22,7 @@ - + diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp index ec4691fca..503ce3758 100644 --- a/src/gui/whoisonline.cpp +++ b/src/gui/whoisonline.cpp @@ -375,13 +375,9 @@ void WhoIsOnline::loadWebList() } trim(nick); - bool isGM(false); pos = lineStr.find(gmText, 0); if (pos != std::string::npos) - { lineStr = lineStr.substr(pos + gmText.length()); - isGM = true; - } trim(lineStr); pos = lineStr.find("/", 0); @@ -425,10 +421,7 @@ void WhoIsOnline::loadWebList() { case PlayerRelation::NEUTRAL: default: - if (isGM) - player->setText("G"); - else - player->setText("0"); + player->setText("0"); neutral.push_back(player); break; @@ -776,9 +769,8 @@ void OnlinePlayer::setText(std::string color) // TRANSLATORS: this inactive status writed in player nick mText += _("I"); } - if (mStatus & Being::FLAG_GM && color == "0") - color = "G"; + color = "2"; } if (mVersion > 0) -- cgit v1.2.3-70-g09d2