aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-11 18:19:04 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-11 18:19:04 +0800
commit7beb933c60288ce8e5756e591a089a82ab1c6b6c (patch)
tree06e3ab839f705249f1ee3e17d2a920133a97916a /src/ephy-tab.c
parent760bb6dfe800fb1edd33d158ee19bd898f09fb2e (diff)
downloadgsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.tar.gz
gsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.tar.zst
gsoc2013-epiphany-7beb933c60288ce8e5756e591a089a82ab1c6b6c.zip
Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and
2003-11-11 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-session.c: (write_ephy_window): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_size_to_cb): * src/ephy-window.c: (translate_default_chrome): Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and fix a pair of bugs.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 35a6a09cc..a2c4f1c65 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -952,13 +952,8 @@ ephy_tab_size_to_cb (EphyEmbed *embed, gint width, gint height,
* has been resized. It appears to be the only way
* to have the window sized according to embed
* size correctly.
- * We dont do it for XUL dialogs because in that case
- * a "forced" requisition appear correct.
*/
- if (!(chromemask & EMBED_CHROME_OPENASCHROME))
- {
- g_idle_add (let_me_resize_hack, embed);
- }
+ g_idle_add (let_me_resize_hack, embed);
}
}