joshf/emesene — comment on commit a29091591685fe022f16f1aa229ec81a54791fde
File: emesene/gui/gtkui/Preferences.py line 559
By joshf:

Okay

```
if sys.platform == 'darwin':

def do_hideshow(widget):
if widget.get_active():
subprocess.call('defaults write /Applications/emesene.app/Contents/Info LSUIElement -bool false', shell=True)
else:
subprocess.call('defaults write /Applications/emesene.app/Contents/Info LSUIElement -bool true', shell=True)

self.append_markup(''+_('OS X Integration:')+'')
self.session.config.get_or_set('b_show_dock_icon', True)
button = self.append_check(_('Show dock icon (requires restart of emesene)'),
'session.config.b_show_dock_icon')
button.connect("toggled", do_hideshow)

self.show_all()
```
Will pull again