CVSROOT:        /cvs/gnome
Module name:    gnome-power-manager
Changes by:     mccann  06/01/20 17:19:39

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

Log message:
2006-01-20  William Jon McCann  <[EMAIL PROTECTED]>

* src/gpm-tray-icon.c (gpm_tray_icon_set_image_from_stock):
Interpret a NULL stock id as no icon.
(gpm_tray_icon_embedded): Set a flag when embedded in
a socket.
(gpm_tray_icon_class_init, gpm_tray_icon_notify): If
not embedded don't do notifications.

* src/gpm-manager.c (get_stock_id): Return in one place.
(tray_icon_update, maybe_notify_on_ac_changed)
(maybe_notify_battery_power_changed): Don't try to
send notifications if we don't have a tray icon.  Move
policy do out of here.
(power_battery_power_changed_cb): Do the policy action
here.

Fixes #327799.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-power-manager&who=mccann&date=explicit&mindate=2006-01-20%2017:18&maxdate=2006-01-20%2017:20

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

Reply via email to