changeset 322:014ce0220763

Remove old and now unused palette
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 11 Oct 2013 14:31:34 +0200
parents 6e72a6b5e94f
children 20b8749b7e8c
files getan/view.py
diffstat 1 files changed, 0 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/getan/view.py	Fri Oct 11 14:28:21 2013 +0200
+++ b/getan/view.py	Fri Oct 11 14:31:34 2013 +0200
@@ -292,30 +292,6 @@
 
 class GetanView(urwid.WidgetWrap):
 
-    palette = [
-        ('header',               'white',  'dark blue'),
-        ('project_header',       'white',  'dark cyan'),
-        ('entry_header',         'white',  'dark cyan'),
-        ('footer',               'yellow', 'dark blue'),
-        ('entry_footer',         'white',  'dark blue'),
-        ('project_footer',       'white',  'dark blue'),
-        ('project_key',          'black',  'dark cyan'),
-        ('body',                 'white',  'black'),
-        ('entry body',           'white',  'dark blue'),
-        ('entries',              'white',  'black'),
-        ('entry_body',           'white',  'dark blue'),
-        ('focused entry',        'white',  'dark cyan'),
-        ('selected entry',       'yellow', 'light cyan'),
-        ('selected focus entry', 'yellow', 'dark cyan'),
-        ('info',                 'white',  'dark red'),
-        ('focus',                'white',  'dark blue'),
-        ('selected',             'black',  'light green'),
-        ('selected focus',       'yellow', 'dark cyan'),
-        ('question',             'white',  'dark red'),
-        ('running',              'yellow', 'dark green'),
-        ('paused_running',       'white',  'dark red'),
-    ]
-
     def __init__(self, controller, proj_list, entr_list):
         encoding = locale.getpreferredencoding()
         urwid.set_encoding(encoding)
@@ -353,9 +329,6 @@
             logger.debug("GetanView: set footer text: '%s'" % text)
             self.frame.set_footer(urwid.AttrWrap(urwid.Text(text), attr))
 
-    def get_palette(self):
-        return self.palette
-
     def keypress(self, size, key):
         self.controller.state.keypress(size, key)
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)