[hotssh] tab: Disable audible bell in terminal



commit 2eebbb8f8e9e3264badeac21fa37b9c75497fb0e
Author: Colin Walters <walters verbum org>
Date:   Thu Nov 7 08:30:12 2013 -0500

    tab: Disable audible bell in terminal
    
    Sooooo annoying.

 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 73332d8..49e0fb0 100644
--- a/src/hotssh-tab.c
+++ b/src/hotssh-tab.c
@@ -560,6 +560,7 @@ hotssh_tab_init (HotSshTab *self)
   g_signal_connect_swapped (priv->password_submit, "clicked", G_CALLBACK (submit_password), self);
 
   priv->terminal = vte_terminal_new ();
+  vte_terminal_set_audible_bell ((VteTerminal*)priv->terminal, FALSE);  /* Audible bell is a terrible idea */
   g_signal_connect ((GObject*)priv->terminal, "size-allocate", G_CALLBACK (on_terminal_size_allocate), self);
   g_signal_connect ((GObject*)priv->terminal, "commit", G_CALLBACK (on_terminal_commit), self);
   gtk_box_pack_start ((GtkBox*)priv->terminal_box, (GtkWidget*)priv->terminal, TRUE, TRUE, 0);


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