summary refs log tree commit diff stats
path: root/src/fe-gtk/userlistgui.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-03 01:42:47 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-03 01:42:47 +0100
commit396d74322af6af7a6d813643ecab2a3f9b3f7bba (patch)
treeeba74c5951120abd2e0f85a7fc0fe213ea5d1b8f /src/fe-gtk/userlistgui.c
parent58e7e967db34e88b6a76801d8d05e3ce68a21295 (diff)
Rainbow user list colors and more senseful variable names
Diffstat (limited to 'src/fe-gtk/userlistgui.c')
-rw-r--r--src/fe-gtk/userlistgui.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fe-gtk/userlistgui.c b/src/fe-gtk/userlistgui.c
index 74fd5cdf..2859f598 100644
--- a/src/fe-gtk/userlistgui.c
+++ b/src/fe-gtk/userlistgui.c
@@ -76,10 +76,10 @@ get_user_icon (server *serv, struct User *user)
 	/* these ones are hardcoded */
 	switch (user->prefix[0])
 	{
-	case 0: return NULL;
-	case '@': return pix_op;
-	case '%': return pix_hop;
-	case '+': return pix_voice;
+		case 0: return NULL;
+		case '+': return pix_ulist_voice;
+		case '%': return pix_ulist_halfop;
+		case '@': return pix_ulist_op;
 	}
 
 	/* find out how many levels above Op this user is */
@@ -94,9 +94,9 @@ get_user_icon (server *serv, struct User *user)
 			{
 				switch (level)
 				{
-				case 0: return pix_red;	/* 1 level above op */
-				case 1: return pix_purple;	 /* 2 levels above op */
-				case 2: return pix_orange;	/* 3 levels above op */
+					case 0: return pix_ulist_owner;		/* 1 level above op */
+					case 1: return pix_ulist_founder;	/* 2 levels above op */
+					case 2: return pix_ulist_netop;		/* 3 levels above op */
 				}
 				break;	/* 4+, no icons */
 			}