From 020934aa0fc57615e4ddc2a13ecc525642ad311b Mon Sep 17 00:00:00 2001 From: Gobinath Date: Fri, 9 Feb 2018 10:09:08 -0500 Subject: [PATCH] Fix bug in smart pause and release new version --- debian/changelog | 2 +- safeeyes/SafeEyes.py | 2 +- safeeyes/glade/about_dialog.glade | 2 +- safeeyes/plugins/smartpause/plugin.py | 2 +- setup.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0fbb987..5fd9ec9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -safeeyes (2.0.3-1) xenial; urgency=high +safeeyes (2.0.4-1) xenial; urgency=high * Fix issues with locales diff --git a/safeeyes/SafeEyes.py b/safeeyes/SafeEyes.py index 40c4fed..d468868 100644 --- a/safeeyes/SafeEyes.py +++ b/safeeyes/SafeEyes.py @@ -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): diff --git a/safeeyes/glade/about_dialog.glade b/safeeyes/glade/about_dialog.glade index 7564661..2f30f50 100644 --- a/safeeyes/glade/about_dialog.glade +++ b/safeeyes/glade/about_dialog.glade @@ -71,7 +71,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.center 10 10 - Safe Eyes 2.0.3 + Safe Eyes 2.0.4 center diff --git a/safeeyes/plugins/smartpause/plugin.py b/safeeyes/plugins/smartpause/plugin.py index 2c290f8..acded0d 100644 --- a/safeeyes/plugins/smartpause/plugin.py +++ b/safeeyes/plugins/smartpause/plugin.py @@ -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 diff --git a/setup.py b/setup.py index 15c905a..32c5cf8 100644 --- a/setup.py +++ b/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",