From 0ca10a9d903db72abe211959894721ea97e33de3 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 16 Nov 2007 23:32:41 +0000 Subject: 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 --- embed/ephy-embed-container.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'embed') 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)); } } -- cgit v1.2.3