[totem] Fix disabling of the screensaver in the browser plugin
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] Fix disabling of the screensaver in the browser plugin
- Date: Fri, 16 Oct 2009 17:00:19 +0000 (UTC)
commit 38cf9321450187fe91d0b76ca65014595b6a1be8
Author: Bastien Nocera <hadess hadess net>
Date: Fri Oct 16 17:56:52 2009 +0100
Fix disabling of the screensaver in the browser plugin
Did this ever work? Probably not...
https://bugzilla.gnome.org/show_bug.cgi?id=554750
lib/totem-scrsaver.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/lib/totem-scrsaver.c b/lib/totem-scrsaver.c
index 6854ed4..0888532 100644
--- a/lib/totem-scrsaver.c
+++ b/lib/totem-scrsaver.c
@@ -433,8 +433,7 @@ totem_scrsaver_set_state (TotemScrsaver *scr, gboolean enable)
if (scr->priv->disabled == !enable)
return;
- scr->priv->disabled = !enable;
- if (scr->priv->disabled != FALSE)
+ if (enable == FALSE)
totem_scrsaver_disable (scr);
else
totem_scrsaver_enable (scr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]