aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorChris Lahey <clahey@ximian.com>2003-11-30 19:38:12 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-30 19:38:12 +0800
commit3ee87498b5087ca1e7bd78142ee6c5539673b09f (patch)
tree97a99ba23db0a53c41d19154eb15956b17b9f6f2 /src/ephy-tab.c
parentf84a5ff4e920c25d089786864f1ae2cdd94586d6 (diff)
downloadgsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.gz
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.bz2
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.lz
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.xz
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.tar.zst
gsoc2013-epiphany-3ee87498b5087ca1e7bd78142ee6c5539673b09f.zip
Marco Pesenti Gritti <marco@gnome.org>
2003-11-30 Chris Lahey <clahey@ximian.com> Marco Pesenti Gritti <marco@gnome.org> * data/Makefile.am: * data/epiphany-lockdown.schemas.in: * src/ephy-main.c: (main): * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (update_chromes_visibility), (update_chrome), (ephy_window_fullscreen), (ephy_window_unfullscreen), (show_embed_popup), (update_layout_toggles), (chrome_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_request_chrome), (ephy_window_set_print_preview), (ephy_window_show), (print_dialog_preview_cb): * src/ephy-window.h: * src/ppview-toolbar.c: (ppview_toolbar_set_window), (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_view_bookmarks_bar), (window_cmd_view_toolbar), (window_cmd_view_statusbar): Implement lockdown pref to not allow javascript to modify chromes. Do necessary changes to chromes code to make it possible.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index def1e741b..960090bd8 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -870,7 +870,7 @@ ephy_tab_new_window_cb (EphyEmbed *embed, EphyEmbed **new_embed,
EphyWindow *window;
window = ephy_window_new ();
- ephy_window_set_chrome (window, chromemask);
+ ephy_window_request_chrome (window, chromemask);
new_tab = ephy_tab_new ();
ephy_window_add_tab (window, new_tab, EPHY_NOTEBOOK_INSERT_GROUPED, FALSE);
@@ -928,7 +928,6 @@ ephy_tab_size_to_cb (EphyEmbed *embed, gint width, gint height,
GtkWidget *notebook;
EphyWindow *window;
GtkWidget *widget;
- EmbedChromeMask chromemask;
tab->priv->width = width;
tab->priv->height = height;
@@ -936,7 +935,6 @@ ephy_tab_size_to_cb (EphyEmbed *embed, gint width, gint height,
window = tab->priv->window;
notebook = ephy_window_get_notebook (window);
widget = GTK_WIDGET (embed);
- chromemask = ephy_window_get_chrome (window);
/* Do not resize window with multiple tabs.
* Do not resize window already showed because