[epiphany] e-embed: only add one statusbar timeout at a time
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] e-embed: only add one statusbar timeout at a time
- Date: Fri, 4 Jan 2013 21:17:08 +0000 (UTC)
commit 2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86
Author: Diego Escalante Urrelo <diegoe igalia com>
Date: Sun Dec 9 12:48:44 2012 -0500
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
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 a8a24bb..da56dd8 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);
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]