aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2014-09-01 22:45:58 +0800
committerTomas Popela <tpopela@redhat.com>2014-09-01 22:49:19 +0800
commit198f5b7cd178deb43f99901184b44514386550e9 (patch)
treeef526ea2d86f90a0173fe1a9aac51333664492cf
parent86d2e46d59c8f2e40ba7ded99e48bf6f38925922 (diff)
downloadgsoc2013-evolution-198f5b7cd178deb43f99901184b44514386550e9.tar
gsoc2013-evolution-198f5b7cd178deb43f99901184b44514386550e9.tar.gz
gsoc2013-evolution-198f5b7cd178deb43f99901184b44514386550e9.tar.bz2
gsoc2013-evolution-198f5b7cd178deb43f99901184b44514386550e9.tar.lz
gsoc2013-evolution-198f5b7cd178deb43f99901184b44514386550e9.tar.xz
gsoc2013-evolution-198f5b7cd178deb43f99901184b44514386550e9.tar.zst
gsoc2013-evolution-198f5b7cd178deb43f99901184b44514386550e9.zip
EMailReader - Call zoom in/out methods from EWebView instead of the WebKit ones
The methods in the EWebView are limiting the zoom level.
-rw-r--r--mail/e-mail-reader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 7ef8af9fb2..162f17f90d 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -1752,7 +1752,7 @@ action_mail_zoom_100_cb (GtkAction *action,
display = e_mail_reader_get_mail_display (reader);
- webkit_web_view_set_zoom_level (WEBKIT_WEB_VIEW (display), 1.0);
+ e_web_view_zoom_100 (E_WEB_VIEW (display));
}
static void
@@ -1763,7 +1763,7 @@ action_mail_zoom_in_cb (GtkAction *action,
display = e_mail_reader_get_mail_display (reader);
- webkit_web_view_zoom_in (WEBKIT_WEB_VIEW (display));
+ e_web_view_zoom_in (E_WEB_VIEW (display));
}
static void
@@ -1774,7 +1774,7 @@ action_mail_zoom_out_cb (GtkAction *action,
display = e_mail_reader_get_mail_display (reader);
- webkit_web_view_zoom_out (WEBKIT_WEB_VIEW (display));
+ e_web_view_zoom_out (E_WEB_VIEW (display));
}
static void