From 3fd1a19477d88f572af9b7f9d0a4b73f90012a6b Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 23 Jun 2015 00:58:48 +0200 Subject: GTK UI: beep on error * the Curses UI does that too --- src/interface-gtk.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/interface-gtk.cpp') diff --git a/src/interface-gtk.cpp b/src/interface-gtk.cpp index d46e91e..e01a2eb 100644 --- a/src/interface-gtk.cpp +++ b/src/interface-gtk.cpp @@ -191,6 +191,9 @@ InterfaceGtk::vmsg_impl(MessageType type, const gchar *fmt, va_list ap) type2gtk[type]); gtk_label_set_text(GTK_LABEL(message_widget), buf); + if (type == MSG_ERROR) + gtk_widget_error_bell(window); + gdk_threads_leave(); } -- cgit v1.2.3