summaryrefslogtreecommitdiff
path: root/rapid/config.py
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2011-04-29 18:38:10 +0200
committerJulien Valroff <julien@kirya.net>2011-04-29 18:38:10 +0200
commit890778d8bc097acb3b7cff0fd134c2fe89e22c78 (patch)
tree195e65c397ca43f2dc7a8851df32963dd2fa313f /rapid/config.py
parentab35ecfe638a0eb072a5669263a18a60ae1d6611 (diff)
parentc0a71b15d1fc070d1a55ee94ed8a7bd81aa3608a (diff)
Merge branch 'experimental'
Diffstat (limited to 'rapid/config.py')
-rw-r--r--rapid/config.py18
1 files changed, 6 insertions, 12 deletions
diff --git a/rapid/config.py b/rapid/config.py
index e798057..6019d6a 100644
--- a/rapid/config.py
+++ b/rapid/config.py
@@ -1,5 +1,5 @@
# -*- coding: latin1 -*-
-### Copyright (C) 2007, 2008, 2009, 2010 Damon Lynch <damonlynch@gmail.com>
+### Copyright (C) 2007, 2008, 2009, 2010, 2011 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,10 +15,9 @@
### 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.3.6'
+version = '0.4.0~rc1'
GCONF_KEY="/apps/rapid-photo-downloader"
-GLADE_FILE = "glade3/rapid.glade"
DBUS_NAME = "net.damonlynch.RapidPhotoDownloader"
@@ -38,18 +37,10 @@ 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
@@ -60,4 +51,7 @@ 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
-TINY_SCREEN_HEIGHT = 650
+DEFAULT_WINDOW_WIDTH = 670
+DEFAULT_WINDOW_HEIGHT = 650
+
+