CVSROOT:        /cvs/gnome
Module name:    gnome-power-manager
Changes by:     rhughes 06/01/25 14:58:57

Modified files:
        .              : ChangeLog 
        src            : gpm-manager.c 

Log message:
* src/gpm-manager.c: Add the done_warning_critical, done_warning_very_low, 
done_warning_low bools to the struct so we can keep knowledge of previous 
notifications.
(maybe_notify_battery_power_changed): Change to NOT primary OR NOT discharging 
as the logic was wrong. Should fix bug (#328228) Also only do the notifications 
once, and don't do lots of notifications on startup if battery is very low. 
(#327963)
(invalidate_notification_warnings): Add this function so we can reset the 
notification accounting, which we want to do if we go from battery -> AC -> 
battery.
(power_battery_power_changed_cb): Do a libnotify warning stating the action 5 
seconds before we do the critical action. We should always explain the action 
we are going to do.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-power-manager&who=rhughes&date=explicit&mindate=2006-01-25%2014:57&maxdate=2006-01-25%2014:59

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to