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

Unified Diff: chrome/browser/ui/gtk/task_manager_gtk.cc

Issue 7582025: gtk: Add keyboard accelerator to kill a process/plug-in in Task Manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/task_manager_gtk.cc
diff --git a/chrome/browser/ui/gtk/task_manager_gtk.cc b/chrome/browser/ui/gtk/task_manager_gtk.cc
index ebcb3b8ea192818a9e7ebcea49dfb3868d70a4c4..cf908f8e893b2e59dbbd5431921b6936bb0bbb77 100644
--- a/chrome/browser/ui/gtk/task_manager_gtk.cc
+++ b/chrome/browser/ui/gtk/task_manager_gtk.cc
@@ -366,8 +366,8 @@ void TaskManagerGtk::OnItemsChanged(int start, int length) {
SetRowDataFromModel(i, &iter);
if (i != start + length - 1) {
if (!gtk_tree_model_iter_next(GTK_TREE_MODEL(process_list_), &iter)) {
- NOTREACHED() << "Can't get next GtkTreeIter object from process_list_ \
- iterator at position " << i;
+ NOTREACHED() << "Can't get next GtkTreeIter object from process_list_ "
+ "iterator at position " << i;
}
}
}
@@ -476,7 +476,8 @@ void TaskManagerGtk::Init() {
}
gtk_dialog_add_button(GTK_DIALOG(dialog_),
- l10n_util::GetStringUTF8(IDS_TASK_MANAGER_KILL).c_str(),
+ gfx::ConvertAcceleratorsFromWindowsStyle(
+ l10n_util::GetStringUTF8(IDS_TASK_MANAGER_KILL)).c_str(),
kTaskManagerResponseKill);
// The response button should not be sensitive when the dialog is first opened
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698