From acce3b2cda7b28876d4b9c6e2ed0795ac2e22b15 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 7 Dec 2009 18:04:50 +0000 Subject: [PATCH] (trunk gtk) #2324 "power management inhibition with gnome-session >= 2.26" -- fix 1.80b1 misimplementation bug reported & researched by kklimonda --- gtk/tr-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/tr-core.c b/gtk/tr-core.c index ba82d0f15..3ed45cc8f 100644 --- a/gtk/tr-core.c +++ b/gtk/tr-core.c @@ -1343,7 +1343,7 @@ gtr_inhibit_hibernation( guint * cookie ) const int toplevel_xid = 0; const char * application = _( "Transmission Bittorrent Client" ); const char * reason = _( "BitTorrent Activity" ); - const int flags = 8; /* Inhibit the session being marked as idle */ + const int flags = 4; /* Inhibit suspending the session or computer */ success = dbus_g_proxy_call( proxy, "Inhibit", &error, G_TYPE_STRING, application,