From d35ea5509ba425cf4f29018ddbf187f48dbb12a1 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 24 Oct 2006 08:46:07 +0100 Subject: [PATCH] * When selecting a keymap from the F3 menu, set config.keymap directly rather than indirecting via a locale. The old code crashed when selecting a keymap without an associated locale. --- debian/changelog | 8 ++++++++ dia_keymap.inc | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 69ebca5..b07cfdc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +gfxboot-theme-ubuntu (0.2.10) UNRELEASED; urgency=low + + * When selecting a keymap from the F3 menu, set config.keymap directly + rather than indirecting via a locale. The old code crashed when + selecting a keymap without an associated locale. + + -- Colin Watson Tue, 24 Oct 2006 08:41:41 +0100 + gfxboot-theme-ubuntu (0.2.9) edgy; urgency=low * Preseed console-setup/modelcode to abnt2 for Brazilian (Malone #66774) diff --git a/dia_keymap.inc b/dia_keymap.inc index 7d286d9..bab6998 100644 --- a/dia_keymap.inc +++ b/dia_keymap.inc @@ -54,7 +54,7 @@ /keymap.update { /xmenu xmenu.keymap def - keymaps xmenu .xm_current get get .km.locales get 0 get setkeymap + /config.keymap keymaps xmenu .xm_current get get def window.action actRedraw eq { pmenu.update } if } def