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

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



Package: cdebconf
Version: 0.116
Severity: normal
Tags: patch

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.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc4-mexhat (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cdebconf depends on:
ii  libatk1.0-0                   1.18.0-2   The ATK accessibility toolkit
ii  libc6                         2.5-11     GNU C Library: Shared libraries
ii  libcairo2                     1.4.8-1    The Cairo 2D vector graphics libra
ii  libdebian-installer4          0.51       Library of common debian-installer
ii  libdirectfb-0.9-25            0.9.25.1-6 direct frame buffer graphics - sha
ii  libglib2.0-0                  2.12.12-1  The GLib library of C routines
ii  libgtk-directfb-2.0-0         2.10.13-1  The GTK+ graphical user interface 
ii  libgtk2.0-0                   2.10.13-1  The GTK+ graphical user interface 
ii  libnewt0.52                   0.52.2-10  Not Erik's Windowing Toolkit - tex
ii  libpango1.0-0                 1.16.4-1   Layout and rendering of internatio
ii  libtextwrap1                  0.1-5      text-wrapping library with i18n - 

cdebconf recommends no packages.
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) {

Reply to: