aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhubvu <33167870+hubvu@users.noreply.github.com>2019-03-03 18:59:38 +0000
committerhubvu <33167870+hubvu@users.noreply.github.com>2019-03-03 18:59:38 +0000
commit2e91da281e1161af594e07eed62b672f9b006a39 (patch)
treee70f3a6060b9c3eef097766088f8082b04620067 /src
parentMerge pull request #679 from jonls/ini-hash-comment (diff)
downloadredshift-ng-2e91da281e1161af594e07eed62b672f9b006a39.tar.gz
redshift-ng-2e91da281e1161af594e07eed62b672f9b006a39.tar.bz2
redshift-ng-2e91da281e1161af594e07eed62b672f9b006a39.tar.xz
Fix #386: added more suspend durations as requested
Diffstat (limited to 'src')
-rw-r--r--src/redshift-gtk/statusicon.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/redshift-gtk/statusicon.py b/src/redshift-gtk/statusicon.py
index a0ffd7a..b4adfb0 100644
--- a/src/redshift-gtk/statusicon.py
+++ b/src/redshift-gtk/statusicon.py
@@ -84,7 +84,9 @@ class RedshiftStatusIcon(object):
suspend_menu = Gtk.Menu()
for minutes, label in [(30, _('30 minutes')),
(60, _('1 hour')),
- (120, _('2 hours'))]:
+ (120, _('2 hours')),
+ (240, _('4 hours')),
+ (480, _('8 hours'))]:
suspend_item = Gtk.MenuItem.new_with_label(label)
suspend_item.connect('activate', self.suspend_cb, minutes)
suspend_menu.append(suspend_item)