Fix #755444 (Connect/share icon to show content server running)

This commit is contained in:
Kovid Goyal 2011-04-09 08:37:56 -06:00
parent d39e1b2178
commit 173a7dfc31
2 changed files with 4 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -165,6 +165,10 @@ class ConnectShareAction(InterfaceAction):
def content_server_state_changed(self, running):
self.share_conn_menu.server_state_changed(running)
if running:
self.qaction.setIcon(QIcon(I('connect_share_on.png')))
else:
self.qaction.setIcon(QIcon(I('connect_share.png')))
def toggle_content_server(self):
if self.gui.content_server is None: