This commit is contained in:
Charles Haley 2012-09-27 18:59:45 +02:00
parent 52dea1a51e
commit f633c815c4

View File

@ -95,7 +95,7 @@ class ShareConnMenu(QMenu): # {{{
cs_port = content_server_config().parse().port cs_port = content_server_config().parse().port
ip_text = ' [%s, port %d]'%(listen_on, cs_port) ip_text = ' [%s, port %d]'%(listen_on, cs_port)
except: except:
ip_text = ''; ip_text = ' [%s]'%listen_on;
text = _('Stop Content Server') + ip_text text = _('Stop Content Server') + ip_text
self.toggle_server_action.setText(text) self.toggle_server_action.setText(text)