aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe+gnomebugz@stud.uni-saarland.de>2003-05-20 19:46:23 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-20 19:46:23 +0800
commit8a40e469167960d29916ae6f0a97a89a2e76110b (patch)
treecac8fab7cfb927c0ce90981a1a9325ae2d10cba7
parent672d06e7f172da3fdcdafb1411d42092ef9f2087 (diff)
downloadgsoc2013-epiphany-8a40e469167960d29916ae6f0a97a89a2e76110b.tar
gsoc2013-epiphany-8a40e469167960d29916ae6f0a97a89a2e76110b.tar.gz
gsoc2013-epiphany-8a40e469167960d29916ae6f0a97a89a2e76110b.tar.bz2
gsoc2013-epiphany-8a40e469167960d29916ae6f0a97a89a2e76110b.tar.lz
gsoc2013-epiphany-8a40e469167960d29916ae6f0a97a89a2e76110b.tar.xz
gsoc2013-epiphany-8a40e469167960d29916ae6f0a97a89a2e76110b.tar.zst
gsoc2013-epiphany-8a40e469167960d29916ae6f0a97a89a2e76110b.zip
Simplified and reorganised zoom. Implement a zoom control for the toolbar.
2003-05-19 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> Simplified and reorganised zoom. Implement a zoom control for the toolbar. * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.h: * lib/widgets/ephy-zoom-control.c: New. A simple zoom control and a corresponding egg action. * lib/ephy-zoom.h: * lib/ephy-zoom.c: New. Define the supported zoom levels, plus some helper functions. * data/ui/epiphany-toolbar.xml.in: * src/toolbar.h: * src/toolbar.c: (toolbar_update_zoom_control), (zoom_to_level_cb), (toolbar_setup_actions): Hook up zoom control. * src/ephy-window.c: (toolbar_update_zoom_control): New. Updates toolbar zoom control and menu item sensitivity. * embed/mozilla/mozilla-embed.c: (impl_zoom_set, impl_zoom_get): * embed/ephy-embed.[ch]: (zoom_set), (zoom_get), (ephy_embed_zoom_set), (ephy_embed_zoom_get): * lib/ephy-marshal.list: * src/ephy-nautilus-view.c: (gnv_embed_zoom_change_cb), (gnv_zoomable_set_zoom_level_cb): * src/ephy-tab.c: (ephy_tab_zoom_changed_cb): * src/ephy-window.c: (ephy_window_set_zoom): Use float zoom factor instead of int percent for zoom. * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (ephy_nautilus_view_class_init), (gnv_zoomable_set_zoom_level_cb), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb), (gnv_zoomable_zoom_to_default_cb), (gnv_embed_zoom_change_cb): * src/window-commands.c: (window_cmd_view_zoom_in), (window_cmd_view_zoom_out), (window_cmd_view_zoom_normal): Simplified; use ephy-zoom.h where appropriate.
-rw-r--r--data/ui/epiphany-toolbar.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/ui/epiphany-toolbar.xml.in b/data/ui/epiphany-toolbar.xml.in
index 036c23547..cf2739bf0 100644
--- a/data/ui/epiphany-toolbar.xml.in
+++ b/data/ui/epiphany-toolbar.xml.in
@@ -20,6 +20,7 @@
<toolitem verb="Location"/>
<toolitem verb="Spinner"/>
<toolitem verb="ToolbarGo"/>
+ <toolitem verb="Zoom"/>
</available>
<toolbar name="DefaultToolbar">
<toolitem verb="NavigationBack"/>