diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-06-23 00:58:48 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-06-23 01:03:59 +0200 |
commit | 3fd1a19477d88f572af9b7f9d0a4b73f90012a6b (patch) | |
tree | 3a1eb5519d78f3f7396a14849c8cff54593ff5c0 /src | |
parent | a1a7d3d737f8f464ca3403dad6a0755a2d85abaa (diff) | |
download | sciteco-3fd1a19477d88f572af9b7f9d0a4b73f90012a6b.tar.gz |
GTK UI: beep on error
* the Curses UI does that too
Diffstat (limited to 'src')
-rw-r--r-- | src/interface-gtk.cpp | 3 |
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(); } |