Initial set of update to convert the sources app to the new registry and icon system

This commit is contained in:
Roberto Rosario
2012-09-30 03:01:49 -04:00
parent 3b9a5080b5
commit d41dac13ea
18 changed files with 237 additions and 153 deletions
+35
View File
@@ -0,0 +1,35 @@
from __future__ import absolute_import
from django.utils.translation import ugettext_lazy as _
from .icons import icon_source_list
from .links import setup_sources
label = _(u'Sources')
description = _(u'Provides source from where to add documents.')
dependencies = ['app_registry', 'icons', 'navigation', 'documents']
icon = icon_source_list
setup_links = [setup_sources]
'''
Setting(
namespace=namespace,
name='POP3_TIMEOUT',
global_name='SOURCES_POP3_TIMEOUT',
default=POP3_DEFAULT_TIMEOUT,
)
Setting(
namespace=namespace,
name='EMAIL_PROCESSING_INTERVAL',
global_name='SOURCES_EMAIL_PROCESSING_INTERVAL',
default=DEFAULT_EMAIL_PROCESSING_INTERVAL,
)
Setting(
namespace=namespace,
name='LOG_SIZE',
global_name='SOURCES_LOG_SIZE',
default=DEFAULT_POP3_EMAIL_LOG_COUNT,
)
'''