diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-11-11 18:19:04 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-11 18:19:04 +0800 |
commit | 7beb933c60288ce8e5756e591a089a82ab1c6b6c (patch) | |
tree | 06e3ab839f705249f1ee3e17d2a920133a97916a /src/ephy-shell.c | |
parent | 760bb6dfe800fb1edd33d158ee19bd898f09fb2e (diff) | |
download | gsoc2013-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-shell.c')
-rw-r--r-- | src/ephy-shell.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index c476d3ac1..2a10315c6 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -145,25 +145,6 @@ ephy_shell_class_init (EphyShellClass *klass) } static void -ephy_shell_new_window_cb (EphyEmbedShell *shell, - EphyEmbed **new_embed, - EmbedChromeMask chromemask, - gpointer data) -{ - EphyTab *new_tab; - EphyWindow *window; - - g_assert (new_embed != NULL); - - window = ephy_window_new (); - ephy_window_set_chrome (window, chromemask); - - new_tab = ephy_tab_new (); - ephy_window_add_tab (window, new_tab, EPHY_NOTEBOOK_INSERT_GROUPED, FALSE); - *new_embed = ephy_tab_get_embed (new_tab); -} - -static void ephy_shell_init (EphyShell *gs) { EphyEmbedSingle *single; @@ -197,11 +178,6 @@ ephy_shell_init (EphyShell *gs) single = ephy_embed_shell_get_embed_single (EPHY_EMBED_SHELL (gs)); if (single != NULL) { - g_signal_connect (G_OBJECT (single), - "new_window_orphan", - G_CALLBACK(ephy_shell_new_window_cb), - NULL); - ephy_init_services (gs); } else |