Skip to content

Commit

Permalink
v3.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Mar 24, 2015
1 parent 3b2aafe commit 48bbab3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
+++++++++++++++++++

Expand Down
9 changes: 6 additions & 3 deletions WakaTime.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Website: https://wakatime.com/
==========================================================="""

__version__ = '3.0.12'
__version__ = '3.0.13'

import sublime
import sublime_plugin
Expand Down Expand Up @@ -230,10 +230,13 @@ def send_heartbeat(self):
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 = {
Expand Down

0 comments on commit 48bbab3

Please sign in to comment.