[epiphany] window: Remove browser plugin leftover
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] window: Remove browser plugin leftover
- Date: Sun, 16 Oct 2016 17:27:01 +0000 (UTC)
commit ee8077a743ea5e076583477f4904656b3e062251
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Oct 16 12:25:42 2016 -0500
window: Remove browser plugin leftover
src/ephy-window.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index be444d3..9499210 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1951,12 +1951,6 @@ decide_policy_cb (WebKitWebView *web_view,
if (decision_type == WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION) {
const char *frame_name = webkit_navigation_policy_decision_get_frame_name (navigation_decision);
- if (g_strcmp0 (frame_name, "_evince_download") == 0) {
- /* The Evince Browser Plugin is requesting us to downlod the document */
- webkit_policy_decision_download (decision);
- return TRUE;
- }
-
if (!g_settings_get_boolean (EPHY_SETTINGS_WEB, EPHY_PREFS_WEB_ENABLE_POPUPS) &&
!webkit_navigation_action_is_user_gesture (navigation_action)) {
webkit_policy_decision_ignore (decision);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]