summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-04 23:35:26 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-04 23:35:26 +0000
commitba311a76a5281ac15ab034725047f5e769162e90 (patch)
treec3c6c03694d2ddc1d6b45b0350067485c7e66fed /chrome/common
parent76e908db3da9be77c373f5da5bfda50fe4552e9a (diff)
downloadchromium_src-ba311a76a5281ac15ab034725047f5e769162e90.zip
chromium_src-ba311a76a5281ac15ab034725047f5e769162e90.tar.gz
chromium_src-ba311a76a5281ac15ab034725047f5e769162e90.tar.bz2
GTK: unbreak right click on bookmark bar folders.
BUG=34416 TEST=right, middle, and left click on bookmark bar folder all do what they should Review URL: http://codereview.chromium.org/576008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/gtk_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h
index ab0e538..f1bc1b6 100644
--- a/chrome/common/gtk_util.h
+++ b/chrome/common/gtk_util.h
@@ -134,6 +134,8 @@ void EnumerateTopLevelWindows(x11_util::EnumerateWindowsDelegate* delegate);
// Set that clicking the button with the given mouse buttons will cause a click
// event.
+// NOTE: If you need to connect to the button-press-event or
+// button-release-event signals, do so before calling this function.
void SetButtonClickableByMouseButtons(GtkWidget* button,
bool left, bool middle, bool right);