[form_handler] Adapt to Gajim changes

This commit is contained in:
wurstsalat
2021-10-25 22:01:28 +02:00
parent 92e27970f7
commit 48aca845a5
3 changed files with 6 additions and 17 deletions

View File

@@ -16,14 +16,8 @@
from gi.repository import Gtk
from gajim.common import app
def get_button(label, data, callback):
button = Gtk.Button(label=label)
button.connect('clicked', callback, data)
return button
def find_control(account, jid):
return app.interface.msg_win_mgr.get_control(jid, account)