summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/extensions/extension_install_ui.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_install_ui.cc b/chrome/browser/extensions/extension_install_ui.cc
index 135aac7..7d879c5 100644
--- a/chrome/browser/extensions/extension_install_ui.cc
+++ b/chrome/browser/extensions/extension_install_ui.cc
@@ -89,8 +89,10 @@ void ExtensionInstallUI::OnInstallFailure(const std::string& error) {
CFSTR("Extension Install Error"), message_cf,
NULL, NULL, NULL, &response);
#else
- LOG(ERROR) << "Extension install failed: " << error.c_str();
- NOTREACHED();
+ GtkWidget* dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", error.c_str());
+ gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);
#endif
}