summaryrefslogtreecommitdiff
path: root/rapid/config.py
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2011-04-08 07:12:47 +0200
committerJulien Valroff <julien@kirya.net>2011-04-08 07:12:47 +0200
commit5168fdb07d6dc2b77f0ef9c7502940ce4a02e9aa (patch)
tree92ee1b0789e6527052973d100ea9d6426afc70cc /rapid/config.py
parenteb4c5cc4472b16ce10401611140381e5ba5b6aca (diff)
Imported Upstream version 0.3.6upstream/0.3.6
Diffstat (limited to 'rapid/config.py')
-rw-r--r--rapid/config.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/rapid/config.py b/rapid/config.py
index d020562..e798057 100644
--- a/rapid/config.py
+++ b/rapid/config.py
@@ -1,5 +1,5 @@
# -*- coding: latin1 -*-
-### Copyright (C) 2007, 2008, 2009, 2010, 2011 Damon Lynch <damonlynch@gmail.com>
+### Copyright (C) 2007, 2008, 2009, 2010 Damon Lynch <damonlynch@gmail.com>
### 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
@@ -15,9 +15,10 @@
### along with this program; if not, write to the Free Software
### Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-version = '0.4.0~a4'
+version = '0.3.6'
GCONF_KEY="/apps/rapid-photo-downloader"
+GLADE_FILE = "glade3/rapid.glade"
DBUS_NAME = "net.damonlynch.RapidPhotoDownloader"
@@ -37,10 +38,18 @@ DEFAULT_VIDEO_BACKUP_LOCATION = 'Videos'
DEFAULT_VIDEO_LOCATIONS = ['Videos']
+MAX_NO_READERS = 20
+
CRITICAL_ERROR = 1
SERIOUS_ERROR = 2
WARNING = 3
+MAX_LENGTH_DEVICE_NAME = 15
+
+MIN_THUMBNAIL_SIZE = 80
+max_thumbnail_size = 320 # will be overridden when the screen is tiny
+THUMBNAIL_INCREMENT = 50
+
STATUS_DOWNLOAD_PENDING = 0 # going to try to download it
STATUS_DOWNLOADED = 1 # downloaded successfully
STATUS_DOWNLOADED_WITH_WARNING = 2 # downloaded ok but there was a warning
@@ -51,7 +60,4 @@ STATUS_DOWNLOAD_FAILED = 6 # tried to download but failed
STATUS_WARNING = 7 # warning (shown in pre-download preview)
STATUS_CANNOT_DOWNLOAD = 8 # cannot be downloaded
-DEFAULT_WINDOW_WIDTH = 730
-DEFAULT_WINDOW_HEIGHT = 650
-
-
+TINY_SCREEN_HEIGHT = 650