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

Issue 7316017: gtk: Fix alt-f/e to bring up the wrench menu. (Closed)

Created:
9 years, 5 months ago by sadrul
Modified:
9 years, 5 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews
Visibility:
Public.

Description

gtk: Fix alt-f/e to bring up the wrench menu. The invisible GtkMenuBar eats up alt-f, alt-e and other accelerators for the top-level items. So make sure these items don't have any accelerators. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91790

Patch Set 1 #

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

Messages

Total messages: 5 (0 generated)
sadrul
9 years, 5 months ago (2011-07-07 04:00:34 UTC) #1
Elliot Glaysher
LGTM as long as this doesn't remove the accelerators from the actual menu items (I ...
9 years, 5 months ago (2011-07-07 17:15:17 UTC) #2
sadrul
On 2011/07/07 17:15:17, Elliot Glaysher wrote: > LGTM as long as this doesn't remove the ...
9 years, 5 months ago (2011-07-07 17:22:34 UTC) #3
sadrul
On 2011/07/07 17:22:34, sadrul wrote: > On 2011/07/07 17:15:17, Elliot Glaysher wrote: > > LGTM ...
9 years, 5 months ago (2011-07-07 17:44:37 UTC) #4
Elliot Glaysher
9 years, 5 months ago (2011-07-07 17:46:17 UTC) #5
Land it.

On Thu, Jul 7, 2011 at 10:44 AM,  <sadrul@chromium.org> wrote:
> On 2011/07/07 17:22:34, sadrul wrote:
>>
>> On 2011/07/07 17:15:17, Elliot Glaysher wrote:
>> > LGTM as long as this doesn't remove the accelerators from the actual
>> > menu items (I assume that they are dumped in their own accelerator
>> > context?)
>
>> Yes, the menu entries in the wrench menu, or the invisible GtkMenuBar,
>
> continue
>>
>> to have the accelerators. Only the accelerators for the toplevel items in
>> the
>> menubar (File, Edit, View, History, Tools, Help) do not get set, but since
>> it
>> isn't visible anyway, it doesn't cause a problem. I do not, however, know
>> how
>
> it
>>
>> may, if at all, affect Unity.
>
> I don't have Unity available. Do you want to try it out on Unity first, or
> should I land it?
>
> http://codereview.chromium.org/7316017/
>

Powered by Google App Engine
This is Rietveld 408576698