gnome-power-manager r2633 - in trunk: . src
- From: simonz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r2633 - in trunk: . src
- Date: Mon, 14 Jan 2008 08:43:27 +0000 (GMT)
Author: simonz
Date: Mon Jan 14 08:43:27 2008
New Revision: 2633
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2633&view=rev
Log:
2008-01-14 simon.zheng <simon zheng sun com>
* src/gpm-prefs-core.c: (prefs_setup_ac), (prefs_setup_battery):
Add shutdown to lid actions. When suspend and hibernate aren't
supported on some systems, shutdown may be the third choice.
Modified:
trunk/ChangeLog
trunk/src/gpm-prefs-core.c
Modified: trunk/src/gpm-prefs-core.c
==============================================================================
--- trunk/src/gpm-prefs-core.c (original)
+++ trunk/src/gpm-prefs-core.c Mon Jan 14 08:43:27 2008
@@ -916,6 +916,7 @@
ACTION_BLANK,
ACTION_SUSPEND,
ACTION_HIBERNATE,
+ ACTION_SHUTDOWN,
NULL};
gpm_prefs_setup_action_combo (prefs, "combobox_ac_lid",
@@ -973,6 +974,7 @@
ACTION_BLANK,
ACTION_SUSPEND,
ACTION_HIBERNATE,
+ ACTION_SHUTDOWN,
NULL};
const gchar *battery_critical_actions[] =
{ACTION_NOTHING,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]