From 2e91da281e1161af594e07eed62b672f9b006a39 Mon Sep 17 00:00:00 2001 From: hubvu <33167870+hubvu@users.noreply.github.com> Date: Sun, 3 Mar 2019 18:59:38 +0000 Subject: Fix #386: added more suspend durations as requested --- src/redshift-gtk/statusicon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3-70-g09d2