[Xfce4-commits] [apps/xfce4-terminal] 01/01: Allow to unset window urgency hint even if "Visual bell" is disabled
noreply at xfce.org
noreply at xfce.org
Sun Jul 21 15:20:56 CEST 2019
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit 5932d24a175f5e2a36b1dc285d090540e719435d
Author: Igor <f2404 at yandex.ru>
Date: Sun Jul 21 09:19:52 2019 -0400
Allow to unset window urgency hint even if "Visual bell" is disabled
Fixes bug #15729
---
terminal/terminal-app.c | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/terminal/terminal-app.c b/terminal/terminal-app.c
index 08097b9..69974cc 100644
--- a/terminal/terminal-app.c
+++ b/terminal/terminal-app.c
@@ -369,18 +369,8 @@ terminal_app_unset_urgent_bell (TerminalWindow *window,
GdkEvent *event,
TerminalApp *app)
{
- GtkWidget *toplevel;
- gboolean enabled;
-
- g_object_get (G_OBJECT (app->preferences),
- "misc-bell-urgent", &enabled,
- NULL);
-
- if (enabled)
- {
- toplevel = gtk_widget_get_toplevel (GTK_WIDGET (window));
- gtk_window_set_urgency_hint (GTK_WINDOW (toplevel), FALSE);
- }
+ GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (window));
+ gtk_window_set_urgency_hint (GTK_WINDOW (toplevel), FALSE);
return FALSE;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list