From 68b789b3e48c03c72090c9baa23b86b064e90096 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sun, 12 Aug 2012 22:02:56 +0400 Subject: [PATCH] ubuntu_integration. fix detecting 'indicate' module --- ubuntu_integration/manifest.ini | 10 +++------- ubuntu_integration/plugin.py | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/ubuntu_integration/manifest.ini b/ubuntu_integration/manifest.ini index ab749c0..b7a67af 100644 --- a/ubuntu_integration/manifest.ini +++ b/ubuntu_integration/manifest.ini @@ -1,15 +1,11 @@ [info] name: Ubuntu Ayatana Integration short_name: ubuntu_integration -version: 0.1 +version: 0.1.1 description: This plugin integrates Gajim with the Ubuntu Messaging Menu. - + You must have python-indicate and python-xdg (and Gajim obviously) installed to enable this plugin. - + Many thanks to the guys from gajim@conference.gajim.org for answering my questions :) authors: Michael Kainer homepage: http://trac-plugins.gajim.org/wiki/UbuntuIntegration - - - - diff --git a/ubuntu_integration/plugin.py b/ubuntu_integration/plugin.py index 33c64bc..2fec0e4 100644 --- a/ubuntu_integration/plugin.py +++ b/ubuntu_integration/plugin.py @@ -27,7 +27,7 @@ from common import gajim import gtkgui_helpers # 3rd party try: - import indicate + __import__('indicate') HAS_INDICATE = True except ImportError: HAS_INDICATE = False