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

Bug#596677: unblock: libconfig-model-tkui-perl/1.310-1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock


Please unblock package libconfig-model-tkui-perl. This new release fixes
a usability bug where some buttons were not enabled when needed.

The meat of the change is quite small:

Index: lib/Config/Model/Tk/HashEditor.pm
===================================================================
--- lib/Config/Model/Tk/HashEditor.pm   (revision 61498)
+++ lib/Config/Model/Tk/HashEditor.pm   (revision 62496)
@@ -119,7 +119,7 @@
 
     # bind both entries to update correctly the state of all buttons
     my $bound_sub = sub { 
-       $cw->update_state(entry => $item , tklist => $tklist->curselection) 
+       $cw->update_state(entry => $item , tklist => $tklist->curselection || 0) 
     };
     $entry -> bind( '<KeyPress>'       , $bound_sub );
     $tklist-> bind( '<<ListboxSelect>>', $bound_sub );



unblock libconfig-model-tkui-perl/1.310-1

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash



Reply to: