Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits: a550aba5 by wurstsalat at 2021-09-05T22:17:19+02:00 GUI Menu Builder: Improve imports
- - - - -
1 changed file:
- gajim/gui_menu_builder.py
Changes:
===================================== gajim/gui_menu_builder.py ===================================== @@ -19,9 +19,9 @@ from gi.repository import GLib
from gajim.common import app -from gajim.common import helpers from gajim.common.helpers import is_affiliation_change_allowed from gajim.common.helpers import is_role_change_allowed +from gajim.common.helpers import jid_is_blocked from gajim.common.i18n import _ from gajim.common.const import URIType from gajim.common.const import URIAction @@ -321,7 +321,7 @@ def get_conv_context_menu(account, uri):
def get_roster_menu(account, jid, transport=False): - if helpers.jid_is_blocked(account, jid): + if jid_is_blocked(account, jid): block_label = _('Unblock') else: block_label = _('Block…')
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a550aba5acb110526ed38efc744b59001...