summaryrefslogtreecommitdiff
path: root/trunk/dimbola/__init__.py
blob: 44070a328bc68f96f27fbc1873549a9fd41bd12e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright (C) 2009  Lars Wirzenius <liw@liw.fi>
# 
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


# This is necessary for running under Python 2.5, which we need to
# do on Debian, for now.
from __future__ import with_statement


# This is the canonical location of the version number.
version = '0.0.3'


# The MIME type for drag-and-drop for a list of tagids.
TAGIDS_TYPE = 'application/x-dimbola-tagids'


from utils import (abswalk, filterabswalk, safe_copy, filter_cmd, 
                   image_data_to_pixbuf, pixbuf_to_image_data, 
                   image_data_to_image_data,
                   rotate_pixbuf, scale_pixbuf,
                   encode_dnd_tagids, decode_dnd_tagids, TreeBuilder,
                   DcrawTypeCache, draw_star, draw_stars, sha1)
from pluginmgr import Plugin, PluginManager
from copier import Copier, ImageDict
from db import Database
from bgjobs import BackgroundJob, BackgroundManager
from prefs import Preferences
from grid import Grid, GridModel
from taglist import Taglist
from ui import UI, BackgroundStatus, MIN_WEIGHT, MAX_WEIGHT