+ enhancing-accessibility-of-lxdialog.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Enhancing accessibility of lxdialog

has been added to the -mm tree.  Its filename is

     enhancing-accessibility-of-lxdialog.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

Some fix that I forgot for good accessibility of lxdialog (the cursor
should always be left at the focus location):

Have the checklist display the currently highlighted entry last, for having
the cursor left on it (rather than on the last line of the list).

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 scripts/kconfig/lxdialog/checklist.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff -puN scripts/kconfig/lxdialog/checklist.c~enhancing-accessibility-of-lxdialog scripts/kconfig/lxdialog/checklist.c
--- devel/scripts/kconfig/lxdialog/checklist.c~enhancing-accessibility-of-lxdialog	2006-04-18 23:11:20.000000000 -0700
+++ devel-akpm/scripts/kconfig/lxdialog/checklist.c	2006-04-18 23:11:20.000000000 -0700
@@ -187,9 +187,12 @@ int dialog_checklist(const char *title, 
 
 	/* Print the list */
 	for (i = 0; i < max_choice; i++) {
-		print_item(list, items[(scroll + i) * 3 + 1],
-			   status[i + scroll], i, i == choice);
+		if (i != choice)
+			print_item(list, items[(scroll + i) * 3 + 1],
+				   status[i + scroll], i, 0);
 	}
+	print_item(list, items[(scroll + choice) * 3 + 1],
+		   status[choice + scroll], choice, 1);
 
 	print_arrows(dialog, choice, item_no, scroll,
 		     box_y, box_x + check_x + 5, list_height);
_

Patches currently in -mm which might be from samuel.thibault@xxxxxxxxxxxx are

apm-fix-armada-laptops-again.patch
enhancing-accessibility-of-lxdialog.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux