set transient_for for 'This service does not contain any items to browse.'
This commit is contained in:
parent
928b7b67ba
commit
ef5ba6e83a
|
@ -1127,7 +1127,8 @@ class AgentBrowser:
|
||||||
# We can't travel anywhere else.
|
# We can't travel anywhere else.
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
dialogs.ErrorDialog(_('The service is not browsable'),
|
dialogs.ErrorDialog(_('The service is not browsable'),
|
||||||
_('This service does not contain any items to browse.'))
|
_('This service does not contain any items to browse.'),
|
||||||
|
transient_for=self.window.window)
|
||||||
return
|
return
|
||||||
# We got a list of items
|
# We got a list of items
|
||||||
def fill_partial_rows(items):
|
def fill_partial_rows(items):
|
||||||
|
|
Loading…
Reference in New Issue