diff options
author | Michael Kainer <kaini1123@gmx.at> | 2010-10-26 13:11:35 +0400 |
---|---|---|
committer | Michael Kainer <kaini1123@gmx.at> | 2010-10-26 13:11:35 +0400 |
commit | 9ea8b8bf1a327c4f0e24379afe532a1a03095be1 (patch) | |
tree | 2550aae5ef3bca6a4cf34e6dc90512ad337e1402 /ubuntu_integration | |
parent | c8da36b94cddfae99680f22f47b14adefb4a8120 (diff) |
Moved key up
Diffstat (limited to 'ubuntu_integration')
-rw-r--r-- | ubuntu_integration/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ubuntu_integration/plugin.py b/ubuntu_integration/plugin.py index 3364a91..7f67ec0 100644 --- a/ubuntu_integration/plugin.py +++ b/ubuntu_integration/plugin.py @@ -9,7 +9,7 @@ TODO: * permanent integration into the messaging menu after quitting gajim * show/hide gajim on root menu entry * switch workspace on click on events -* pictures in the menu +* corrent group chat handling * hide gajim if the plugin is disabled :author: Michael Kainer <kaini@jabber.hot-chilli.net> @@ -113,6 +113,7 @@ class UbuntuIntegrationPlugin(GajimPlugin): jid = event.jid when = time.time() contact = "" + key = (account, jid) # Check if the event is valid and modify the variables if event.type_ == "chat" or \ @@ -138,7 +139,6 @@ class UbuntuIntegrationPlugin(GajimPlugin): print account, jid, when, contact # Add a new indicator if necessary - key = (account, jid) if not self.events.has_key(key): indicator = indicate.Indicator() indicator.set_property("name", contact) |