Move log message
This commit is contained in:
parent
2eb2039a3f
commit
a50cedaa6b
2 changed files with 1 additions and 1 deletions
|
@ -882,6 +882,7 @@ class HtmlTextView(Gtk.TextView):
|
|||
def show_context_menu(self, uri):
|
||||
menu = get_conv_context_menu(self.account, uri)
|
||||
if menu is None:
|
||||
log.warning('No handler for URI type: %s', uri)
|
||||
return
|
||||
|
||||
def destroy(menu, _pspec):
|
||||
|
|
|
@ -961,7 +961,6 @@ def get_conv_context_menu(account, uri):
|
|||
('-add-contact', _('Add to Roster…')),
|
||||
]
|
||||
else:
|
||||
log.warning('No handler for URI type: %s', uri)
|
||||
return
|
||||
|
||||
menu = Gtk.Menu()
|
||||
|
|
Loading…
Add table
Reference in a new issue