annotate frontends/src/primitivus/constants.py @ 609:84a6e83157c2

fixed licences in docstrings (they are now in comments)
author Goffi <goffi@goffi.org>
date Fri, 08 Mar 2013 00:36:22 +0100
parents 952322b1d490
children 6246eb6d64a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
495
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/usr/bin/python
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
3
609
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
4 # Primitivus: a SAT frontend
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
5 # Copyright (C) 2009, 2010, 2011, 2012, 2013 Jérôme Poisson (goffi@goffi.org)
495
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
6
609
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
7 # This program is free software: you can redistribute it and/or modify
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
8 # it under the terms of the GNU Affero General Public License as published by
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
9 # the Free Software Foundation, either version 3 of the License, or
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
10 # (at your option) any later version.
495
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
11
609
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
12 # This program is distributed in the hope that it will be useful,
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
15 # GNU Affero General Public License for more details.
495
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
16
609
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
17 # You should have received a copy of the GNU Affero General Public License
84a6e83157c2 fixed licences in docstrings (they are now in comments)
Goffi <goffi@goffi.org>
parents: 587
diff changeset
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
495
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
19 import __builtin__
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
20
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
21 __builtin__.__dict__['const_APP_NAME'] = "Primitivus"
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
22 __builtin__.__dict__['const_PALETTE'] = [
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
23 ('title', 'black', 'light gray', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
24 ('title_focus', 'white,bold', 'light gray', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
25 ('selected', 'default', 'dark red'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
26 ('selected_focus', 'default,bold', 'dark red'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
27 ('default', 'default', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
28 ('default_focus', 'default,bold', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
29 ('alert', 'default,underline', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
30 ('alert_focus', 'default,bold,underline', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
31 ('date', 'light gray', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
32 ('my_nick', 'dark red,bold', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
33 ('other_nick', 'dark cyan,bold', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
34 ('menubar', 'light gray,bold', 'dark red'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
35 ('menubar_focus', 'light gray,bold', 'dark green'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
36 ('selected_menu', 'light gray,bold', 'dark green'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
37 ('menuitem', 'light gray,bold', 'dark red'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
38 ('menuitem_focus', 'light gray,bold', 'dark green'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
39 ('notifs', 'black,bold', 'yellow'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
40 ('notifs_focus', 'dark red', 'yellow'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
41 ('card_neutral', 'dark gray', 'white', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
42 ('card_neutral_selected', 'dark gray', 'dark green', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
43 ('card_special', 'brown', 'white', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
44 ('card_special_selected', 'brown', 'dark green', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
45 ('card_red', 'dark red', 'white', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
46 ('card_red_selected', 'dark red', 'dark green', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
47 ('card_black', 'black', 'white', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
48 ('card_black_selected', 'black', 'dark green', 'standout,underline'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
49 ('directory', 'dark cyan, bold', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
50 ('directory_focus', 'dark cyan, bold', 'dark green'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
51 ('separator', 'brown', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
52 ('warning', 'light red', 'default'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
53 ('progress_normal', 'default', 'black'),
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
54 ('progress_complete', 'default', 'light red'),
501
e9634d2e7b38 core, quick_frontend, primitivus, wix: Contacts List refactoring phase 1:
Goffi <goffi@goffi.org>
parents: 498
diff changeset
55 ('show_disconnected', 'dark gray', 'default'),
496
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
56 ('show_normal', 'default', 'default'),
498
9cc2ffd293f2 primitivus: better focused attributes for roster
Goffi <goffi@goffi.org>
parents: 496
diff changeset
57 ('show_normal_focus', 'default, bold', 'default'),
496
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
58 ('show_chat', 'dark green', 'default'),
498
9cc2ffd293f2 primitivus: better focused attributes for roster
Goffi <goffi@goffi.org>
parents: 496
diff changeset
59 ('show_chat_focus', 'dark green, bold', 'default'),
496
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
60 ('show_away', 'brown', 'default'),
498
9cc2ffd293f2 primitivus: better focused attributes for roster
Goffi <goffi@goffi.org>
parents: 496
diff changeset
61 ('show_away_focus', 'brown, bold', 'default'),
496
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
62 ('show_dnd', 'dark red', 'default'),
498
9cc2ffd293f2 primitivus: better focused attributes for roster
Goffi <goffi@goffi.org>
parents: 496
diff changeset
63 ('show_dnd_focus', 'dark red, bold', 'default'),
496
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
64 ('show_xa', 'dark red', 'default'),
498
9cc2ffd293f2 primitivus: better focused attributes for roster
Goffi <goffi@goffi.org>
parents: 496
diff changeset
65 ('show_xa_focus', 'dark red, bold', 'default'),
496
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
66 ('status', 'yellow', 'default'),
498
9cc2ffd293f2 primitivus: better focused attributes for roster
Goffi <goffi@goffi.org>
parents: 496
diff changeset
67 ('status_focus', 'yellow, bold', 'default'),
495
a726b234d3bf primitivus: moved constants in a separate file
Goffi <goffi@goffi.org>
parents:
diff changeset
68 ]
587
952322b1d490 Remove trailing whitespaces.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 572
diff changeset
69 __builtin__.__dict__['const_SHOW_ICON'] = {"unavailable": (u'⨯', "show_disconnected"),
501
e9634d2e7b38 core, quick_frontend, primitivus, wix: Contacts List refactoring phase 1:
Goffi <goffi@goffi.org>
parents: 498
diff changeset
70 "": (u'✔', "show_normal"),
496
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
71 "chat": (u'✆', "show_chat"),
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
72 "away": (u'✈', "show_away"),
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
73 "dnd": (u'✖', "show_dnd"),
024b321c1aa2 primitivus: added show and status text attributes + show icons
Goffi <goffi@goffi.org>
parents: 495
diff changeset
74 "xa": (u'☄', "show_xa")}