diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-12-10 01:48:44 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@gnome.org> | 2013-01-05 05:11:46 +0800 |
commit | 2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86 (patch) | |
tree | 96f6e1e8abce33a6327744f187dfe43dc4a609fc | |
parent | 1777a519d705c6ddece3f30cd9235f27b4284c28 (diff) | |
download | gsoc2013-epiphany-2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86.tar gsoc2013-epiphany-2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86.tar.gz gsoc2013-epiphany-2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86.tar.bz2 gsoc2013-epiphany-2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86.tar.lz gsoc2013-epiphany-2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86.tar.xz gsoc2013-epiphany-2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86.tar.zst gsoc2013-epiphany-2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86.zip |
e-embed: only add one statusbar timeout at a time
Otherwise the statusbar can disappear even if it has a valid message
being displayed.
https://bugzilla.gnome.org/show_bug.cgi?id=685747
-rw-r--r-- | embed/ephy-embed.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index a8a24bb20..da56dd81b 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -736,7 +736,9 @@ status_message_notify_cb (EphyWebView *view, GParamSpec *pspec, EphyEmbed *embed } else { /* A short timeout before hiding the statusbar ensures that while moving over a series of links, the overlay widget doesn't flicker on and off. */ - priv->pop_statusbar_later_source_id = g_timeout_add (250, pop_statusbar_later_cb, embed); + if (priv->pop_statusbar_later_source_id == 0) { + priv->pop_statusbar_later_source_id = g_timeout_add (250, pop_statusbar_later_cb, embed); + } } } |