Add backup icon literal

This commit is contained in:
Roberto Rosario
2012-08-17 03:59:32 -04:00
parent f612948ba4
commit df34097450
4 changed files with 5 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ from app_registry import register_app, UnableToRegister
from common.utils import encapsulate
from job_processor.exceptions import JobQueuePushError
from job_processor.models import JobQueue, JobType
from icons.literals import BACKUPS
from navigation.api import bind_links, register_model_list_columns
from project_setup.api import register_setup
from project_tools.api import register_tool
@@ -44,7 +45,7 @@ register_model_list_columns(BackupJob, [
])
try:
app = register_app('backups', _(u'Backups'))
app = register_app('backups', _(u'Backups'), icon=BACKUPS)
except UnableToRegister:
pass
else:

View File

@@ -1 +1,2 @@
APP = 'app'
BACKUPS = 'backups'

View File

@@ -7,4 +7,5 @@ LABEL = _(u'FamFamFam')
DICTIONARY = {
APP: 'plugin',
BACKUPS: 'cd_burn',
}

View File

@@ -7,4 +7,5 @@ LABEL = _(u'Fat cow')
DICTIONARY = {
APP: 'plugin.png',
BACKUPS: 'cd_burn.png',
}