Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Franz König
gajim-plugins
Commits
19acf229
Commit
19acf229
authored
Oct 13, 2018
by
Philipp Hörist
Browse files
[omemo] Keep compatibility with Gtk 3.20
parent
312fd98e
Changes
2
Hide whitespace changes
Inline
Side-by-side
omemo/gtk/config.py
View file @
19acf229
...
...
@@ -220,10 +220,10 @@ class OMEMOConfigDialog(GajimPluginConfigDialog):
pixbuf
=
GdkPixbuf
.
Pixbuf
.
new_from_file
(
path
)
self
.
qrcode
.
set_from_pixbuf
(
pixbuf
)
self
.
qrcode
.
show
()
self
.
qrinfo
.
set_revealed
(
False
)
self
.
qrinfo
.
hide
(
)
else
:
self
.
qrinfo
.
set_revealed
(
True
)
self
.
qrcode
.
hide
()
self
.
qrinfo
.
show
()
def
human_hash
(
self
,
fpr
):
fpr
=
fpr
.
upper
()
...
...
omemo/gtk/config.ui
View file @
19acf229
...
...
@@ -33,8 +33,8 @@
<child>
<object
class=
"GtkInfoBar"
id=
"qrinfo"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"no_show_all"
>
True
</property>
<property
name=
"margin_bottom"
>
6
</property>
<property
name=
"revealed"
>
False
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
>
<property
name=
"can_focus"
>
False
</property>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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