[totem] backend: Always cancel popup timeout when marking popup as busy
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Always cancel popup timeout when marking popup as busy
- Date: Fri, 12 Sep 2014 12:18:46 +0000 (UTC)
commit 73ef944e31e171d7631ed66a1980d379a74ce65b
Author: Bastien Nocera <hadess hadess net>
Date: Fri Sep 12 14:16:35 2014 +0200
backend: Always cancel popup timeout when marking popup as busy
So as to avoid the popup hiding when it's busy.
https://bugzilla.gnome.org/show_bug.cgi?id=736439
src/backend/bacon-video-widget.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 432d879..32efc1f 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -3645,11 +3645,8 @@ void
bacon_video_widget_mark_popup_busy (BaconVideoWidget *bvw,
const char *reason)
{
- gboolean was_busy;
-
g_return_if_fail (BACON_IS_VIDEO_WIDGET (bvw));
- was_busy = (g_hash_table_size (bvw->priv->busy_popup_ht) > 0);
g_hash_table_insert (bvw->priv->busy_popup_ht,
g_strdup (reason),
GINT_TO_POINTER (1));
@@ -3658,10 +3655,7 @@ bacon_video_widget_mark_popup_busy (BaconVideoWidget *bvw,
GST_DEBUG ("Adding popup busy for reason %s", reason);
- if (!was_busy) {
- GST_DEBUG ("Will not hide popup due to timeout");
- unschedule_hiding_popup (bvw);
- }
+ unschedule_hiding_popup (bvw);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]