diff options
-rw-r--r-- | embed/webkit/webkit-embed.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/webkit/webkit-embed.cpp b/embed/webkit/webkit-embed.cpp index 7924dc684..7040ae25e 100644 --- a/embed/webkit/webkit-embed.cpp +++ b/embed/webkit/webkit-embed.cpp @@ -156,6 +156,11 @@ webkit_embed_title_changed_cb (WebKitFrame *frame, gchar *location, EphyEmbed *embed) { + WebKitEmbedPrivate *priv = WEBKIT_EMBED (embed)->priv; + g_free (priv->title); + priv->title = g_strdup (title); + g_object_notify (G_OBJECT (embed), "title"); + /* FIXME: We emit ge-location signal here, but it should really belong * to a "location_changed" signal by WebKit, as we can change title * without changing location or change location without changing title |