[epiphany-extensions] gestures: Remove obsolete check regarding print preview.
- From: Gustavo Noronha Silva <gns src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [epiphany-extensions] gestures: Remove obsolete check regarding print preview.
- Date: Sun, 14 Feb 2010 15:41:51 +0000 (UTC)
commit 8b247975d866685627e343df8a140836451d1d85
Author: Gustavo Noronha Silva <gns gnome org>
Date: Sun Feb 14 13:35:01 2010 -0200
gestures: Remove obsolete check regarding print preview.
Epiphany no longer uses a special mode on the view to display the
print preview. This should get this extension working again.
extensions/gestures/ephy-gestures-extension.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/extensions/gestures/ephy-gestures-extension.c b/extensions/gestures/ephy-gestures-extension.c
index 3fc2b6c..cfc6d7c 100644
--- a/extensions/gestures/ephy-gestures-extension.c
+++ b/extensions/gestures/ephy-gestures-extension.c
@@ -288,13 +288,9 @@ dom_mouse_down_cb (EphyWebView *view,
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (embed));
g_return_val_if_fail (toplevel != NULL, handled);
- /* disable gestures while print preview mode */
window = EPHY_WINDOW (toplevel);
g_return_val_if_fail (EPHY_IS_WINDOW (window), handled);
- g_object_get (window, "is-print-preview", &ppv_mode, NULL);
- if (ppv_mode) return handled;
-
button = event->button;
hit_test = webkit_web_view_get_hit_test_result (WEBKIT_WEB_VIEW (view), event);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]