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

Unified Diff: chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc

Issue 12207163: Revert 182318 - Broke linux build: http://build.chromium.org/p/chromium.memory/builders/Linux%20ASA… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « 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/gtk/extensions/extension_install_dialog_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc (revision 182321)
+++ chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc (working copy)
@@ -135,12 +135,10 @@
prompt.HasAbortButtonLabel() ?
UTF16ToUTF8(prompt.GetAbortButtonLabel()).c_str() : GTK_STOCK_CANCEL,
GTK_RESPONSE_CLOSE);
- if (prompt.GetDialogButtons() & ui::DIALOG_BUTTON_OK) {
- gtk_dialog_add_button(
- GTK_DIALOG(dialog_),
- UTF16ToUTF8(prompt.GetAcceptButtonLabel()).c_str(),
- GTK_RESPONSE_ACCEPT);
- }
+ gtk_dialog_add_button(
+ GTK_DIALOG(dialog_),
+ UTF16ToUTF8(prompt.GetAcceptButtonLabel()).c_str(),
+ GTK_RESPONSE_ACCEPT);
#if !GTK_CHECK_VERSION(2, 22, 0)
gtk_dialog_set_has_separator(GTK_DIALOG(dialog_), FALSE);
#endif
« 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