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
Bronko
gajim
Commits
82b6cd66
Commit
82b6cd66
authored
Jan 01, 2020
by
Philipp Hörist
Browse files
PluginWindow: add get_notebook()
So plugins can access the notebook more easily
parent
e726b1bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/plugins/gui.py
View file @
82b6cd66
...
...
@@ -133,6 +133,10 @@ def __init__(self):
self
.
window
.
show_all
()
def
get_notebook
(
self
):
# Used by plugins
return
self
.
plugins_notebook
def
on_key_press_event
(
self
,
widget
,
event
):
if
event
.
keyval
==
Gdk
.
KEY_Escape
:
self
.
window
.
destroy
()
...
...
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