[hotssh] tab: Inherit hostname for new-channel



commit 2329a99bab66c12510a7895b05abf474149e8413
Author: Colin Walters <walters verbum org>
Date:   Sun Nov 17 16:54:10 2013 -0500

    tab: Inherit hostname for new-channel

 src/hotssh-tab.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/hotssh-tab.c b/src/hotssh-tab.c
index 755fe30..49ac248 100644
--- a/src/hotssh-tab.c
+++ b/src/hotssh-tab.c
@@ -794,6 +794,7 @@ hotssh_tab_new_channel  (HotSshTab *source)
   HotSshTabPrivate *source_priv = hotssh_tab_get_instance_private (source);
 
   state_reset_for_new_connection (tab);
+  priv->hostname = g_strdup (source_priv->hostname);
   priv->connection = g_object_ref (source_priv->connection);
   on_connection_state_notify (priv->connection, NULL, tab);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]