This commit is contained in:
Alan Hamlett 2015-03-24 10:05:23 -07:00
parent 3b2aafe004
commit 48bbab33b4
2 changed files with 13 additions and 3 deletions

View File

@ -3,6 +3,13 @@ History
-------
3.0.13 (2015-03-23)
+++++++++++++++++++
- correctly check for SSL support in ST built-in python
- fix status bar message
3.0.12 (2015-03-23)
+++++++++++++++++++

View File

@ -6,7 +6,7 @@ License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
==========================================================="""
__version__ = '3.0.12'
__version__ = '3.0.13'
import sublime
import sublime_plugin
@ -230,10 +230,13 @@ class SendActionThread(threading.Thread):
print('[WakaTime] Error: Unable to find python binary.')
def sent(self):
if SETTINGS.get('status_bar_message'):
sublime.set_timeout(lambda: self.view.set_status('wakatime', 'WakaTime active {0}'.format(datetime.now().strftime('%I:%M %p'))), 0)
sublime.set_timeout(self.set_status_bar, 0)
sublime.set_timeout(self.set_last_action, 0)
def set_status_bar(self):
if SETTINGS.get('status_bar_message'):
self.view.set_status('wakatime', 'WakaTime active {0}'.format(datetime.now().strftime('%I:%M %p')))
def set_last_action(self):
global LAST_ACTION
LAST_ACTION = {