Skip to content

Commit 020934a

Browse files
committed
Fix bug in smart pause and release new version
1 parent b580b3c commit 020934a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

debian/changelog

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
safeeyes (2.0.3-1) xenial; urgency=high
1+
safeeyes (2.0.4-1) xenial; urgency=high
22

33
* Fix issues with locales
44

safeeyes/SafeEyes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
gi.require_version('Gtk', '3.0')
4040
from gi.repository import Gtk
4141

42-
SAFE_EYES_VERSION = "2.0.3"
42+
SAFE_EYES_VERSION = "2.0.4"
4343

4444

4545
class SafeEyes(object):

safeeyes/glade/about_dialog.glade

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.</pro
7171
<property name="valign">center</property>
7272
<property name="margin_top">10</property>
7373
<property name="margin_bottom">10</property>
74-
<property name="label" translatable="yes">Safe Eyes 2.0.3</property>
74+
<property name="label" translatable="yes">Safe Eyes 2.0.4</property>
7575
<property name="justify">center</property>
7676
<attributes>
7777
<attribute name="style" value="normal"/>

safeeyes/plugins/smartpause/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def __start_idle_monitor():
114114
smart_pause_activated = True
115115
idle_start_time = datetime.datetime.now()
116116
logging.info('Pause Safe Eyes due to system idle')
117-
disable_safe_eyes()
117+
disable_safe_eyes(None)
118118
elif system_idle_time < idle_time and context['state'] == State.STOPPED:
119119
logging.info('Resume Safe Eyes due to user activity')
120120
smart_pause_activated = False

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __package_data():
7070

7171
setuptools.setup(
7272
name="safeeyes",
73-
version="2.0.3",
73+
version="2.0.4",
7474
description="Protect your eyes from eye strain using this continuous breaks reminder.",
7575
long_description=long_description,
7676
author="Gobinath Loganathan",

0 commit comments

Comments
 (0)