diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-10-21 23:43:49 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-10-21 23:43:49 +0800 |
commit | 44f0f0b9e7f1de89a7c83a9c404ed50d6f3b57f0 (patch) | |
tree | 8ff34df1a47dc35a7524e6fa8e8dab887c5d8c48 /embed/ephy-embed.c | |
parent | a657333db5a36e5377bdb29157d9ac99e86ceefb (diff) | |
download | gsoc2013-epiphany-44f0f0b9e7f1de89a7c83a9c404ed50d6f3b57f0.tar.gz gsoc2013-epiphany-44f0f0b9e7f1de89a7c83a9c404ed50d6f3b57f0.tar.zst gsoc2013-epiphany-44f0f0b9e7f1de89a7c83a9c404ed50d6f3b57f0.zip |
Move zoom from EphyTab to EphyEmbed.
svn path=/trunk/; revision=7542
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index c9a839e2b..97e46d6a3 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -21,6 +21,7 @@ #include "config.h" #include "ephy-embed.h" +#include "ephy-zoom.h" #include "ephy-embed-type-builtins.h" #include "ephy-marshal.h" @@ -437,6 +438,14 @@ ephy_embed_base_init (gpointer g_class) EPHY_TYPE_EMBED_DOCUMENT_TYPE, EPHY_EMBED_DOCUMENT_HTML, G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); + g_object_interface_install_property (g_class, + g_param_spec_float ("zoom", + "Zoom", + "The embed's zoom", + ZOOM_MINIMAL, + ZOOM_MAXIMAL, + 1.0, + G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); initialized = TRUE; } |