Skip to content

Commit

Permalink
clean up and fix firing
Browse files Browse the repository at this point in the history
  • Loading branch information
live committed Feb 28, 2014
1 parent 79e4412 commit a5f4011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menubar.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def applicationDidFinishLaunching_(self, notification):
# Let it highlight upon clicking
self.statusitem.setHighlightMode_(1)
# Set a tooltip
self.statusitem.setToolTip_('Latest Coinbase Price!')
# self.statusitem.setToolTip_('Latest Coinbase Price!')

# Build a very simple menu
self.menu = NSMenu.alloc().init()
Expand Down Expand Up @@ -70,7 +70,7 @@ def applicationDidFinishLaunching_(self, notification):
# Get the timer going
self.timer = NSTimer.alloc().initWithFireDate_interval_target_selector_userInfo_repeats_(start_time, 60.0, self, 'tick:', None, True)
NSRunLoop.currentRunLoop().addTimer_forMode_(self.timer, NSDefaultRunLoopMode)
self.timer.fire()
# self.timer.fire()

def sync_(self, notification):
print notification
Expand Down

0 comments on commit a5f4011

Please sign in to comment.