summaryrefslogtreecommitdiff
path: root/raphodo/constants.py
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@debian.org>2018-03-14 12:24:17 -0400
committerAntoine Beaupré <anarcat@debian.org>2018-03-14 12:24:17 -0400
commit0a297829eaf3912c939e1b43a3ef6ddeb7607b38 (patch)
tree51733e0d6ffb00f0f7dfe01dccd48b2a598e5153 /raphodo/constants.py
parent88c8bd4cd2ee4707f8a43be4d89c4e040dcced2f (diff)
New upstream version 0.9.9upstream/0.9.9
Diffstat (limited to 'raphodo/constants.py')
-rw-r--r--raphodo/constants.py18
1 files changed, 14 insertions, 4 deletions
diff --git a/raphodo/constants.py b/raphodo/constants.py
index dbb8aa8..8406456 100644
--- a/raphodo/constants.py
+++ b/raphodo/constants.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2017 Damon Lynch <damonlynch@gmail.com>
+# Copyright (C) 2007-2018 Damon Lynch <damonlynch@gmail.com>
# This file is part of Rapid Photo Downloader.
#
@@ -18,7 +18,7 @@
# see <http://www.gnu.org/licenses/>.
__author__ = 'Damon Lynch'
-__copyright__ = "Copyright 2007-2017, Damon Lynch"
+__copyright__ = "Copyright 2007-2018, Damon Lynch"
from enum import (Enum, IntEnum)
from PyQt5.QtCore import Qt
@@ -29,6 +29,10 @@ logfile_name = 'rapid-photo-downloader.log'
remote_versions_file = 'https://www.damonlynch.net/rapid/version.json'
+# If set to True, the ability to check for a new version will be removed
+# from the user interface and disabled in program logic.
+disable_version_check = False
+
class CheckNewVersionDialogResult(IntEnum):
download = 1
@@ -411,7 +415,7 @@ proximity_time_steps = [5, 10, 15, 30, 45, 60, 90, 120, 180, 240, 480, 960, 1440
class TemporalProximityState(Enum):
empty = 1
- pending = 2
+ pending = 2 # e.g. 2 devices scanning, only 1 scan finished
generating = 3
regenerate = 4
generated = 5
@@ -430,6 +434,11 @@ class StandardFileLocations(Enum):
downloads = 8
+class FileManagerType(Enum):
+ regular = 1
+ select = 2
+
+
max_remembered_destinations = 10
ThumbnailBackgroundName = MediumGray
@@ -489,7 +498,8 @@ class Desktop(Enum):
lxde = 7
lxqt = 8
ubuntugnome = 9
- unknown = 10
+ popgnome = 10
+ unknown = 11
class Distro(Enum):