[rhythmbox] power-manager: switch to 'suspend' inhibit flag
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] power-manager: switch to 'suspend' inhibit flag
- Date: Tue, 31 Aug 2010 12:54:55 +0000 (UTC)
commit 900201a63b0a77a1accf4c3407c82f1b2e67dc6f
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Aug 31 22:52:54 2010 +1000
power-manager: switch to 'suspend' inhibit flag
The suspend inhibit flag inhibits suspend due to idle, asks the user
to confirm suspend via the logout dialog, and does nothing for suspend
triggered by hardware switches such as closing the laptop lid.
plugins/power-manager/rb-power-manager-plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power-manager/rb-power-manager-plugin.c b/plugins/power-manager/rb-power-manager-plugin.c
index 5979b0b..2b5f817 100644
--- a/plugins/power-manager/rb-power-manager-plugin.c
+++ b/plugins/power-manager/rb-power-manager-plugin.c
@@ -195,7 +195,7 @@ inhibit (RBGPMPlugin *plugin)
G_TYPE_STRING, "rhythmbox",
G_TYPE_UINT, xid,
G_TYPE_STRING, _("Playing"),
- G_TYPE_UINT, 8, /* flags */
+ G_TYPE_UINT, 4, /* flags */
G_TYPE_INVALID);
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]