[totem] im-status: Don't be idle as soon as we enter fullscreen



commit 7f41e7fbeeee51807514c1b4445b818ffcf94c73
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 10 17:27:26 2011 +0000

    im-status: Don't be idle as soon as we enter fullscreen
    
    Otherwise the screensaver is trying to set us as "not idle",
    but the im-status will say the contrary, and we might end up
    with the screen locking as soon as we go fullscreen.

 src/plugins/im-status/totem-im-status.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/im-status/totem-im-status.c b/src/plugins/im-status/totem-im-status.c
index c2ddc7f..33bfb4d 100644
--- a/src/plugins/im-status/totem-im-status.c
+++ b/src/plugins/im-status/totem-im-status.c
@@ -76,7 +76,7 @@ totem_im_status_set_idleness (TotemImStatusPlugin *pi,
 	pi->priv->idle = idle;
 	variant = g_dbus_proxy_call_sync (pi->priv->proxy,
 					  "SetStatus",
-					  g_variant_new ("(u)", idle ? STATUS_IDLE : STATUS_AVAILABLE),
+					  g_variant_new ("(u)", idle ? STATUS_BUSY : STATUS_AVAILABLE),
 					  G_DBUS_CALL_FLAGS_NONE,
 					  -1,
 					  NULL,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]