diff options
Diffstat (limited to 'src/fe-gtk/fe-gtk.c')
-rw-r--r-- | src/fe-gtk/fe-gtk.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index e26fb6d0..1ec5debd 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -56,6 +56,10 @@ #include <gdk/gdkx.h> #endif +#ifdef USE_LIBCANBERRA +#include <canberra-gtk.h> +#endif + GdkPixmap *channelwin_pix; @@ -671,6 +675,12 @@ fe_beep (session *sess) Beep (1000, 50); } #else +#ifdef USE_LIBCANBERRA + if (ca_context_play (ca_gtk_context_get (), 0, + CA_PROP_APPLICATION_NAME, DISPLAY_NAME, + CA_PROP_EVENT_ID, "message-new-instant", NULL) == 0) + return; +#endif gdk_beep (); #endif } |