summaryrefslogtreecommitdiff
path: root/rapid/config.py
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2011-03-25 22:07:00 +0100
committerJulien Valroff <julien@kirya.net>2011-03-25 22:07:00 +0100
commit6866d4a5b74779f087b8e44148a49163d8b7327b (patch)
treea2eae1ea3b49bc12aebb8b5be6286d291cf590b6 /rapid/config.py
parent2a910aa02d2e0c157572818520781e2e16889923 (diff)
Imported Upstream version 0.4.0~alpha1upstream/0.4.0_alpha1
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 626ae33..9f0b6b1 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.5'
+version = '0.4.0~a1'
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 = 730
+DEFAULT_WINDOW_HEIGHT = 650
+
+