CVSROOT: /cvs/gnome Module name: gnome-power-manager Changes by: rhughes 06/02/28 12:55:42
Modified files: . : ChangeLog data : gnome-power-manager.schemas.in src : gpm-hal-monitor.c gpm-hal-monitor.h gpm-hal.c gpm-manager.c gpm-marshal.list gpm-power.c gpm-power.h gpm-prefs.h Log message: 2006-02-26 Richard Hughes <[EMAIL PROTECTED]> * src/gpm-prefs.h: Add GPM_PREF_BUTTON_HIBERNATE * data/gnome-power-manager.schemas.in: Add the new key: /apps/gnome-power-manager/action_button_hibernate so we can set the policy when the hibernate button is pressed. Defaults to hibernate. From the ubuntu mega-patch. * src/gpm-manager.c (callback_gconf_key_changed): Do instant apply for CAN_SUSPEND and CAN_HIBERNATE. From the ubuntu mega-patch. * src/gpm-hal-monitor.{c|h}, src/gpm-marshal.list, src/gpm-power.{c|h} The battery name, details mess should not be emitted internally, as we should do all this processing in the hal-monitor. Get rid of the details field, and make this from VOID__STRING_STRING_BOOLEAN to VOID__STRING_BOOLEAN. * src/gpm-manager.c (power_button_pressed_cb): get rid of the "virtual" mess as the only thing to use it is my toshiba addon, which now does the button events a standard way. * src/gpm-hal-monitor.c (watch_device_condition): Do not filter the allowed buttons here, as we are currently doing it in two places. It make more sense for the manager to do it. * src/gpm-manager.c (battery_status_changed_primary): Don't do the notification if the message is blank. From the ubuntu mega-patch. * src/gpm-hal.c (gpm_hal_num_devices_of_capability_with_value): Fix theoretical NULL dereference. From the ubuntu mega-patch. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-power-manager&who=rhughes&date=explicit&mindate=2006-02-28%2012:54&maxdate=2006-02-28%2012:56 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list