electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 642258ebaa9817b03a0b2dcde602b2a15a534775
parent 858ff86660a1e1e83c754c1df31fa28cb97fc1ec
Author: ThomasV <thomasv@gitorious>
Date:   Wed, 30 Jul 2014 11:27:52 +0200

notify about interfaces

Diffstat:
Mlib/network.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/network.py b/lib/network.py @@ -200,6 +200,7 @@ class Network(threading.Thread): return i = interface.Interface(server, self.config) self.interfaces[i.server] = i + self.notify('interfaces') i.start(self.queue) return i @@ -256,6 +257,7 @@ class Network(threading.Thread): break else: self.interfaces.pop(i.server) + self.notify('interfaces') def switch_to_interface(self, interface): server = interface.server @@ -395,6 +397,7 @@ class Network(threading.Thread): self.disconnected_servers.add(i.server) if i.server in self.interfaces: self.interfaces.pop(i.server) + self.notify('interfaces') if i.server in self.heights: self.heights.pop(i.server) if i == self.interface: