diff options
author | netchild <netchild@FreeBSD.org> | 2006-08-09 11:25:10 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-08-09 11:25:10 +0000 |
commit | 67507b4620e6cee2a6aa3211d70337659492fc4e (patch) | |
tree | 7b16007b88e286a4249a9f7278d621bad8988962 /usr.sbin/sade/dmenu.c | |
parent | ac8ab65212e08c8eb018c2711e46a0a2e77b29bd (diff) | |
download | FreeBSD-src-67507b4620e6cee2a6aa3211d70337659492fc4e.zip FreeBSD-src-67507b4620e6cee2a6aa3211d70337659492fc4e.tar.gz |
Remove the keymap stuff too, it is not needed in sade.
Diffstat (limited to 'usr.sbin/sade/dmenu.c')
-rw-r--r-- | usr.sbin/sade/dmenu.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/usr.sbin/sade/dmenu.c b/usr.sbin/sade/dmenu.c index fea1953..139f999 100644 --- a/usr.sbin/sade/dmenu.c +++ b/usr.sbin/sade/dmenu.c @@ -106,25 +106,6 @@ dmenuSetVariables(dialogMenuItem *tmp) } int -dmenuSetKmapVariable(dialogMenuItem *tmp) -{ - char *lang; - int err; - - variable_set((char *)tmp->data, TRUE); - lang = variable_get(VAR_KEYMAP); - if (lang != NULL) - { - err = loadKeymap(lang); - if (err == -1) - msgConfirm("No appropriate keyboard map found, sorry."); - else if (err == -2) - msgConfirm("Error installing keyboard map, errno = %d.", errno); - } - return DITEM_SUCCESS; -} - -int dmenuToggleVariable(dialogMenuItem *tmp) { char *var, *cp; |