diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-24 17:05:27 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-24 17:05:27 -0500 |
commit | eb6abe95552df3aa95f6a263cac3b79462c797ae (patch) | |
tree | 930a4e9df8b4d26079777ef443f6c3c3ba7fd341 /src/actions.c | |
parent | ae41c0d677b3ba0be93bafacfb2c48ee36e60f86 (diff) | |
download | ayatana-indicator-session-eb6abe95552df3aa95f6a263cac3b79462c797ae.tar.gz ayatana-indicator-session-eb6abe95552df3aa95f6a263cac3b79462c797ae.tar.bz2 ayatana-indicator-session-eb6abe95552df3aa95f6a263cac3b79462c797ae.zip |
use login1's terminology 'power off', 'reboot'
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/actions.c b/src/actions.c index 788f418..babc285 100644 --- a/src/actions.c +++ b/src/actions.c @@ -103,8 +103,8 @@ indicator_session_actions_class_init (IndicatorSessionActionsClass * klass) klass->logout = NULL; klass->suspend = NULL; klass->hibernate = NULL; - klass->restart = NULL; - klass->shutdown = NULL; + klass->reboot = NULL; + klass->power_off = NULL; klass->switch_to_screensaver = NULL; klass->switch_to_greeter = NULL; klass->switch_to_guest = NULL; @@ -246,11 +246,11 @@ indicator_session_actions_logout (IndicatorSessionActions * self) } void -indicator_session_actions_shutdown (IndicatorSessionActions * self) +indicator_session_actions_power_off (IndicatorSessionActions * self) { g_return_if_fail (INDICATOR_IS_SESSION_ACTIONS (self)); - INDICATOR_SESSION_ACTIONS_GET_CLASS (self)->shutdown (self); + INDICATOR_SESSION_ACTIONS_GET_CLASS (self)->power_off (self); } void @@ -270,11 +270,11 @@ indicator_session_actions_about (IndicatorSessionActions * self) } void -indicator_session_actions_restart (IndicatorSessionActions * self) +indicator_session_actions_reboot (IndicatorSessionActions * self) { g_return_if_fail (INDICATOR_IS_SESSION_ACTIONS (self)); - INDICATOR_SESSION_ACTIONS_GET_CLASS (self)->restart (self); + INDICATOR_SESSION_ACTIONS_GET_CLASS (self)->reboot (self); } void |