Browse files

Removes call to attatch_to_status_icon

This method has been removed in newer versions of libnotify.

For some background see
http://comments.gmane.org/gmane.linux.redhat.fedora.devel/141899 and
https://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility

Another problem is that the status icon does not seem to have a tooltip.
Since this was the only way to see the time left, this might be a
problem for Gnome3 users.

Fixes #11
  • Loading branch information...
1 parent 103474c commit 5dbc5b20ad810988bfa67470e7b547b2896d4638 @flavioamieiro committed Jun 28, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 ui.py
View
1 ui.py
@@ -139,7 +139,6 @@ def show_command_results(self, status, output):
if pynotify is not None:
pynotify.init('dojotools')
message = pynotify.Notification('Dojotools', self.html_escape(output))
- message.attach_to_status_icon(self.status_icon)
message.set_urgency(
pynotify.URGENCY_NORMAL if status == 0
else pynotify.URGENCY_CRITICAL

0 comments on commit 5dbc5b2

Please sign in to comment.