[gevice/gevice_2_0] Fixed bug #690187
- From: Alejandro Valdes Jimenez <avaldes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gevice/gevice_2_0] Fixed bug #690187
- Date: Fri, 14 Dec 2012 01:19:21 +0000 (UTC)
commit 06e860127f7e973f948d187348d6cd9d66d972dd
Author: Alejandro ValdÃs Jimenez <avaldes gnome org>
Date: Thu Dec 13 22:14:30 2012 -0300
Fixed bug #690187
ChangeLog | 3 +++
src/gevice.py | 4 +++-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 40ccf65..840dad7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
2012-12-13 Alejandro ValdéJimenez <avaldes gnome org>
+ * src/gevice.py: Fixed bug #690187
+
+2012-12-13 Alejandro ValdéJimenez <avaldes gnome org>
* src/gevice.py: repair error menor.
2012-12-13 Alejandro ValdéJimenez <avaldes gnome org>
diff --git a/src/gevice.py b/src/gevice.py
index f921a96..c7ceece 100755
--- a/src/gevice.py
+++ b/src/gevice.py
@@ -405,9 +405,10 @@ class Gevice:
# get name of user selected (for ssh session)
user = "avaldes"
- port = 22
+
if (self.session == "ssh"):
+ port = 22
terminal.fork_command_full (Vte.PtyFlags.DEFAULT, None,
[self.session,'-l',user,'-p',str(port),data[1]],
[], GLib.SpawnFlags.SEARCH_PATH, None, None)
@@ -420,6 +421,7 @@ class Gevice:
[], GLib.SpawnFlags.SEARCH_PATH, None, None)
if (self.session == "telnet"):
+ port = 23
terminal.fork_command_full (Vte.PtyFlags.DEFAULT, None,
[self.session,'-l',user,data[1],str(port)],
[], GLib.SpawnFlags.SEARCH_PATH, None, None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]