From 5e23ba3adb23ad819ad35e9fb047ca17b7e6e2ef Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 3 Mar 2006 16:57:44 +0000 Subject: [PATCH] add account name in disco title. Fixes #1643 --- src/disco.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/disco.py b/src/disco.py index fae7cc593..db4a269af 100644 --- a/src/disco.py +++ b/src/disco.py @@ -495,7 +495,7 @@ _('Without a connection, you can not browse available services')).get_response() '''Set some initial state on the window. Separated in a method because it's handy to use within browser's cleanup method.''' self.progressbar.hide() - self.window.set_title(_('Service Discovery')) + self.window.set_title(_('Service Discovery using account %s') % self.account) self.banner.set_markup(''\ '%s\n' % _('Service Discovery')) # FIXME: use self.banner_icon.clear() when we switch to GTK 2.8 @@ -661,8 +661,8 @@ class AgentBrowser: def _set_initial_title(self): '''Set the initial window title based on agent address.''' - self.window.window.set_title(_('Browsing %s') % \ - self._get_agent_address()) + self.window.window.set_title(_('Browsing %s using account %s') % \ + (self._get_agent_address(), self.account)) self.window.banner.set_markup(''\ '%s\n' % self._get_agent_address())