diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-16 20:43:17 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-16 20:43:17 +0100 |
commit | 27e587118bac2ee70a076875f0fb9fddcc334c9b (patch) | |
tree | c4796d375df2779095eb33014d3b72e44babad54 /src/theming.py | |
parent | b2c84055dff5284a36d4bbb3311fd1532f530f56 (diff) | |
parent | cae620e3efea2ed3428a8c3076cc8696431723e8 (diff) | |
download | poezio-27e587118bac2ee70a076875f0fb9fddcc334c9b.tar.gz poezio-27e587118bac2ee70a076875f0fb9fddcc334c9b.tar.bz2 poezio-27e587118bac2ee70a076875f0fb9fddcc334c9b.tar.xz poezio-27e587118bac2ee70a076875f0fb9fddcc334c9b.zip |
Merge branch 'master' of http://git.louiz.org/poezio
Diffstat (limited to 'src/theming.py')
-rw-r--r-- | src/theming.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theming.py b/src/theming.py index 0fe45d59..7b653d66 100644 --- a/src/theming.py +++ b/src/theming.py @@ -94,6 +94,12 @@ class Theme(object): # in the user list CHAR_STATUS = '|' + # The characters used for the chatstates in the user list + # in a MUC + CHAR_CHATSTATE_ACTIVE = 'A' + CHAR_CHATSTATE_COMPOSING = 'X' + CHAR_CHATSTATE_PAUSED = 'p' + # Separators COLOR_VERTICAL_SEPARATOR = (4, -1) COLOR_NEW_TEXT_SEPARATOR = (2, -1) @@ -246,6 +252,7 @@ def reload_theme(): os.path.join(os.environ.get('XDG_DATA_HOME') or\ os.path.join(os.environ.get('HOME'), '.local', 'share'), 'poezio', 'themes') + themes_dir = os.path.expanduser(themes_dir) try: os.makedirs(themes_dir) except OSError: |