| Index: chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc (revision 133458)
|
| +++ chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc (working copy)
|
| @@ -42,9 +42,10 @@
|
|
|
| void ExtensionKeybindingRegistryGtk::AddExtensionKeybinding(
|
| const Extension* extension) {
|
| - // Add all the keybindings (except pageAction and browserAction, which are
|
| - // handled elsewhere).
|
| - const Extension::CommandMap& commands = extension->named_commands();
|
| + // Add all the active keybindings (except page actions and browser actions,
|
| + // which are handled elsewhere).
|
| + const Extension::CommandMap& commands =
|
| + GetActiveNamedCommands(profile_, extension->id());
|
| Extension::CommandMap::const_iterator iter = commands.begin();
|
| for (; iter != commands.end(); ++iter) {
|
| ui::AcceleratorGtk accelerator(iter->second.accelerator().key_code(),
|
|
|