aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-container.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-17 07:32:41 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-17 07:32:41 +0800
commit0ca10a9d903db72abe211959894721ea97e33de3 (patch)
tree8372441bf0de7ef26373202d73a680613bed8492 /embed/ephy-embed-container.c
parentb509828635066e0ce051fe77333acfb7d29d500f (diff)
downloadgsoc2013-epiphany-0ca10a9d903db72abe211959894721ea97e33de3.tar
gsoc2013-epiphany-0ca10a9d903db72abe211959894721ea97e33de3.tar.gz
gsoc2013-epiphany-0ca10a9d903db72abe211959894721ea97e33de3.tar.bz2
gsoc2013-epiphany-0ca10a9d903db72abe211959894721ea97e33de3.tar.lz
gsoc2013-epiphany-0ca10a9d903db72abe211959894721ea97e33de3.tar.xz
gsoc2013-epiphany-0ca10a9d903db72abe211959894721ea97e33de3.tar.zst
gsoc2013-epiphany-0ca10a9d903db72abe211959894721ea97e33de3.zip
Move print-preview property to EphyEmbedContainer interface.
Also make it read-only and make the setter in EphyWindow semi-private for now (should be removed eventually, making the window be notified from the embed of the status). svn path=/trunk/; revision=7709
Diffstat (limited to 'embed/ephy-embed-container.c')
-rw-r--r--embed/ephy-embed-container.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-container.c b/embed/ephy-embed-container.c
index 64223eeda..c2a6ad9cd 100644
--- a/embed/ephy-embed-container.c
+++ b/embed/ephy-embed-container.c
@@ -47,6 +47,10 @@ ephy_embed_container_base_init (gpointer g_class)
g_param_spec_object ("active-child", NULL, NULL,
GTK_TYPE_WIDGET /* Can't use an interface type here */,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
+ g_object_interface_install_property (g_class,
+ g_param_spec_boolean ("is-print-preview", NULL, NULL,
+ FALSE,
+ G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
}
}