From 3aa19aace6f88e86b4f76e96d11ea16911ba17a2 Mon Sep 17 00:00:00 2001 From: Amir Taaki Date: Sun, 12 Aug 2012 20:25:31 +0100 Subject: [PATCH 1/4] Rename main menu to 'Bitcoin' from 'Electrum'. --- lib/gui_lite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index 7408e736b..f86c53a7e 100644 --- a/lib/gui_lite.py +++ b/lib/gui_lite.py @@ -175,7 +175,7 @@ class MiniWindow(QDialog): main_layout.addWidget(self.send_button, 2, 1) menubar = QMenuBar() - electrum_menu = menubar.addMenu(_("&Electrum")) + electrum_menu = menubar.addMenu(_("&Bitcoin")) electrum_menu.addMenu(_("&Servers")) electrum_menu.addSeparator() electrum_menu.addAction(_("&Quit")) From bc64b2ae09a693aec6f0baaec48656dc4f808d5c Mon Sep 17 00:00:00 2001 From: Amir Taaki Date: Sun, 12 Aug 2012 20:26:48 +0100 Subject: [PATCH 2/4] disabled menu entries that dont work. --- lib/gui_lite.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index f86c53a7e..cd0e6f7e0 100644 --- a/lib/gui_lite.py +++ b/lib/gui_lite.py @@ -176,25 +176,12 @@ class MiniWindow(QDialog): menubar = QMenuBar() electrum_menu = menubar.addMenu(_("&Bitcoin")) - electrum_menu.addMenu(_("&Servers")) - electrum_menu.addSeparator() electrum_menu.addAction(_("&Quit")) view_menu = menubar.addMenu(_("&View")) expert_gui = view_menu.addAction(_("&Pro Mode")) self.connect(expert_gui, SIGNAL("triggered()"), expand_callback) - view_menu.addMenu(_("&Themes")) - view_menu.addSeparator() - view_menu.addAction(_("Show History")) - settings_menu = menubar.addMenu(_("&Settings")) - settings_menu.addAction(_("&Configure Electrum")) - - help_menu = menubar.addMenu(_("&Help")) - help_menu.addAction(_("&Contents")) - help_menu.addSeparator() - help_menu.addAction(_("&Report Bug")) - help_menu.addAction(_("&About")) main_layout.setMenuBar(menubar) quit_shortcut = QShortcut(QKeySequence("Ctrl+Q"), self) From 894ea725e9674037323f12fdb485d61c9c7df7f4 Mon Sep 17 00:00:00 2001 From: Maran Date: Mon, 13 Aug 2012 10:53:11 +0200 Subject: [PATCH 3/4] Packaging history widget --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 1a92365d2..fe3049f42 100644 --- a/setup.py +++ b/setup.py @@ -51,6 +51,7 @@ setup(name = "Electrum", 'electrum.mnemonic', 'electrum.pyqrnative', 'electrum.qrscanner', + 'electrum.history_widget', 'electrum.bmp', 'electrum.msqr', 'electrum.util', From 7d7a32e1ad942f737d9da5492eebf30fa4ec2bc1 Mon Sep 17 00:00:00 2001 From: Maran Date: Mon, 13 Aug 2012 23:55:37 +0200 Subject: [PATCH 4/4] Fix send button not activating --- lib/gui_lite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index c7ceacdd0..b1675d93e 100644 --- a/lib/gui_lite.py +++ b/lib/gui_lite.py @@ -296,7 +296,7 @@ class MiniWindow(QDialog): self.amount_input.setText("") def check_button_status(self): - if (self.address_input.property("isValid") is True and + if (self.address_input.property("isValid") == True and len(self.amount_input.text()) > 0): self.send_button.setDisabled(False) else: