~ubuntu-branches/ubuntu/lucid/gnome-power-manager/lucid-updates

« back to all changes in this revision

Viewing changes to src/gpm-session.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-02-05 13:28:09 UTC
  • mfrom: (2.1.49 upstream)
  • Revision ID: james.westby@ubuntu.com-20100205132809-jfmqtr00ri6flcv2
Tags: 2.29.2-0ubuntu1
* New upstream release:
  - Move the power management preferences into the hardware section of the
    control center.
  - Use the name of 'Power' for the power management preferences capplet
  - Don't rely on the cached value of the lid status, to fix a double
    suspend issue (LP: #425411)
  - Add a flag to inhibit consolekit events just after we resumed
  - Don't automatically suspend if there are suspend inhibits
  - Do not exit if hal is not available
  - Only connect to HAL if there is no xrandr backlight hardware
  - Fix compile when using an ld that defaults to --as-needed
  - Enable the help action in gnome-power-statistics. Fixes #607005
  - Ensure the window is realized before we invalidate it. Fixes #604918
  - Don't show the user a sleep failed link pointing to the quirk site
  - Show the device name even when using UPower
  - Translation updates.
* Drop patches accepted upstream: 
  + 03-run-without-hal.patch
  + 04-dont-connect-to-hal-with-xrandr.patch
  + 09-fix-double-suspend.patch
* Regenerate 90-autotools.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 *
17
17
 * You should have received a copy of the GNU General Public License
18
18
 * along with this program; if not, write to the Free Software
19
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
20
 */
21
21
 
22
22
#ifndef __GPM_SESSION_H
47
47
        void            (* idle_changed)                (GpmSession     *session,
48
48
                                                         gboolean        is_idle);
49
49
        void            (* inhibited_changed)           (GpmSession     *session,
50
 
                                                         gboolean        is_inhibited);
 
50
                                                         gboolean        is_idle_inhibited,
 
51
                                                         gboolean        is_suspend_inhibited);
51
52
        /* just exit */
52
53
        void            (* stop)                        (GpmSession     *session);
53
54
        /* reply with EndSessionResponse */
64
65
 
65
66
gboolean         gpm_session_logout                     (GpmSession     *session);
66
67
gboolean         gpm_session_get_idle                   (GpmSession     *session);
67
 
gboolean         gpm_session_get_inhibited              (GpmSession     *session);
 
68
gboolean         gpm_session_get_idle_inhibited         (GpmSession     *session);
 
69
gboolean         gpm_session_get_suspend_inhibited      (GpmSession     *session);
68
70
gboolean         gpm_session_register_client            (GpmSession     *session,
69
71
                                                         const gchar    *app_id,
70
72
                                                         const gchar    *client_startup_id);