set transient_for for 'This service does not contain any items to browse.'

This commit is contained in:
Denis Fomin 2013-11-15 20:23:41 +04:00
parent 928b7b67ba
commit ef5ba6e83a
1 changed files with 2 additions and 1 deletions

View File

@ -1127,7 +1127,8 @@ class AgentBrowser:
# We can't travel anywhere else.
self.window.destroy()
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
# We got a list of items
def fill_partial_rows(items):