diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-10-27 23:40:04 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-10-27 23:40:04 +0800 |
commit | 3df8ead647f1b25704e33d7e81ce9959d30a065c (patch) | |
tree | 7e143d87872c6acb6346d3bbdb95e81a613c9b69 /embed/ephy-embed.c | |
parent | 13f17264d9757eaf01eaa1ff2842812872385c56 (diff) | |
download | gsoc2013-epiphany-3df8ead647f1b25704e33d7e81ce9959d30a065c.tar.gz gsoc2013-epiphany-3df8ead647f1b25704e33d7e81ce9959d30a065c.tar.zst gsoc2013-epiphany-3df8ead647f1b25704e33d7e81ce9959d30a065c.zip |
Move popups-allowed and hidden-popup-count from EphyTab to EphyEmbed.
Popup management is non-working now, see bug #490672
svn path=/trunk/; revision=7575
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index baa75c400..caa7b8a2e 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -512,6 +512,21 @@ ephy_embed_base_init (gpointer g_class) "The embed icon's address", NULL, (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_int ("hidden-popup-count", + "Number of Blocked Popups", + "The embed's number of blocked popup windows", + 0, + G_MAXINT, + 0, + 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_boolean ("popups-allowed", + "Popups Allowed", + "Whether popup windows are to be displayed", + FALSE, + G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); initialized = TRUE; } |