From 9f3838b5f6305c96c62199c46ce2a323991465dd Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 29 Sep 2012 02:04:00 -0400 Subject: [PATCH] Swithc pending job to use composed icon --- apps/icons/iconsets/fat_cow.py | 1 + apps/icons/literals.py | 1 + apps/job_processor/icons.py | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/icons/iconsets/fat_cow.py b/apps/icons/iconsets/fat_cow.py index 3823da1b98..c6c5c545e6 100644 --- a/apps/icons/iconsets/fat_cow.py +++ b/apps/icons/iconsets/fat_cow.py @@ -33,6 +33,7 @@ class IconSet(IconSetBase): COG_EDIT: 'cog_edit.png', COG_ERROR: 'cog_error.png', COG_DELETE: 'cog_delete.png', + COG_HOURGLASS: ['cog.png', 'hourglass.png'], COMMENTS: 'comments.png', COMMENT_ADD: 'comment_add.png', COMMENT_DELETE: 'comment_delete.png', diff --git a/apps/icons/literals.py b/apps/icons/literals.py index 42718b06c8..4c94c1f731 100644 --- a/apps/icons/literals.py +++ b/apps/icons/literals.py @@ -27,6 +27,7 @@ COG_ADD = 'cog_add' COG_EDIT = 'cog_edit' COG_ERROR = 'cog_error' COG_DELETE = 'cog_delete' +COG_HOURGLASS = 'cog_hourglass' COMMENTS = 'comments' COMMENT_ADD = 'comment_add' COMMENT_DELETE = 'comment_delete' diff --git a/apps/job_processor/icons.py b/apps/job_processor/icons.py index e71d479902..f732aa766a 100644 --- a/apps/job_processor/icons.py +++ b/apps/job_processor/icons.py @@ -1,13 +1,13 @@ from __future__ import absolute_import from icons.literals import (LORRY_GO, LORRY_DELETE, HOURGLASS, COG, COG_DELETE, - COG_ERROR, COG_ADD, CONTROL_PLAY_BLUE, CONTROL_STOP_BLUE) + COG_ERROR, COG_ADD, CONTROL_PLAY_BLUE, CONTROL_STOP_BLUE, COG_HOURGLASS) from icons import Icon icon_node_workers = Icon(LORRY_GO) icon_tool_link = Icon(HOURGLASS) icon_job_queues = Icon(HOURGLASS) -icon_job_queue_items_pending = Icon(COG) +icon_job_queue_items_pending = Icon(COG_HOURGLASS) icon_job_queue_items_error = Icon(COG_ERROR) icon_job_queue_items_active = Icon(COG) icon_job_queue_start = Icon(CONTROL_PLAY_BLUE)