diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-01-13 06:08:57 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-01-13 06:08:57 +0800 |
commit | daf109345e833a5e2e366e09162c83fe5a213cc6 (patch) | |
tree | 4afaa7d2d4db943dd31c306fca036a0f2c6382fb | |
parent | 4c43219a36835b600caa53344b7b6893209f1d9b (diff) | |
download | gsoc2013-epiphany-daf109345e833a5e2e366e09162c83fe5a213cc6.tar.gz gsoc2013-epiphany-daf109345e833a5e2e366e09162c83fe5a213cc6.tar.zst gsoc2013-epiphany-daf109345e833a5e2e366e09162c83fe5a213cc6.zip |
Add Zoom In/Out buttons to default toolbar layout and toolbars editor
2006-01-12 Christian Persch <chpe@cvs.gnome.org>
* data/ui/epiphany-toolbar.xml:
* src/ephy-toolbars-model.c: (ephy_toolbars_model_load):
Add Zoom In/Out buttons to default toolbar layout and toolbars
editor repertoire. Bug #117923.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | data/ui/epiphany-toolbar.xml | 3 | ||||
-rwxr-xr-x | src/ephy-toolbars-model.c | 2 |
3 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,13 @@ 2006-01-12 Christian Persch <chpe@cvs.gnome.org> + * data/ui/epiphany-toolbar.xml: + * src/ephy-toolbars-model.c: (ephy_toolbars_model_load): + + Add Zoom In/Out buttons to default toolbar layout and toolbars + editor repertoire. Bug #117923. + +2006-01-12 Christian Persch <chpe@cvs.gnome.org> + * configure.ac: * Makefile.am: diff --git a/data/ui/epiphany-toolbar.xml b/data/ui/epiphany-toolbar.xml index e6f1e4278..ccc7ff532 100644 --- a/data/ui/epiphany-toolbar.xml +++ b/data/ui/epiphany-toolbar.xml @@ -31,7 +31,8 @@ <toolitem name="GoHistory"/> <toolitem name="GoBookmarks"/> <separator/> - <toolitem name="EditFind"/> + <toolitem name="ViewZoomIn"/> + <toolitem name="ViewZoomOut"/> </toolbar> <toolbar name="EntryToolbar"> <toolitem name="Location"/> diff --git a/src/ephy-toolbars-model.c b/src/ephy-toolbars-model.c index a575b53f4..dec18628e 100755 --- a/src/ephy-toolbars-model.c +++ b/src/ephy-toolbars-model.c @@ -201,6 +201,8 @@ ephy_toolbars_model_load (EphyToolbarsModel *model) egg_toolbars_model_set_n_avail (eggmodel, "Location", 1); egg_toolbars_model_set_n_avail (eggmodel, "ToolbarGo", 1); egg_toolbars_model_set_n_avail (eggmodel, "Zoom", 1); + egg_toolbars_model_set_n_avail (eggmodel, "ViewZoomOut", 1); + egg_toolbars_model_set_n_avail (eggmodel, "ViewZoomIn", 1); success = egg_toolbars_model_load (eggmodel, model->priv->xml_file); LOG ("Loading the toolbars was %ssuccessful", success ? "" : "un"); |