aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c8
-rw-r--r--src/session.c6
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 3f016a7a5..35a6a09cc 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1104,7 +1104,7 @@ ephy_tab_init (EphyTab *tab)
g_signal_connect (embed, "ge_location",
G_CALLBACK (ephy_tab_address_cb),
tab);
- g_signal_connect (embed, "ge_title",
+ g_signal_connect (embed, "title",
G_CALLBACK (ephy_tab_title_cb),
tab);
g_signal_connect (embed, "ge_zoom_change",
@@ -1116,16 +1116,16 @@ ephy_tab_init (EphyTab *tab)
g_signal_connect (embed, "ge_new_window",
G_CALLBACK (ephy_tab_new_window_cb),
tab);
- g_signal_connect (embed, "ge_visibility",
+ g_signal_connect (embed, "visibility",
G_CALLBACK (ephy_tab_visibility_cb),
tab);
- g_signal_connect (embed, "ge_destroy_brsr",
+ g_signal_connect (embed, "destroy_browser",
G_CALLBACK (ephy_tab_destroy_brsr_cb),
tab);
g_signal_connect (embed, "ge_open_uri",
G_CALLBACK (ephy_tab_open_uri_cb),
tab);
- g_signal_connect (embed, "ge_size_to",
+ g_signal_connect (embed, "size_to",
G_CALLBACK (ephy_tab_size_to_cb),
tab);
g_signal_connect (embed, "ge_dom_mouse_click",
diff --git a/src/session.c b/src/session.c
index 958e804b8..9df93ca14 100644
--- a/src/session.c
+++ b/src/session.c
@@ -444,6 +444,12 @@ session_save (Session *session,
xmlDocPtr doc;
char *save_to;
+ if (session->priv->windows == NULL)
+ {
+ session_delete (session, filename);
+ return;
+ }
+
save_to = get_session_filename (filename);
doc = xmlNewDoc ("1.0");