CVSROOT: /cvs/gnome Module name: gnome-power-manager Changes by: rhughes 06/02/18 09:01:23
Modified files: . : ChangeLog data : gnome-power-manager.schemas.in src : gpm-manager.c gpm-prefs.c gpm-prefs.h Log message: 2006-02-18 Richard Hughes <[EMAIL PROTECTED]> * data/gnome-power-manager.schemas.in: Make action_button_lid different policy values for AC and battery. Default to suspend for on battery and nothing for on AC. * src/gpm-prefs.h, src/gpm-prefs.c (setup_battery_actions, setup_ac_actions): Set the new policy keys individually. * src/gpm-prefs.c (gpm_prefs_setup_action_combo): Add the default action of nothing if gconf is missing. Stops a blank combobox, and makes it easier for us to debug without installing new schema each time. * src/gpm-manager.c (lid_button_pressed): do the new action when lid is closed and on AC power. Fixes (#331448) URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-power-manager&who=rhughes&date=explicit&mindate=2006-02-18%2009:00&maxdate=2006-02-18%2009:02 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list