From 22ee0df38cb945775c53669bdaf5130bb3fbc7ac Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Fri, 19 Mar 2010 18:27:13 +0100 Subject: Only offer to open files with safe mime types Changed the "Open" button to "Download" when the mime type of the file is not considered safe for opening. Bug #361559 --- embed/ephy-embed.c | 1 + 1 file changed, 1 insertion(+) (limited to 'embed') diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index acc4e94f5..46ed19294 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -733,6 +733,7 @@ confirm_action_from_mime (WebKitWebView *web_view, "it could potentially damage your documents or " "invade your privacy. You can download it instead."), mime_description, suggested_filename); + action_label = STOCK_DOWNLOAD; } else if (action == DOWNLOAD_ACTION_OPEN && helper_app) { dialog = gtk_message_dialog_new (GTK_WINDOW (parent_window), GTK_DIALOG_DESTROY_WITH_PARENT, -- cgit v1.2.3