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

Unified Diff: remoting/host/disconnect_window_linux.cc

Issue 7613004: Split Chromoting's Disconnect button text into 2 parts: name + hotkeys. (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 | « remoting/host/disconnect_window.cc ('k') | remoting/host/disconnect_window_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window_linux.cc
diff --git a/remoting/host/disconnect_window_linux.cc b/remoting/host/disconnect_window_linux.cc
index bfd2e1c5708f7ecfbea8d1cc680f8bb890565b50..280c43dec5a4e15d959b07ef47d51e5b12cd7175 100644
--- a/remoting/host/disconnect_window_linux.cc
+++ b/remoting/host/disconnect_window_linux.cc
@@ -45,11 +45,13 @@ DisconnectWindowLinux::~DisconnectWindowLinux() {
void DisconnectWindowLinux::CreateWindow() {
if (disconnect_window_) return;
+ std::string disconnect_button(kDisconnectButton);
+ disconnect_button += kDisconnectKeysLinux;
disconnect_window_ = gtk_dialog_new_with_buttons(
kTitle,
NULL,
GTK_DIALOG_NO_SEPARATOR,
- kDisconnectButton, GTK_RESPONSE_OK,
+ disconnect_button.c_str(), GTK_RESPONSE_OK,
NULL);
GtkWindow* window = GTK_WINDOW(disconnect_window_);
« no previous file with comments | « remoting/host/disconnect_window.cc ('k') | remoting/host/disconnect_window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698