diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-10-29 06:17:59 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-10-29 06:17:59 +0800 |
commit | 40db54e58581a80d7623e4db2cdf27fc8c03ba49 (patch) | |
tree | 644128d1d8aeadbe92a3fdd0ae370e7239897af8 | |
parent | 3adb6f3fb97c70a762bd690a51e7659e35c5e46c (diff) | |
download | gsoc2013-epiphany-40db54e58581a80d7623e4db2cdf27fc8c03ba49.tar gsoc2013-epiphany-40db54e58581a80d7623e4db2cdf27fc8c03ba49.tar.gz gsoc2013-epiphany-40db54e58581a80d7623e4db2cdf27fc8c03ba49.tar.bz2 gsoc2013-epiphany-40db54e58581a80d7623e4db2cdf27fc8c03ba49.tar.lz gsoc2013-epiphany-40db54e58581a80d7623e4db2cdf27fc8c03ba49.tar.xz gsoc2013-epiphany-40db54e58581a80d7623e4db2cdf27fc8c03ba49.tar.zst gsoc2013-epiphany-40db54e58581a80d7623e4db2cdf27fc8c03ba49.zip |
Update title property on title-changed signal from webkit.
svn path=/trunk/; revision=7611
-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 |