Swithc pending job to use composed icon

This commit is contained in:
Roberto Rosario
2012-09-29 02:04:00 -04:00
parent 4a9e2c2aa7
commit 9f3838b5f6
3 changed files with 4 additions and 2 deletions

View File

@@ -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',

View File

@@ -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'

View File

@@ -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)