aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-06-23 00:58:48 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-06-23 01:03:59 +0200
commit3fd1a19477d88f572af9b7f9d0a4b73f90012a6b (patch)
tree3a1eb5519d78f3f7396a14849c8cff54593ff5c0 /src/interface-gtk.cpp
parenta1a7d3d737f8f464ca3403dad6a0755a2d85abaa (diff)
downloadsciteco-3fd1a19477d88f572af9b7f9d0a4b73f90012a6b.tar.gz
GTK UI: beep on error
* the Curses UI does that too
Diffstat (limited to 'src/interface-gtk.cpp')
-rw-r--r--src/interface-gtk.cpp3
1 files changed, 3 insertions, 0 deletions
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();
}