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

Issue 187001: GTK: Implement the bookmark bar chevron.... (Closed)

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

Description

GTK: Implement the bookmark bar chevron. I didn't use the native GtkToolbar version of this because, as usual, GTK doesn't give us enough flexibility to do what we want. But it wasn't too hard or super hacky to re-implement it. The chromium version (and hence the Windows version) looks bad. This is not my fault. I don't know why it points right rather than down, when the menu pops down, not to the right. This is why I used a down arrow for the GTK version rather than matching with a right arrow. BUG=15845 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25200

Patch Set 1 #

Patch Set 2 : update in more places #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -3 lines) Patch
M chrome/browser/gtk/bookmark_bar_gtk.h View 4 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/gtk/bookmark_bar_gtk.cc View 1 11 chunks +80 lines, -3 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
Evan Stade
11 years, 3 months ago (2009-09-02 01:12:47 UTC) #1
Elliot Glaysher
LGTM, one thing to think about? http://codereview.chromium.org/187001/diff/2001/2003 File chrome/browser/gtk/bookmark_bar_gtk.cc (right): http://codereview.chromium.org/187001/diff/2001/2003#newcode427 Line 427: gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_NONE) ...
11 years, 3 months ago (2009-09-02 01:19:39 UTC) #2
Evan Stade
no, it's not that big. Even without sizing it it's approximately the size of the ...
11 years, 3 months ago (2009-09-02 01:23:33 UTC) #3
Elliot Glaysher
It tries to fill it's allocation. Anyway, if it's not a problem, LGTM. On Tue, ...
11 years, 3 months ago (2009-09-02 01:24:55 UTC) #4
tony
I think chevrons normally point to the right or left to indicate that there is ...
11 years, 3 months ago (2009-09-02 20:24:09 UTC) #5
Evan Stade
On Wed, Sep 2, 2009 at 1:24 PM, <tony@chromium.org> wrote: > I think chevrons normally ...
11 years, 3 months ago (2009-09-02 20:44:41 UTC) #6
tony
I see. I like the Windows chevron better (it's not actually a chevron in linux), ...
11 years, 3 months ago (2009-09-03 00:02:33 UTC) #7
Evan Stade
11 years, 3 months ago (2009-09-03 00:51:59 UTC) #8
On Wed, Sep 2, 2009 at 5:02 PM, <tony@chromium.org> wrote:
> I see. =A0I like the Windows chevron better (it's not actually a chevron
> in linux), but this seems to follow platform convention. =A0LGTM.
>
> http://codereview.chromium.org/187001
>

With some GTK themes, the arrow is a triangle. In other themes, it is
a chevron (although not a double chevron like the Windows one).

-- Evan Stade

Powered by Google App Engine
This is Rietveld 408576698