summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-09 12:41:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-09 12:41:46 +0300
commit39172957623e0b91343e51e2694c78d9c3b1a5fe (patch)
tree4a9a3e2db39cc87b64e22dc9f7e9d50a35f3df33
parent5804dfb0eb162fcd73e6ae7bac9232bb44dbf398 (diff)
downloadmanaverse-39172957623e0b91343e51e2694c78d9c3b1a5fe.tar.gz
manaverse-39172957623e0b91343e51e2694c78d9c3b1a5fe.tar.bz2
manaverse-39172957623e0b91343e51e2694c78d9c3b1a5fe.tar.xz
manaverse-39172957623e0b91343e51e2694c78d9c3b1a5fe.zip
Revert "Highlight gms in online list with color."
This reverts commit 5804dfb0eb162fcd73e6ae7bac9232bb44dbf398.
-rw-r--r--data/graphics/gui/colors.xml2
-rw-r--r--data/themes/blacknblack/colors.xml2
-rw-r--r--data/themes/blackwood/colors.xml2
-rw-r--r--data/themes/enchilado/colors.xml2
-rw-r--r--data/themes/mana/colors.xml2
-rw-r--r--data/themes/pink/colors.xml2
-rw-r--r--data/themes/wood/colors.xml2
-rw-r--r--src/gui/whoisonline.cpp12
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 @@
<color id="ITEM_EQUIPPED" color="#000091" />
<color id="ITEM_NOT_EQUIPPED" color="#000000" />
<color id="CHAT" color="#000000" />
- <color id="GM" color="#00c000" />
+ <color id="GM" color="#ff0000" />
<color id="PLAYER" color="#003000" />
<color id="WHISPER" color="#0000ff" />
<color id="WHISPER_OFFLINE" color="#000050" />
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 @@
<color id="ITEM_EQUIPPED" color="#ff00f1" />
<color id="ITEM_NOT_EQUIPPED" color="#ffffff" />
<color id="CHAT" color="#ffffff" />
- <color id="GM" color="#00ff00" />
+ <color id="GM" color="#ffff00" />
<color id="PLAYER" color="#ffffff" />
<color id="WHISPER" color="#55ffff" />
<color id="WHISPER_OFFLINE" color="#ff5044" />
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 @@
<color id="ITEM_EQUIPPED" color="#000091" />
<color id="ITEM_NOT_EQUIPPED" color="#000000" />
<color id="CHAT" color="#744c04" />
- <color id="GM" color="#00ff00" />
+ <color id="GM" color="#ff0000" />
<color id="PLAYER" color="#00ff00" />
<color id="WHISPER" color="#0000ff" />
<color id="WHISPER_OFFLINE" color="#0000e0" />
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 @@
<color id="ITEM_EQUIPPED" color="#000091" />
<color id="ITEM_NOT_EQUIPPED" color="#000000" />
<color id="CHAT" color="#000000" />
- <color id="GM" color="#00ff00" />
+ <color id="GM" color="#ff0000" />
<color id="PLAYER" color="#009000" />
<color id="WHISPER" color="#0000ff" />
<color id="WHISPER_OFFLINE" color="#000050" />
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 @@
<color id="ITEM_EQUIPPED" color="#000091" />
<color id="ITEM_NOT_EQUIPPED" color="#000000" />
<color id="CHAT" color="#000000" />
- <color id="GM" color="#00ff00" />
+ <color id="GM" color="#ff0000" />
<color id="PLAYER" color="#003000" />
<color id="WHISPER" color="#0000ff" />
<color id="WHISPER_OFFLINE" color="#000050" />
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 @@
<color id="ITEM_EQUIPPED" color="#000091" />
<color id="ITEM_NOT_EQUIPPED" color="#000000" />
<color id="CHAT" color="#FF00FF" />
- <color id="GM" color="#00ff00" />
+ <color id="GM" color="#ff0000" />
<color id="PLAYER" color="#009000" />
<color id="WHISPER" color="#0000ff" />
<color id="WHISPER_OFFLINE" color="#000050" />
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 @@
<color id="ITEM_EQUIPPED" color="#000091" />
<color id="ITEM_NOT_EQUIPPED" color="#000000" />
<color id="CHAT" color="#000000" />
- <color id="GM" color="#00c000" />
+ <color id="GM" color="#ff0000" />
<color id="PLAYER" color="#003000" />
<color id="WHISPER" color="#00feaf" />
<color id="WHISPER_OFFLINE" color="#000a40" />
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)