From 9cd51a0e44204fafedef26e6c035462e8ca15bde Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Fri, 23 Oct 2009 22:30:29 +0000 Subject: 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 --- chrome/browser/views/toolbar_view.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'chrome/browser/views') 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) -- cgit v1.1