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

Issue 218037: GTK: Fix overflow chevron for RTL locales. (Closed)

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

Description

GTK: Fix overflow chevron for RTL locales. BUG=22872 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27165

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M chrome/browser/gtk/bookmark_bar_gtk.cc View 1 chunk +11 lines, -4 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Evan Stade
11 years, 3 months ago (2009-09-24 21:07:25 UTC) #1
Evan Martin
LGTM if it works http://codereview.chromium.org/218037/diff/1/2 File chrome/browser/gtk/bookmark_bar_gtk.cc (right): http://codereview.chromium.org/218037/diff/1/2#newcode471 Line 471: bookmark_toolbar_.get()->allocation.x - extra_space); It's ...
11 years, 3 months ago (2009-09-24 21:12:05 UTC) #2
Evan Stade
11 years, 3 months ago (2009-09-24 21:15:41 UTC) #3
http://codereview.chromium.org/218037/diff/1/2
File chrome/browser/gtk/bookmark_bar_gtk.cc (right):

http://codereview.chromium.org/218037/diff/1/2#newcode471
Line 471: bookmark_toolbar_.get()->allocation.x - extra_space);
On 2009/09/24 21:12:05, Evan Martin wrote:
> It's confusing to me what origins these allocation.x values are relative to. 
:(

they are relative to the parent GdkWindow that they both share. It was in error
that I didn't take into account the toolbar's allocation.x before, but it didn't
matter because it's always (?) 0 for LTR since the toolbar is the first thing on
the bookmark bar.

Powered by Google App Engine
This is Rietveld 408576698