diff options
author | hubvu <33167870+hubvu@users.noreply.github.com> | 2019-03-03 18:59:38 +0000 |
---|---|---|
committer | hubvu <33167870+hubvu@users.noreply.github.com> | 2019-03-03 18:59:38 +0000 |
commit | 2e91da281e1161af594e07eed62b672f9b006a39 (patch) | |
tree | e70f3a6060b9c3eef097766088f8082b04620067 /src | |
parent | Merge pull request #679 from jonls/ini-hash-comment (diff) | |
download | redshift-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.py | 4 |
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) |