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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.cc

Issue 14533004: Start menu shortcuts for apps on Windows are now inside a "Chrome Apps" submenu. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index 53449e63ff8d2074601ce2a095285f5e39216e0c..8b6bed046859287036d9dfa72b0e2d16f2d67f1d 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -27,6 +27,7 @@
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "googleurl/src/gurl.h"
+#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "grit/theme_resources.h"
@@ -377,6 +378,8 @@ bool CreateApplicationShortcutView::Accept() {
creation_locations.on_desktop = desktop_check_box_->checked();
creation_locations.in_applications_menu = menu_check_box_ == NULL ? false :
menu_check_box_->checked();
+ creation_locations.applications_menu_subdir =
+ l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME);
#if defined(OS_WIN)
creation_locations.in_quick_launch_bar = quick_launch_check_box_ == NULL ?

Powered by Google App Engine
This is Rietveld 408576698