diff options
author | Ali Abdallah <ali.slackware@gmail.com> | 2009-04-10 10:00:36 +0000 |
---|---|---|
committer | Ali Abdallah <ali.slackware@gmail.com> | 2009-04-10 10:00:36 +0000 |
commit | 3db05921599fded2e6c94c9f02e62f8d1c5af138 (patch) | |
tree | 605ff90f8c8c3aaca4f86d1ff875f51a6be5ceef /settings | |
parent | 4b519ccbcf69bd10bca0926c209268482d31d3f8 (diff) | |
download | ixfce4-power-manager-3db05921599fded2e6c94c9f02e62f8d1c5af138.tar.gz |
Fall back to HAL in case we fail to map X11 keys
(Old svn revision: 7152)
Diffstat (limited to 'settings')
-rw-r--r-- | settings/xfpm-settings-main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/settings/xfpm-settings-main.c b/settings/xfpm-settings-main.c index fd319e21..5b4a0322 100644 --- a/settings/xfpm-settings-main.c +++ b/settings/xfpm-settings-main.c @@ -78,7 +78,6 @@ int main(int argc, char **argv) gboolean user_privilege; gboolean can_suspend; gboolean can_hibernate; - gboolean has_lid; gboolean has_lcd_brightness; XfconfChannel *channel; @@ -130,7 +129,7 @@ int main(int argc, char **argv) xfpm_manager_dbus_client_get_config (proxy, &system_laptop, &user_privilege, &can_suspend, &can_hibernate, &has_lcd_brightness, - &has_lid, &error); + &error); if ( error ) { @@ -143,7 +142,7 @@ int main(int argc, char **argv) dialog = xfpm_settings_dialog_new (channel, system_laptop, user_privilege, can_suspend, can_hibernate, has_lcd_brightness, - has_lid); + system_laptop); g_signal_connect(dialog, "response", G_CALLBACK(dialog_response_cb), bus); |