~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to powermanager/src/powermanager-upower.h

  • Committer: Matthieu Baerts
  • Date: 2014-05-22 23:26:57 UTC
  • Revision ID: matttbe@gmail.com-20140522232657-zdzi28lzkfq17ktl
PowerManager: removed suspend/hibernate features

These features no longer work on recent systems and they are no longer supported with recent versions of UPower (0.99+).
We should support SystemD but suspend/hibernate features are already managed by Logout applet (and the system when pressing the Shutdown button) and this applet can be hidden most of the time (or not used when there are no battery): I think users use Logout applet instead. (and now they should use it :-) )
But note that a revert is always possible ;-)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
void cd_upower_stop (void);
29
29
 
30
 
 
31
 
gboolean cd_power_hibernate (void);
32
 
 
33
 
gboolean cd_power_suspend (void);
34
 
 
35
 
gboolean cd_power_can_hibernate (void);
36
 
 
37
 
gboolean cd_power_can_suspend (void);
38
 
 
39
 
 
40
30
#endif