diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 22:30:29 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 22:30:29 +0000 |
commit | 9cd51a0e44204fafedef26e6c035462e8ca15bde (patch) | |
tree | 48eb1f889aff03d373ce21eb375d4520a4640f59 /chrome/browser/views/toolbar_view.cc | |
parent | 771d49f6de40b0b107caf1e823ad7fc6bfdb1ba7 (diff) | |
download | chromium_src-9cd51a0e44204fafedef26e6c035462e8ca15bde.zip chromium_src-9cd51a0e44204fafedef26e6c035462e8ca15bde.tar.gz chromium_src-9cd51a0e44204fafedef26e6c035462e8ca15bde.tar.bz2 |
Add the Extensinos menu item to GTK.
Also change windows so that it always shows the Extensions menu item, but greys it out if it's disabled.
BUG=25424
Review URL: http://codereview.chromium.org/316017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/toolbar_view.cc')
-rw-r--r-- | chrome/browser/views/toolbar_view.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc index 8ba0e5c..f5732c16 100644 --- a/chrome/browser/views/toolbar_view.cc +++ b/chrome/browser/views/toolbar_view.cc @@ -1166,12 +1166,8 @@ void ToolbarView::CreateAppMenu() { IDS_SHOW_DOWNLOADS); // Create the manage extensions menu item. - ExtensionsService* extensions_service = - browser_->profile()->GetExtensionsService(); - if (extensions_service && extensions_service->extensions_enabled()) { - app_menu_contents_->AddItemWithStringId(IDC_MANAGE_EXTENSIONS, - IDS_SHOW_EXTENSIONS); - } + app_menu_contents_->AddItemWithStringId(IDC_MANAGE_EXTENSIONS, + IDS_SHOW_EXTENSIONS); app_menu_contents_->AddSeparator(); #if defined(BROWSER_SYNC) |