diff options
author | Adam Hooper <adamh@densi.com> | 2003-12-10 06:23:07 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-12-10 06:23:07 +0800 |
commit | 1a30aad2cd97319b1b66b14d7c9c2f3b20b05d80 (patch) | |
tree | a1de8c874fadd7e2ef3478de1f8a114554fa90e1 /src | |
parent | 8a7cfd5a9a6a2fe10c78199dd1a81c6a13118835 (diff) | |
download | gsoc2013-epiphany-1a30aad2cd97319b1b66b14d7c9c2f3b20b05d80.tar.gz gsoc2013-epiphany-1a30aad2cd97319b1b66b14d7c9c2f3b20b05d80.tar.zst gsoc2013-epiphany-1a30aad2cd97319b1b66b14d7c9c2f3b20b05d80.zip |
Move events code inside EphyBrowser.cpp and add an event for blocked
2003-12-09 Adam Hooper <adamh@densi.com>
* 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
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/ephy-window.c | 8 | ||||
-rw-r--r-- | src/ephy-window.h | 2 |
3 files changed, 12 insertions, 2 deletions
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, |