diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-07 15:42:11 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-07 15:42:11 +0000 |
commit | 0b1a7f40e61903b2dac0bc07ce7c5ecdf800e956 (patch) | |
tree | d8577a94871dd68efb8f1f123e634a3af1f39ec3 /vcl/unx | |
parent | c6f1323e4c4b4e501abcc41514564a3a976357a8 (diff) |
INTEGRATION: CWS unifysound01_DEV300 (1.67.12); FILE MERGED
2008/01/15 16:18:19 cmc 1.67.12.4: RESYNC: (1.71-1.72); FILE MERGED
2007/10/16 08:32:30 cmc 1.67.12.3: RESYNC: (1.69-1.71); FILE MERGED
2007/10/04 22:19:17 cmc 1.67.12.2: RESYNC: (1.67-1.69); FILE MERGED
2007/08/10 12:09:20 cmc 1.67.12.1: #i80572# SHUT-UP with all the extra beeping
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/window/gtkframe.cxx | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx index 9818dd7b6e62..5c420466e678 100644 --- a/vcl/unx/gtk/window/gtkframe.cxx +++ b/vcl/unx/gtk/window/gtkframe.cxx @@ -4,9 +4,9 @@ * * $RCSfile: gtkframe.cxx,v $ * - * $Revision: 1.74 $ + * $Revision: 1.75 $ * - * last change: $Author: rt $ $Date: 2008-01-29 16:21:11 $ + * last change: $Author: kz $ $Date: 2008-03-07 16:42:11 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2134,9 +2134,17 @@ void GtkSalFrame::UpdateSettings( AllSettings& rSettings ) ReleaseGraphics( pGraphics ); } -void GtkSalFrame::Beep( SoundType /*eType*/ ) +void GtkSalFrame::Beep( SoundType eType ) { - gdk_display_beep( getGdkDisplay() ); + switch( eType ) + { + case SOUND_DEFAULT: + case SOUND_ERROR: + gdk_display_beep( getGdkDisplay() ); + break; + default: + break; + } } const SystemEnvData* GtkSalFrame::GetSystemData() const |