diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-09-12 20:12:53 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-09-12 20:12:53 +0200 |
commit | be7260ad246f033479b0a5e4a84bc94ac2dba604 (patch) | |
tree | 38c185969d5a0e7708b70b49b0d76beafed6c3a6 /nephilim/common.py | |
parent | 1961ac0e94e9fe9fb73552a798e3f46b9715c9ee (diff) |
Lyrics: allow dragging of items.
though nowhere to drop them now
Diffstat (limited to 'nephilim/common.py')
-rw-r--r-- | nephilim/common.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nephilim/common.py b/nephilim/common.py index a04cc42..5bf562b 100644 --- a/nephilim/common.py +++ b/nephilim/common.py @@ -28,6 +28,9 @@ appIcon = ':icons/nephilim_small.png' APPNAME = 'nephilim' ORGNAME = 'nephilim' +# custom mimetypes used for drag&drop +MIMETYPES = {'songs' : 'application/x-mpd-songlist', 'plistsongs' : 'application/x-mpd-playlistsonglist'} + def sec2min(secs): """Converts seconds to min:sec.""" min=int(secs/60) |