Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
gajim
gajim-plugins
Commits
03a8f809
Commit
03a8f809
authored
Aug 19, 2019
by
Daniel Brötzmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[omemo] Fix NewConfirmationDialog usage in key dialog
parent
d81c7ab5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
omemo/gtk/key.py
omemo/gtk/key.py
+3
-5
No files found.
omemo/gtk/key.py
View file @
03a8f809
...
...
@@ -26,7 +26,6 @@ from gi.repository import Gtk
from
gi.repository
import
GdkPixbuf
from
gajim.common
import
app
from
gajim.common.const
import
ButtonAction
from
gajim.plugins.plugins_i18n
import
_
from
gajim.plugins.helpers
import
get_builder
from
gajim.gtk.dialogs
import
NewConfirmationDialog
...
...
@@ -284,11 +283,10 @@ class KeyRow(Gtk.ListBoxRow):
_
(
'Delete Fingerprint'
),
_
(
'Doing so will permanently delete this Fingerprint'
),
[
DialogButton
.
make
(
'Cancel'
),
DialogButton
.
make
(
'
OK
'
,
DialogButton
.
make
(
'
Remove
'
,
text
=
_
(
'Delete'
),
callback
=
_remove
,
action
=
ButtonAction
.
DESTRUCTIVE
)],
transient_for
=
self
.
get_toplevel
())
callback
=
_remove
)],
transient_for
=
self
.
get_toplevel
()).
show
()
def
set_trust
(
self
):
icon_name
,
tooltip
,
css_class
=
TRUST_DATA
[
self
.
trust
]
...
...
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