Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim-plugins
Commits
537f6c78
Commit
537f6c78
authored
Mar 15, 2017
by
Philipp Hörist
Browse files
[flashing] Fix close button
parent
8c3aa973
Changes
1
Hide whitespace changes
Inline
Side-by-side
flashing_keyboard/flashing_keyboard.py
View file @
537f6c78
...
@@ -89,7 +89,6 @@ class FlashingKeyboardPluginConfigDialog(GajimPluginConfigDialog):
...
@@ -89,7 +89,6 @@ class FlashingKeyboardPluginConfigDialog(GajimPluginConfigDialog):
config_table
=
self
.
xml
.
get_object
(
'config_table'
)
config_table
=
self
.
xml
.
get_object
(
'config_table'
)
self
.
get_child
().
pack_start
(
config_table
,
True
,
True
,
0
)
self
.
get_child
().
pack_start
(
config_table
,
True
,
True
,
0
)
self
.
xml
.
connect_signals
(
self
)
self
.
xml
.
connect_signals
(
self
)
self
.
connect
(
'hide'
,
self
.
on_close_button_clicked
)
def
on_run
(
self
):
def
on_run
(
self
):
self
.
isactive
=
self
.
plugin
.
active
self
.
isactive
=
self
.
plugin
.
active
...
@@ -110,3 +109,4 @@ class FlashingKeyboardPluginConfigDialog(GajimPluginConfigDialog):
...
@@ -110,3 +109,4 @@ class FlashingKeyboardPluginConfigDialog(GajimPluginConfigDialog):
self
.
plugin
.
config
[
'flash'
]
=
not
widget
.
get_active
()
self
.
plugin
.
config
[
'flash'
]
=
not
widget
.
get_active
()
if
self
.
isactive
:
if
self
.
isactive
:
gajim
.
plugin_manager
.
activate_plugin
(
self
.
plugin
)
gajim
.
plugin_manager
.
activate_plugin
(
self
.
plugin
)
GajimPluginConfigDialog
.
on_close_button_clicked
(
self
,
widget
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment