From be7260ad246f033479b0a5e4a84bc94ac2dba604 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 12 Sep 2009 20:12:53 +0200 Subject: Lyrics: allow dragging of items. though nowhere to drop them now --- nephilim/common.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nephilim/common.py') 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) -- cgit v1.2.3