diff options
| author | Antoine Beaupré <anarcat@debian.org> | 2017-12-30 12:18:31 -0500 |
|---|---|---|
| committer | Antoine Beaupré <anarcat@debian.org> | 2017-12-30 12:18:31 -0500 |
| commit | bd2993229e91c1f6eb200e8a4e2ebfd0195266f5 (patch) | |
| tree | a5f48068a2730cf6a88ed823afaa67b39bc65a19 /raphodo/constants.py | |
| parent | b99a470859a9e8100644fe65f501f610cf3bb046 (diff) | |
| parent | 88c8bd4cd2ee4707f8a43be4d89c4e040dcced2f (diff) | |
Merge tag 'upstream/0.9.6'
Upstream version 0.9.6
# gpg: Signature made sam 30 déc 2017 12:18:30 EST
# gpg: using RSA key 7B164204D096723B019635AB3EA1DDDDB261D97B
# gpg: Good signature from "Antoine Beaupré <anarcat@anarc.at>" [ultimate]
# gpg: aka "Antoine Beaupré <anarcat@koumbit.org>" [ultimate]
# gpg: aka "Antoine Beaupré <anarcat@orangeseeds.org>" [ultimate]
# gpg: aka "Antoine Beaupré <anarcat@debian.org>" [ultimate]
Diffstat (limited to 'raphodo/constants.py')
| -rw-r--r-- | raphodo/constants.py | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/raphodo/constants.py b/raphodo/constants.py index c88c18b..dbb8aa8 100644 --- a/raphodo/constants.py +++ b/raphodo/constants.py @@ -259,6 +259,7 @@ class Sort(IntEnum): file_type = 5 device = 6 + class JobCodeSort(IntEnum): last_used = 1 code = 2 @@ -293,6 +294,7 @@ class Roles(IntEnum): device_type = Qt.UserRole + 19 download_statuses = Qt.UserRole + 20 job_code = Qt.UserRole + 21 + uids = Qt.UserRole + 22 class ExtractionTask(Enum): @@ -402,6 +404,7 @@ class PrefPosition(Enum): positioned_in = 4 not_here = 5 + # Values in minutes: proximity_time_steps = [5, 10, 15, 30, 45, 60, 90, 120, 180, 240, 480, 960, 1440] @@ -440,6 +443,10 @@ FadeSteps = 20 FadeMilliseconds = 700 +# horizontal and vertical margin for thumbnail rectangles +thumbnail_margin = 10 + + def minPanelWidth() -> int: """ Minimum width of panels on left and right side of main window. @@ -498,6 +505,7 @@ class Distro(Enum): galliumos = 10 peppermint = 11 antergos = 12 + elementary = 13 orientation_offset = dict( @@ -607,4 +615,16 @@ class TreatRawJpeg(IntEnum): class MarkRawJpeg(IntEnum): no_jpeg = 1 no_raw = 2 - both = 3
\ No newline at end of file + both = 3 + + +# see https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals +class Plural(Enum): + zero = 1 + two_form_single = 2 + two_form_plural = 3 + + +# Use the character . to for download_name and path to indicate the user manually marked a +# file as previously downloaded +manually_marked_previously_downloaded = '.'
\ No newline at end of file |
