diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-tab.c | 9 |
2 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2004-04-14 Christian Persch <chpe@cvs.gnome.org> + + * src/ephy-tab.c: (ephy_tab_new_window_cb), + (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb): + + Add debug output. + 2004-04-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 179d86b3d..c71044806 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -936,6 +936,9 @@ ephy_tab_new_window_cb (EphyEmbed *embed, EphyEmbed **new_embed, EphyTab *new_tab; EphyWindow *window; + LOG ("ephy_tab_new_window_cb tab %p with parent %p chrome %d", + tab, ((GtkWidget *) tab)->parent, chromemask) + if (eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_JAVASCRIPT_CHROME)) { window = ephy_window_new (); @@ -965,6 +968,9 @@ 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)); @@ -987,6 +993,9 @@ ephy_tab_destroy_brsr_cb (EphyEmbed *embed, EphyTab *tab) g_return_if_fail (EPHY_IS_TAB (tab)); + LOG ("ephy_tab_destroy_browser_cb tab %p parent %p", + tab, ((GtkWidget *) tab)->parent) + window = ephy_tab_get_window (tab); g_return_if_fail (window != NULL); |