[totem/gnome-2-32] scrsaver: Disable even when fullscreen comes quick
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-2-32] scrsaver: Disable even when fullscreen comes quick
- Date: Mon, 21 Feb 2011 05:56:52 +0000 (UTC)
commit 901380010154a786246883b25446813e10555ba4
Author: Bastien Nocera <hadess hadess net>
Date: Mon Feb 21 05:49:53 2011 +0000
scrsaver: Disable even when fullscreen comes quick
As the screensaver might be disabled before we get access
to the D-Bus proxy, try again after we have the proxy.
Spotted by Chris Coulson.
https://bugzilla.gnome.org/show_bug.cgi?id=630711
lib/totem-scrsaver.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/totem-scrsaver.c b/lib/totem-scrsaver.c
index 1dcdf2f..bbb4046 100644
--- a/lib/totem-scrsaver.c
+++ b/lib/totem-scrsaver.c
@@ -228,6 +228,9 @@ screensaver_update_dbus_presence (TotemScrsaver *scr)
if (name_owner) {
priv->have_screensaver_dbus = TRUE;
g_free (name_owner);
+
+ /* screensaver just appeared, or reappeared */
+ screensaver_disable_dbus (scr);
} else {
priv->have_screensaver_dbus = FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]