aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-10-20 23:39:26 +0800
committerXan Lopez <xan@src.gnome.org>2007-10-20 23:39:26 +0800
commitb9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c (patch)
tree2e92577ce2e9c4f91e5cf7d11dc357955e121a96 /src/ephy-tab.c
parentc0e3df7630afa1ea61a9a0e76976f0df042122a5 (diff)
downloadgsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.gz
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.bz2
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.lz
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.xz
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.tar.zst
gsoc2013-epiphany-b9cf74cb0fce7bde8feccbe7ea0ecf8579d8c77c.zip
Completely remove usage of visibility signal from src/
svn path=/trunk/; revision=7537
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 702e18505..e09fc268c 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -103,7 +103,6 @@ struct _EphyTabPrivate
gint8 load_percent;
/* Flags */
guint is_blank : 1;
- guint visibility : 1;
guint is_loading : 1;
guint is_setting_zoom : 1;
EphyEmbedSecurityLevel security_level;
@@ -138,7 +137,6 @@ enum
PROP_POPUPS_ALLOWED,
PROP_TITLE,
PROP_TYPED_ADDRESS,
- PROP_VISIBLE,
PROP_ZOOM
};
@@ -253,7 +251,6 @@ ephy_tab_set_property (GObject *object,
case PROP_SECURITY:
case PROP_HIDDEN_POPUP_COUNT:
case PROP_TITLE:
- case PROP_VISIBLE:
case PROP_ZOOM:
/* read only */
break;
@@ -311,9 +308,6 @@ ephy_tab_get_property (GObject *object,
case PROP_TYPED_ADDRESS:
g_value_set_string (value, ephy_tab_get_typed_address (tab));
break;
- case PROP_VISIBLE:
- g_value_set_boolean (value, priv->visibility);
- break;
case PROP_ZOOM:
g_value_set_float (value, priv->zoom);
break;
@@ -521,14 +515,6 @@ ephy_tab_class_init (EphyTabClass *class)
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (object_class,
- PROP_VISIBLE,
- g_param_spec_boolean ("visibility",
- "Visibility",
- "The tab's visibility",
- TRUE,
- G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
-
- g_object_class_install_property (object_class,
PROP_ZOOM,
g_param_spec_float ("zoom",
"Zoom",
@@ -1237,22 +1223,6 @@ ephy_tab_set_size (EphyTab *tab,
}
}
-/**
- * ephy_tab_get_visibility:
- * @tab: an #EphyTab
- *
- * FIXME: Nobody really knows what this does. Someone must investigate.
- *
- * Return value; %TRUE if @tab's "visibility" property is set
- **/
-gboolean
-ephy_tab_get_visibility (EphyTab *tab)
-{
- g_return_val_if_fail (EPHY_IS_TAB (tab), FALSE);
-
- return tab->priv->visibility;
-}
-
static void
ephy_tab_load_icon (EphyTab *tab)
{
@@ -1916,27 +1886,6 @@ ephy_tab_popup_blocked_cb (EphyEmbed *embed,
popups_manager_add (tab, url, name, features);
}
-static void
-ephy_tab_visibility_cb (EphyEmbed *embed, gboolean visibility,
- EphyTab *tab)
-{
- LOG ("ephy_tab_visibility_cb tab %p visibility %d",
- tab, visibility);
-
- if (visibility)
- {
- gtk_widget_show (GTK_WIDGET (tab));
- }
- else
- {
- gtk_widget_hide (GTK_WIDGET (tab));
- }
-
- tab->priv->visibility = visibility;
-
- g_object_notify (G_OBJECT (tab), "visibility");
-}
-
static gboolean
open_link_in_new (EphyTab *tab,
const char *link_address,
@@ -2208,9 +2157,6 @@ ephy_tab_init (EphyTab *tab)
g_signal_connect_object (embed, "ge_popup_blocked",
G_CALLBACK (ephy_tab_popup_blocked_cb),
tab, 0);
- g_signal_connect_object (embed, "visibility",
- G_CALLBACK (ephy_tab_visibility_cb),
- tab, 0);
g_signal_connect_object (embed, "ge_dom_mouse_click",
G_CALLBACK (ephy_tab_dom_mouse_click_cb),
tab, 0);