mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-15 05:24:54 +01:00
Fix #755444 (Connect/share icon to show content server running)
This commit is contained in:
parent
d39e1b2178
commit
173a7dfc31
2 changed files with 4 additions and 0 deletions
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
|
|
@ -165,6 +165,10 @@ def build_email_entries(self):
|
|||
|
||||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue