diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-04-14 20:21:40 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-04-14 20:21:40 +0800 |
commit | b7e5c1f5940fac73daa92ad788f0f195ff9dedaa (patch) | |
tree | 0db5418769dba6638b3eba130a0cf43c235fa3a2 | |
parent | f2738e3b37f0b84947059c310e5dc9e99dd3de12 (diff) | |
download | gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.tar.gz gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.tar.zst gsoc2013-epiphany-b7e5c1f5940fac73daa92ad788f0f195ff9dedaa.zip |
Add debug output.
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.
-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); |