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:
authorDenis Fomin <fominde@gmail.com>2010-12-06 17:37:14 +0300
committerDenis Fomin <fominde@gmail.com>2010-12-06 17:37:14 +0300
commit4fcf603aae7c6c0c8aa2f23fefafa64f879043c0 (patch)
treec7043b3c290f3d25df19a52e2a6b1d894e430e30 /flashing_keyboard
parent1e9d3b284be971965b91194aae18192bd3b60829 (diff)
coding style
Diffstat (limited to 'flashing_keyboard')
-rw-r--r--flashing_keyboard/flashing_keyboard.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/flashing_keyboard/flashing_keyboard.py b/flashing_keyboard/flashing_keyboard.py
index 3661869..e8f43b6 100644
--- a/flashing_keyboard/flashing_keyboard.py
+++ b/flashing_keyboard/flashing_keyboard.py
@@ -15,7 +15,7 @@ class FlashingKeyboard(GajimPlugin):
def init(self):
self.config_dialog = FlashingKeyboardPluginConfigDialog(self)
self.config_default_values = {
- 'command1': ("xset led named 'Scroll Lock'",''),
+ 'command1': ("xset led named 'Scroll Lock'", ''),
'command2': ("xset -led named 'Scroll Lock'", '')}
self.is_active = None
@@ -62,6 +62,7 @@ class FlashingKeyboard(GajimPlugin):
if self.id_0:
gobject.source_remove(self.id_0)
+
class FlashingKeyboardPluginConfigDialog(GajimPluginConfigDialog):
def init(self):
self.GTK_BUILDER_FILE_PATH = self.plugin.local_file_path(
@@ -69,7 +70,7 @@ class FlashingKeyboardPluginConfigDialog(GajimPluginConfigDialog):
self.xml = gtk.Builder()
self.xml.set_translation_domain('flashingkeyboard')
self.xml.add_objects_from_file(self.GTK_BUILDER_FILE_PATH,
- ['config_table'])
+ ['config_table'])
config_table = self.xml.get_object('config_table')
self.child.pack_start(config_table)
self.xml.connect_signals(self)