summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-05 18:27:02 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-05 18:27:02 +0000
commit1d83fb1502098a8ea5292e48afe48f5a45b27432 (patch)
treef5958fbb6930cb0404388ef5720adb9f9049f104 /chrome/browser
parenta3ae50ee20c58b76e0e675bb488f801f883d9494 (diff)
downloadchromium_src-1d83fb1502098a8ea5292e48afe48f5a45b27432.zip
chromium_src-1d83fb1502098a8ea5292e48afe48f5a45b27432.tar.gz
chromium_src-1d83fb1502098a8ea5292e48afe48f5a45b27432.tar.bz2
Fix adjacent separators when not running with --enable-sync.
BUG=20408 TEST=Open tools menu, see that there are no instances of two adjacent separators Review URL: http://codereview.chromium.org/192032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/views/toolbar_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc
index df46370..664068d 100644
--- a/chrome/browser/views/toolbar_view.cc
+++ b/chrome/browser/views/toolbar_view.cc
@@ -1089,8 +1089,8 @@ void ToolbarView::CreateAppMenu() {
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableSync)) {
app_menu_contents_->AddItem(IDC_SYNC_BOOKMARKS,
l10n_util::GetString(IDS_SYNC_MENU_LABEL));
+ app_menu_contents_->AddSeparator();
}
- app_menu_contents_->AddSeparator();
#endif
app_menu_contents_->AddItem(IDC_OPTIONS,
l10n_util::GetStringFUTF16(