Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Issue 159158: Make middle-clicking on GTK tabs not count for closing if you release off of ... (Closed)

Created:
11 years, 5 months ago by brettw
Modified:
9 years, 7 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Make middle-clicking on GTK tabs not count for closing if you release off of the tab itself. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21221

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/browser/gtk/tabs/tab_gtk.cc View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
brettw
This was just something random that was annoying me.
11 years, 5 months ago (2009-07-21 21:29:40 UTC) #1
Evan Stade
11 years, 5 months ago (2009-07-21 21:43:09 UTC) #2
lgtm with nit

http://codereview.chromium.org/159158/diff/1/2
File chrome/browser/gtk/tabs/tab_gtk.cc (right):

http://codereview.chromium.org/159158/diff/1/2#newcode182
Line 182: event->x < tab->bounds().width() && event->y < tab->bounds().height())
{
I think it would be better to use widget->allocation.width/height

Powered by Google App Engine
This is Rietveld 408576698