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

Unified Diff: chrome/browser/ui/views/app_list/app_list_controller_win.cc

Issue 11417120: Setting Windows Text for App Launcher. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/app_list/app_list_controller_win.cc
diff --git a/chrome/browser/ui/views/app_list/app_list_controller_win.cc b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
index aaefdb211b1e427c60c18d7ef4744eb90c9ce150..5d347c3f7952dbbdac03284e1c11d1f5c8a9a822 100644
--- a/chrome/browser/ui/views/app_list/app_list_controller_win.cc
+++ b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
@@ -235,10 +235,10 @@ void AppListController::ShowAppList() {
current_view_->GetWidget()->GetTopLevelWidget()->GetNativeWindow();
ui::win::SetAppIdForWindow(GetAppModelId(), hwnd);
CommandLine relaunch = GetAppListCommandLine();
+ string16 app_name(l10n_util::GetStringUTF16(IDS_APP_LIST_SHORTCUT_NAME));
ui::win::SetRelaunchDetailsForWindow(
- relaunch.GetCommandLineString(),
- l10n_util::GetStringUTF16(IDS_APP_LIST_SHORTCUT_NAME),
- hwnd);
+ relaunch.GetCommandLineString(), app_name, hwnd);
+ ::SetWindowText(hwnd, app_name.c_str());
string16 icon_path = GetAppListIconPath();
ui::win::SetAppIconForWindow(icon_path, hwnd);
current_view_->Show();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698