GNOME Bugzilla – Bug 661700
rhythmbox fails to inhibit/uninhibit the gnome-session while playing a file.
Last modified: 2011-10-16 17:57:18 UTC
Created attachment 198961 [details] [review] connect to session bus instead of system bus and call the correct uninhibit method steps to reproduce: 1) play a file with rythmbox 2) verify the session is not inhibited: gdbus call --session --dest org.gnome.SessionManager --object-path /org/gnome/SessionManager --method org.gnome.SessionManager.IsInhibited 15 (false,) bugs: 1) rb-power-manager-plugin connects to dbus system bus, where it can not call Inhibit, as that method is provided by gnome-session on the session bus. 2) the method name for uninhibit changed from "UnInhibit" to "Uninhibit" patch: the attached patch works for me. There is a TODO as a do not really see any reason, why these errors should be ignored.
well... forget about bug 2 relating the uninhibit naming... that was banshee not rhythmbox! :) Cheers, Ulf
Relevant part pushed as commit 3a3d2dd, thanks. Please try to remove debug code and other unnecessary stuff before attaching patches.
thanks for the quick response. I thougth the debug messages might be usefull at that point, but i probably should have put them in a seperate patch.