Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'now_listen')
-rw-r--r--now_listen/manifest.ini2
-rw-r--r--now_listen/now_listen.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/now_listen/manifest.ini b/now_listen/manifest.ini
index a63d750..9be275f 100644
--- a/now_listen/manifest.ini
+++ b/now_listen/manifest.ini
@@ -1,7 +1,7 @@
[info]
name: Now Listen
short_name: now-listen
-version: 0.2.1
+version: 0.2.2
description: Copy tune info to conversation input box (alt + n) at cursor position
authors = Denis Fomin <fominde@gmail.com>
homepage = http://trac-plugins.gajim.org/wiki/NowListenPlugin
diff --git a/now_listen/now_listen.py b/now_listen/now_listen.py
index 1d7e946..432e694 100644
--- a/now_listen/now_listen.py
+++ b/now_listen/now_listen.py
@@ -2,6 +2,7 @@
from gi.repository import Gtk
from gi.repository import Gdk
+import os
from common import gajim
from plugins import GajimPlugin
@@ -30,6 +31,9 @@ class NowListenPlugin(GajimPlugin):
self.controls = []
self.first_run = True
self.music_track_changed_signal = None
+ if os.name == 'nt':
+ self.available_text = _('Plugin can\'t be run under Windows.')
+ self.activatable = False
@log_calls('NowListenPlugin')
def connect_with_chat_control(self, chat_control):