[Xfce4-commits] <xfce4-settings:master> Don't activate numlock on first launch.
Jérôme Guelfucci
noreply at xfce.org
Sun Nov 14 17:50:02 CET 2010
Updating branch refs/heads/master
to 6c13ff5975a5c24a2019a47a5fdb23754b7238ff (commit)
from 022bc7908523d36b4976668abf3c0f94e3e73a62 (commit)
commit 6c13ff5975a5c24a2019a47a5fdb23754b7238ff
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Nov 14 17:48:02 2010 +0100
Don't activate numlock on first launch.
NEWS | 1 +
xfce4-settings-helper/keyboards.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/NEWS b/NEWS
index 41c7866..9993fa1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
4.7.5
=====
- Use xfconf_channel_get instead of xfconf_channel_new.
+- Don't activate numlock on first launch.
4.7.4
=====
diff --git a/xfce4-settings-helper/keyboards.c b/xfce4-settings-helper/keyboards.c
index 00f6040..2fe0fbf 100644
--- a/xfce4-settings-helper/keyboards.c
+++ b/xfce4-settings-helper/keyboards.c
@@ -228,7 +228,7 @@ xfce_keyboards_helper_restore_numlock_state (XfconfChannel *channel)
gboolean state;
dpy = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
- state = xfconf_channel_get_bool (channel, "/Default/Numlock", TRUE);
+ state = xfconf_channel_get_bool (channel, "/Default/Numlock", FALSE);
numlock_mask = XkbKeysymToModifiers (dpy, XK_Num_Lock);
More information about the Xfce4-commits
mailing list