Fix bug in smart pause and release new version
This commit is contained in:
parent
b580b3cb34
commit
020934aa0f
|
@ -1,4 +1,4 @@
|
|||
safeeyes (2.0.3-1) xenial; urgency=high
|
||||
safeeyes (2.0.4-1) xenial; urgency=high
|
||||
|
||||
* Fix issues with locales
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ from safeeyes.settings import SettingsDialog
|
|||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk
|
||||
|
||||
SAFE_EYES_VERSION = "2.0.3"
|
||||
SAFE_EYES_VERSION = "2.0.4"
|
||||
|
||||
|
||||
class SafeEyes(object):
|
||||
|
|
|
@ -71,7 +71,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.</pro
|
|||
<property name="valign">center</property>
|
||||
<property name="margin_top">10</property>
|
||||
<property name="margin_bottom">10</property>
|
||||
<property name="label" translatable="yes">Safe Eyes 2.0.3</property>
|
||||
<property name="label" translatable="yes">Safe Eyes 2.0.4</property>
|
||||
<property name="justify">center</property>
|
||||
<attributes>
|
||||
<attribute name="style" value="normal"/>
|
||||
|
|
|
@ -114,7 +114,7 @@ def __start_idle_monitor():
|
|||
smart_pause_activated = True
|
||||
idle_start_time = datetime.datetime.now()
|
||||
logging.info('Pause Safe Eyes due to system idle')
|
||||
disable_safe_eyes()
|
||||
disable_safe_eyes(None)
|
||||
elif system_idle_time < idle_time and context['state'] == State.STOPPED:
|
||||
logging.info('Resume Safe Eyes due to user activity')
|
||||
smart_pause_activated = False
|
||||
|
|
2
setup.py
2
setup.py
|
@ -70,7 +70,7 @@ __data_files = list(_data_files('share'))
|
|||
|
||||
setuptools.setup(
|
||||
name="safeeyes",
|
||||
version="2.0.3",
|
||||
version="2.0.4",
|
||||
description="Protect your eyes from eye strain using this continuous breaks reminder.",
|
||||
long_description=long_description,
|
||||
author="Gobinath Loganathan",
|
||||
|
|
Loading…
Reference in New Issue