diff options
Diffstat (limited to 'flashing_keyboard/flashing_keyboard.py')
-rw-r--r-- | flashing_keyboard/flashing_keyboard.py | 5 |
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) |