[hotssh/wip/libssh] tab: Disable audible bell in terminal
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hotssh/wip/libssh] tab: Disable audible bell in terminal
- Date: Thu, 7 Nov 2013 13:30:54 +0000 (UTC)
commit 2ba1b1621181e67dd41381f5d239ea7c0135f161
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]