[gnoduino/gnoduino-0-3-0] Bug 670471 - Serial Terminal send doesn't seem to work
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnoduino/gnoduino-0-3-0] Bug 670471 - Serial Terminal send doesn't seem to work
- Date: Sun, 4 Mar 2012 23:09:26 +0000 (UTC)
commit 9bb03b86f045f3eb79c7d3e5e9ea3abbbfb0f4ee
Author: Lucian Langa <lucilanga gnome org>
Date: Mon Mar 5 00:04:37 2012 +0100
Bug 670471 - Serial Terminal send doesn't seem to work
src/ui.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/ui.py b/src/ui.py
index c980dd6..96f93aa 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -488,6 +488,7 @@ def createScon():
gui.set_data("baudHBox", bb)
text = gtk.Entry()
text.connect("activate", serSendText)
+ s.connect("clicked", serSendTextButton, text)
hbox.pack_start(bb, False, False, 3)
hbox.pack_start(text, True, True, 3)
hbox.pack_start(s, False, False, 3)
@@ -499,6 +500,9 @@ def createScon():
createBaudCombo(None, config.cur_serial_port)
return (vbox, tmp)
+def serSendTextButton(w, data=None):
+ serSendText(data, None)
+
buttons = [
("compile", "compile.png", compile),
("stop", "stop.png", stop),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]