[totem] backend: Only schedule hiding the popup if we're showing it
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Only schedule hiding the popup if we're showing it
- Date: Fri, 12 Sep 2014 12:18:36 +0000 (UTC)
commit 8549e37207c5066118ca0ba3efb95c8e7be6735c
Author: Bastien Nocera <hadess hadess net>
Date: Fri Sep 12 14:14:16 2014 +0200
backend: Only schedule hiding the popup if we're showing it
We don't need a timeout to hide the popup if we're hiding the popup
already.
https://bugzilla.gnome.org/show_bug.cgi?id=736439
src/backend/bacon-video-widget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 96f70d9..cc92523 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -745,7 +745,7 @@ set_controls_visibility (BaconVideoWidget *bvw,
clutter_actor_set_opacity (bvw->priv->controls, opacity);
set_show_cursor (bvw, visible);
- if (animate)
+ if (visible && animate)
schedule_hiding_popup (bvw);
bvw->priv->reveal_controls = visible;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]