electrum

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

commit 4bc2a4e8055b9481cdc2e3f8f1e317bae821cee0
parent 9b4d109e3ba7d2c424ce2935790916e6dfc2cf19
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 21 Oct 2017 11:00:56 +0200

kivy: python3 imports

Diffstat:
Mgui/kivy/uix/dialogs/settings.py | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gui/kivy/uix/dialogs/settings.py b/gui/kivy/uix/dialogs/settings.py @@ -190,7 +190,7 @@ class SettingsDialog(Factory.Popup): self._proxy_dialog.open() def plugin_dialog(self, name, label, dt): - from checkbox_dialog import CheckBoxDialog + from .checkbox_dialog import CheckBoxDialog def callback(status): self.plugins.enable(name) if status else self.plugins.disable(name) label.status = 'ON' if status else 'OFF' @@ -209,14 +209,14 @@ class SettingsDialog(Factory.Popup): def fee_dialog(self, label, dt): if self._fee_dialog is None: - from fee_dialog import FeeDialog + from .fee_dialog import FeeDialog def cb(): label.status = self.fee_status() self._fee_dialog = FeeDialog(self.app, self.config, cb) self._fee_dialog.open() def boolean_dialog(self, name, title, message, dt): - from checkbox_dialog import CheckBoxDialog + from .checkbox_dialog import CheckBoxDialog CheckBoxDialog(title, message, getattr(self.app, name), lambda x: setattr(self.app, name, x)).open() def fx_status(self): @@ -230,7 +230,7 @@ class SettingsDialog(Factory.Popup): def fx_dialog(self, label, dt): if self._fx_dialog is None: - from fx_dialog import FxDialog + from .fx_dialog import FxDialog def cb(): label.status = self.fx_status() self._fx_dialog = FxDialog(self.app, self.plugins, self.config, cb)