Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
a50cedaa
by Philipp Hörist at 2019-04-27T10:39:34Z
2 changed files:
Changes:
| ... | ... | @@ -882,6 +882,7 @@ class HtmlTextView(Gtk.TextView): |
| 882 | 882 |
def show_context_menu(self, uri):
|
| 883 | 883 |
menu = get_conv_context_menu(self.account, uri)
|
| 884 | 884 |
if menu is None:
|
| 885 |
+ log.warning('No handler for URI type: %s', uri)
|
|
| 885 | 886 |
return
|
| 886 | 887 |
|
| 887 | 888 |
def destroy(menu, _pspec):
|
| ... | ... | @@ -961,7 +961,6 @@ def get_conv_context_menu(account, uri): |
| 961 | 961 |
('-add-contact', _('Add to Roster…')),
|
| 962 | 962 |
]
|
| 963 | 963 |
else:
|
| 964 |
- log.warning('No handler for URI type: %s', uri)
|
|
| 965 | 964 |
return
|
| 966 | 965 |
|
| 967 | 966 |
menu = Gtk.Menu()
|