aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-04 20:52:05 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-04 20:52:05 +0800
commit753b29514d19fd54d51c2346bc6bb08ff1093cac (patch)
treee15206e10a0f54f52bcd5c2fd245d0d21f8750ee /src/ephy-notebook.h
parent1fe471d0ab202613f6802751f5604420e23727d1 (diff)
downloadgsoc2013-epiphany-753b29514d19fd54d51c2346bc6bb08ff1093cac.tar
gsoc2013-epiphany-753b29514d19fd54d51c2346bc6bb08ff1093cac.tar.gz
gsoc2013-epiphany-753b29514d19fd54d51c2346bc6bb08ff1093cac.tar.bz2
gsoc2013-epiphany-753b29514d19fd54d51c2346bc6bb08ff1093cac.tar.lz
gsoc2013-epiphany-753b29514d19fd54d51c2346bc6bb08ff1093cac.tar.xz
gsoc2013-epiphany-753b29514d19fd54d51c2346bc6bb08ff1093cac.tar.zst
gsoc2013-epiphany-753b29514d19fd54d51c2346bc6bb08ff1093cac.zip
Add API to check if an EphyEmbed has forms with user input in them.
2004-01-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add API to check if an EphyEmbed has forms with user input in them. Currently it required one modified textarea, or two modified text fields. * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_delete_event_cb), (tab_delete_cb), (setup_notebook), (ephy_window_init), (ephy_window_remove_tab): When closing a window or tab, check if there is unsubmitted user input in form fields, and if so, warn the user before closing. Fixes bug #119857.
Diffstat (limited to 'src/ephy-notebook.h')
-rw-r--r--src/ephy-notebook.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-notebook.h b/src/ephy-notebook.h
index ca93cdf55..314ad098c 100644
--- a/src/ephy-notebook.h
+++ b/src/ephy-notebook.h
@@ -70,6 +70,8 @@ struct EphyNotebookClass
void (* tab_detached) (EphyNotebook *notebook,
GtkWidget *child);
void (* tabs_reordered) (EphyNotebook *notebook);
+ void (* tab_delete) (EphyNotebook *notebook,
+ GtkWidget *child);
};
GType ephy_notebook_get_type (void);