Advertisement
Peaceseeker

Rhythmbox 3.0.1 power manager fixes patch

Oct 29th, 2013
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. --- a/rhythmbox-3.0.1/plugins/power-manager/power-manager.plugin.in 2012-04-26 11:31:19.000000000 +0100
  2. +++ b/rhythmbox-3.0.1/plugins/power-manager/power-manager.plugin.in 2013-10-29 18:15:10.442437710 +0000
  3. @@ -1,7 +1,7 @@
  4. [Plugin]
  5. Module=power-manager
  6. IAge=2
  7. -Builtin=true
  8. +Builtin=false
  9. _Name=Power Manager
  10. _Description=Inhibit Power Manager from suspending the machine while playing
  11. Authors=Jonathan Matthew <jonathan@d14n.org>
  12. --- a/rhythmbox-3.0.1/plugins/power-manager/rb-power-manager-plugin.c 2013-10-29 18:14:33.482534952 +0000
  13. +++ b/rhythmbox-3.0.1/plugins/power-manager/rb-power-manager-plugin.c 2013-10-29 18:11:35.146338000 +0000
  14. @@ -94,7 +94,7 @@
  15. NULL);
  16. g_object_unref (shell);
  17.  
  18. - plugin->cookie = gtk_application_inhibit (app, window, GTK_APPLICATION_INHIBIT_IDLE, _("Playing"));
  19. + plugin->cookie = gtk_application_inhibit (app, window, GTK_APPLICATION_INHIBIT_SUSPEND, _("Playing"));
  20.  
  21. g_object_unref (window);
  22. g_object_unref (app);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement