Comment 6 for bug 415038

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Jani for the original patch!

This broke on progress bars and cases where no question was shown (it just answered with "30 backup" there).

While I was at it, I also fixed the "hide cancel button" to actually work. That's something that is broken in the current gnome debconf as well.

I tested this with the included demo:

  DEBIAN_FRONTEND=gnome DEBCONF_DEBUG=developer PERL5LIB=. samples/demo

and with a noninteractive dialog

  sudo DEBIAN_FRONTEND=gnome DEBCONF_DEBUG=developer PERL5LIB=`pwd` dpkg-reconfigure -phigh man-db

and with an intearctive dialog

  sudo DEBIAN_FRONTEND=gnome DEBCONF_DEBUG=developer PERL5LIB=`pwd` apt-get install xdm

both from the local build tree (thus using PERL5LIB) as well as with built .debs. All cases now work for me and behave identical to the current Gnome2 version (except that the Cancel button is now hidden).