mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #755444 (Connect/share icon to show content server running)
This commit is contained in:
parent
d39e1b2178
commit
173a7dfc31
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -165,6 +165,10 @@ class ConnectShareAction(InterfaceAction):
|
|||||||
|
|
||||||
def content_server_state_changed(self, running):
|
def content_server_state_changed(self, running):
|
||||||
self.share_conn_menu.server_state_changed(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):
|
def toggle_content_server(self):
|
||||||
if self.gui.content_server is None:
|
if self.gui.content_server is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user