diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-03-20 01:27:13 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <gns@gnome.org> | 2010-03-26 06:35:00 +0800 |
commit | 22ee0df38cb945775c53669bdaf5130bb3fbc7ac (patch) | |
tree | bef08390ead32d1ee0572b57d831d9563067195b | |
parent | b2269fecb781a7dc1da3783f924ee178e5fc68ce (diff) | |
download | gsoc2013-epiphany-22ee0df38cb945775c53669bdaf5130bb3fbc7ac.tar gsoc2013-epiphany-22ee0df38cb945775c53669bdaf5130bb3fbc7ac.tar.gz gsoc2013-epiphany-22ee0df38cb945775c53669bdaf5130bb3fbc7ac.tar.bz2 gsoc2013-epiphany-22ee0df38cb945775c53669bdaf5130bb3fbc7ac.tar.lz gsoc2013-epiphany-22ee0df38cb945775c53669bdaf5130bb3fbc7ac.tar.xz gsoc2013-epiphany-22ee0df38cb945775c53669bdaf5130bb3fbc7ac.tar.zst gsoc2013-epiphany-22ee0df38cb945775c53669bdaf5130bb3fbc7ac.zip |
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
-rw-r--r-- | embed/ephy-embed.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |