devhelp r1014 - in trunk: . src
- From: atoker svn gnome org
- To: svn-commits-list gnome org
- Subject: devhelp r1014 - in trunk: . src
- Date: Fri, 30 May 2008 05:25:30 +0000 (UTC)
Author: atoker
Date: Fri May 30 05:25:30 2008
New Revision: 1014
URL: http://svn.gnome.org/viewvc/devhelp?rev=1014&view=rev
Log:
2008-05-30 Alp Toker <alp nuanti com>
* src/dh-window.c: (window_activate_zoom_in),
(window_activate_zoom_out), (window_activate_zoom_default): Bring
back zoom support using the zoom-level property added in WebKit
r34249.
Modified:
trunk/ChangeLog
trunk/src/dh-window.c
Modified: trunk/src/dh-window.c
==============================================================================
--- trunk/src/dh-window.c (original)
+++ trunk/src/dh-window.c Fri May 30 05:25:30 2008
@@ -713,8 +713,7 @@
if (zoom_levels[priv->zoom_level].level < ZOOM_MAXIMAL) {
priv->zoom_level++;
- // FIXME: WebKit
- //webkit_web_view_set_zoom (web_view, zoom_levels[priv->zoom_level].level);
+ g_object_set (web_view, "zoom-level", zoom_levels[priv->zoom_level].level, NULL);
}
}
@@ -730,8 +729,7 @@
if (zoom_levels[priv->zoom_level].level > ZOOM_MINIMAL) {
priv->zoom_level--;
- // FIXME: WebKit
- //webkit_web_view_set_zoom (web_view, zoom_levels[priv->zoom_level].level);
+ g_object_set (web_view, "zoom-level", zoom_levels[priv->zoom_level].level, NULL);
}
}
@@ -745,8 +743,7 @@
web_view = window_get_active_web_view (window);
priv = window->priv;
- // FIXME: WebKit
- //webkit_web_view_set_zoom (web_view, ZOOM_DEFAULT);
+ g_object_set (web_view, "zoom-level", ZOOM_DEFAULT, NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]