diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-tab.c | 4 | ||||
-rw-r--r-- | src/ephy-window.c | 2 |
3 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2005-01-22 Christian Persch <chpe@cvs.gnome.org> + + * src/ephy-tab.c: (ephy_tab_class_init), (ephy_tab_visibility_cb): + * src/ephy-window.c: (tab_added_cb): + + Rename "visible" property. + 2005-01-21 Jorn Baayen <jbaayen@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column), diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 87eb8ac1a..4b297e5b1 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -459,7 +459,7 @@ ephy_tab_class_init (EphyTabClass *class) g_object_class_install_property (object_class, PROP_VISIBLE, - g_param_spec_boolean ("visible", + g_param_spec_boolean ("visibility", "Visibility", "The tab's visibility", TRUE, @@ -1389,7 +1389,7 @@ ephy_tab_visibility_cb (EphyEmbed *embed, gboolean visibility, tab->priv->visibility = visibility; - g_object_notify (G_OBJECT (tab), "visible"); + g_object_notify (G_OBJECT (tab), "visibility"); } static void diff --git a/src/ephy-window.c b/src/ephy-window.c index 9624639d2..2760e59fb 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -2106,7 +2106,7 @@ tab_added_cb (EphyNotebook *notebook, update_tabs_menu_sensitivity (window); - g_signal_connect_object (G_OBJECT (tab), "notify::visible", + g_signal_connect_object (G_OBJECT (tab), "notify::visibility", G_CALLBACK (sync_tab_visibility), window, 0); embed = ephy_tab_get_embed (tab); |