[hotssh] tab: Remove some dead hide/show code



commit 793594123221f0e2eeb99b32ec236591aaeae160
Author: Colin Walters <walters verbum org>
Date:   Tue Dec 31 13:30:34 2013 -0500

    tab: Remove some dead hide/show code
    
    The hostkey approval is now a separate page.

 src/hotssh-tab.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/hotssh-tab.c b/src/hotssh-tab.c
index e00d875..571477d 100644
--- a/src/hotssh-tab.c
+++ b/src/hotssh-tab.c
@@ -177,8 +177,6 @@ state_reset_for_new_connection (HotSshTab                *self)
       gtk_entry_set_text ((GtkEntry*)priv->password_entry, "");
       reset_focus_state (self);
       gtk_label_set_text ((GtkLabel*)priv->connection_text, "");
-      gtk_widget_show (priv->connection_text_container);
-      gtk_widget_hide (priv->hostkey_container);
       gtk_widget_set_sensitive (priv->password_container, TRUE);
       priv->awaiting_password_entry = priv->submitted_password = FALSE;
     }
@@ -467,8 +465,6 @@ on_connection_handshake (GObject         *object,
 
   gtk_label_set_text ((GtkLabel*)priv->hostkey_fingerprint_label,
                      hostkey_sha1_text);
-  gtk_widget_hide (priv->connection_text_container);
-  gtk_widget_show (priv->hostkey_container);
   page_transition (self, HOTSSH_TAB_PAGE_HOSTKEY);
 
  out:


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