aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-03-19 04:22:25 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-03-19 04:22:25 +0800
commit40f9870ee0b060e7fdbfff104343d4c2f0eb4ac2 (patch)
tree17b9b8fd132e01e1ff62590bdefa4d057ab92b69 /src/ephy-window.h
parentfb9bc516d855e7422d6e6e3b5b93baf5238a0b38 (diff)
downloadgsoc2013-epiphany-40f9870ee0b060e7fdbfff104343d4c2f0eb4ac2.tar.gz
gsoc2013-epiphany-40f9870ee0b060e7fdbfff104343d4c2f0eb4ac2.tar.zst
gsoc2013-epiphany-40f9870ee0b060e7fdbfff104343d4c2f0eb4ac2.zip
Cleanups chromes code and register a type for the enum.
2004-03-16 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Cleanups chromes code and register a type for the enum. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): Adapt to the api changes * src/ephy-tab.c: (ephy_tab_new_window_cb): Move js chrome lockdown pref check here. * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity), (show_embed_popup), (get_default_chrome), (ephy_window_set_property), (ephy_window_class_init), (actions_notifier), (navigation_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_show), (sync_prefs_with_chrome), (sync_chrome_with_view_toggle), (ephy_window_view_statusbar_cb), (ephy_window_view_toolbar_cb), (ephy_window_view_bookmarksbar_cb): Rework chrome handling so that it's not applied to all windows. Changes are now saved on the fly like for window size. * src/ephy-window.h: Use a construct property instead of a _set for chrome. * src/window-commands.c: * src/window-commands.h: Move chromes actions to EphyWindow so we dont need to expose chrome handling.
Diffstat (limited to 'src/ephy-window.h')
-rw-r--r--src/ephy-window.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ephy-window.h b/src/ephy-window.h
index dede5259f..476c2d6b7 100644
--- a/src/ephy-window.h
+++ b/src/ephy-window.h
@@ -57,12 +57,6 @@ struct EphyWindowClass
GtkWindowClass parent_class;
};
-typedef enum
-{
- NormalMode,
- FullscreenMode
-} EphyWindowMode;
-
/* Include the header down here to resolve circular dependency */
#include "ephy-tab.h"
#include "ephy-notebook.h"
@@ -71,8 +65,7 @@ GType ephy_window_get_type (void);
EphyWindow *ephy_window_new (void);
-void ephy_window_request_chrome (EphyWindow *window,
- EmbedChromeMask chrome_flags);
+EphyWindow *ephy_window_new_with_chrome (EphyEmbedChrome chrome);
void ephy_window_set_print_preview (EphyWindow *window,
gboolean enabled);