From 3db05921599fded2e6c94c9f02e62f8d1c5af138 Mon Sep 17 00:00:00 2001 From: Ali Abdallah Date: Fri, 10 Apr 2009 10:00:36 +0000 Subject: Fall back to HAL in case we fail to map X11 keys (Old svn revision: 7152) --- settings/xfpm-settings-main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'settings') 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); -- cgit v1.2.1