summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/custom_button.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 01:03:37 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 01:03:37 +0000
commit32d8383bc71b0f2652287081c54b9acee911bd57 (patch)
treeb3579eea8561c94bb505f7c096e10632b4d69628 /chrome/browser/gtk/custom_button.cc
parentdbaae79fc18a7de4bdebe031d9021b6204d91059 (diff)
downloadchromium_src-32d8383bc71b0f2652287081c54b9acee911bd57.zip
chromium_src-32d8383bc71b0f2652287081c54b9acee911bd57.tar.gz
chromium_src-32d8383bc71b0f2652287081c54b9acee911bd57.tar.bz2
GTK: Add hover effects for GtkChromeButtons.
Similar to the previous patch for CustomButtons. BUG=36760 TEST=manual Review URL: http://codereview.chromium.org/676001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/custom_button.cc')
-rw-r--r--chrome/browser/gtk/custom_button.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/custom_button.cc b/chrome/browser/gtk/custom_button.cc
index 5a591d3..1c2fe35 100644
--- a/chrome/browser/gtk/custom_button.cc
+++ b/chrome/browser/gtk/custom_button.cc
@@ -210,7 +210,7 @@ gboolean CustomDrawHoverController::OnLeave(
GtkWidget* widget,
GdkEventCrossing* event,
CustomDrawHoverController* controller) {
- // When the user is holding a mouse button, we don't want to animste.
+ // When the user is holding a mouse button, we don't want to animate.
if (event->state & (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | GDK_BUTTON3_MASK))
controller->slide_animation_.Reset();
else