From 1a30aad2cd97319b1b66b14d7c9c2f3b20b05d80 Mon Sep 17 00:00:00 2001 From: Adam Hooper Date: Tue, 9 Dec 2003 22:23:07 +0000 Subject: Move events code inside EphyBrowser.cpp and add an event for blocked 2003-12-09 Adam Hooper * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Move events code inside EphyBrowser.cpp and add an event for blocked popup. * embed/ephy-permission-manager.c: Some more docs * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_statusbar): * src/ephy-window.h: Add a way to access the statusbar for plugins --- src/Makefile.am | 4 ++-- src/ephy-window.c | 8 ++++++++ src/ephy-window.h | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 92558f383..38c4a7c68 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -68,7 +68,6 @@ NOINST_H_FILES = \ popup-commands.h \ prefs-dialog.h \ ppview-toolbar.h \ - statusbar.h \ toolbar.h \ window-commands.h @@ -78,7 +77,8 @@ INST_H_FILES = \ ephy-session.h \ ephy-shell.h \ ephy-tab.h \ - ephy-window.h + ephy-window.h \ + statusbar.h libephymain_la_SOURCES = \ $(CORBA_SOURCE) \ diff --git a/src/ephy-window.c b/src/ephy-window.c index 5ab1177f0..4bbd59014 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1719,6 +1719,14 @@ ephy_window_get_notebook (EphyWindow *window) return GTK_WIDGET (window->priv->notebook); } +GtkWidget * +ephy_window_get_statusbar (EphyWindow *window) +{ + g_return_val_if_fail (EPHY_IS_WINDOW (window), NULL); + + return GTK_WIDGET (window->priv->statusbar); +} + void ephy_window_add_tab (EphyWindow *window, EphyTab *tab, diff --git a/src/ephy-window.h b/src/ephy-window.h index e7fbf1ca5..6c0245aab 100644 --- a/src/ephy-window.h +++ b/src/ephy-window.h @@ -80,6 +80,8 @@ void ephy_window_set_print_preview (EphyWindow *window, GtkWidget *ephy_window_get_notebook (EphyWindow *window); +GtkWidget *ephy_window_get_statusbar (EphyWindow *window); + void ephy_window_add_tab (EphyWindow *window, EphyTab *tab, gint position, -- cgit v1.2.3