diff options
Diffstat (limited to 'trunk/dimbola/__init__.py')
-rw-r--r-- | trunk/dimbola/__init__.py | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/trunk/dimbola/__init__.py b/trunk/dimbola/__init__.py new file mode 100644 index 0000000..44070a3 --- /dev/null +++ b/trunk/dimbola/__init__.py @@ -0,0 +1,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 + |