GNOME Bugzilla – Bug 669736
ephy-window: use tab-close-request to avoid code duplication
Last modified: 2012-02-10 20:11:19 UTC
Instead of two code paths, just use notebook_page_close_request_cb. The removed one was not checking for downloads anyway, so it was evil.
Created attachment 207174 [details] [review] ephy-window: use tab-close-request to avoid code duplication There were two paths checking for modified forms and downloads on tab closing. Instead of duplication code, make EphyEmbedContainer impl_remove_child trigger ::tab-close-request on EphyNotebook.
Review of attachment 207174 [details] [review]: Makes sense.
Done! Attachment 207174 [details] pushed as e2576b4 - ephy-window: use tab-close-request to avoid code duplication