CVSROOT:        /cvs/gnome
Module name:    gnome-panel
Changes by:     vuntz   05/06/06 17:51:27

Modified files:
        gnome-panel    : ChangeLog panel-action-button.c 
                         panel-menu-items.c panel-util.c panel-util.h 

Log message:
2005-06-06  Vincent Untz  <[EMAIL PROTECTED]>

Add gnome-screensaver support. Fixes bug #302348 
[http://bugzilla.gnome.org/show_bug.cgi?id=302348].
Patch by William Jon McCann <[EMAIL PROTECTED]>.

* panel-util.[ch]: (panel_lock_screen_action_get_command)
(panel_lock_screen_action_available), (panel_lock_screen_action)
(panel_lock_screen): Consolidate all the screensaver handling into
these functions.  Add gnome-screensaver support.  Check if command
is in the path.

* panel-menu-items.c: (panel_menu_items_append_lock_logout): look
if a screensaver command is available before appending the lock
item.

* panel-action-button.c: (screensaver_properties_enabled)
(screensaver_enabled), (panel_action_lock_is_disabled): Only enable
actions if the command exists.
(panel_action_lock_setup_menu): add icon to the properties item.
(panel_action_lock_invoke_menu): Move functionality to utils.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-panel&who=vuntz&date=explicit&mindate=2005-06-06%2017:50&maxdate=2005-06-06%2017:52

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

Reply via email to