summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-26 22:43:47 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-26 22:43:47 +0000
commit86391270e900c23e2c5fc202a1df627115b10672 (patch)
treed73895fc3185415026aa8a2b5d0da92303eac293
parenta05704154e821610ee1d3f4a21e5d9a46a6e9f8d (diff)
downloadchromium_src-86391270e900c23e2c5fc202a1df627115b10672.zip
chromium_src-86391270e900c23e2c5fc202a1df627115b10672.tar.gz
chromium_src-86391270e900c23e2c5fc202a1df627115b10672.tar.bz2
GTK: disable the find bar error bell.
this is potentially temporary BUG=27635 TEST=search for something that doesn't exist in the page Review URL: http://codereview.chromium.org/548154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37159 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/gtk/find_bar_gtk.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc
index 4da0575..56dc7cc 100644
--- a/chrome/browser/gtk/find_bar_gtk.cc
+++ b/chrome/browser/gtk/find_bar_gtk.cc
@@ -387,7 +387,11 @@ void FindBarGtk::UpdateUIForFindResult(const FindNotificationDetails& result,
}
void FindBarGtk::AudibleAlert() {
- gtk_widget_error_bell(widget());
+ // This call causes a lot of weird bugs, especially when using the custom
+ // frame. TODO(estade): if people complain, re-enable it. See
+ // http://crbug.com/27635 and others.
+ //
+ // gtk_widget_error_bell(widget());
}
gfx::Rect FindBarGtk::GetDialogPosition(gfx::Rect avoid_overlapping_rect) {