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

Bug#430151: cdebconf: multiple select is not right aligned in Hebrew



On Fri, Jun 22, 2007 at 08:21:51PM +0100, Baruch Even wrote:
As reported in #429351 the multiple selection in tasksel is not right
aligned in Hebrew. That bug was reassigned to newt since newt is the
core of the issue. This bug is to add a patch that needs to be applied
to cdebconf after the above patch is applied to newt.
[...]
Index: src/modules/frontend/newt/newt.c
===================================================================
--- src/modules/frontend/newt/newt.c	(revision 47633)
+++ src/modules/frontend/newt/newt.c	(working copy)
@@ -597,6 +597,7 @@
                def = 1;
        checkbox = newtCheckbox((win_width-sel_width-3)/2, 1+t_height+1+i, choices_trans[i], def ? '*' : ' ', " *", &answer[tindex[i]]);
        newtCheckboxSetFlags(checkbox, NEWT_FLAG_RETURNEXIT, NEWT_FLAGS_SET);
+        newtCheckboxSetWidth(checkbox, sel_width+4);
        newtFormAddComponent(sform, checkbox);
    }
    if (obj->methods.can_go_back(obj, q) || !show_ext_desc) {

I _extremely_ belatedly had a look at this patch, and while it does apply it fails to build because newt doesn't currently have a newtCheckboxSetWidth method (even though #429351 was fixed). Do you know what should be done instead?

Thanks,

--
Colin Watson (he/him)                              [cjwatson@debian.org]


Reply to: