Package: debconf Version: 1.5.23
Hi, I would like to hide the cacncel button and the close button in the gnome frontend by default. The rational is that users often click it when they don't have a clue what to answer. But because "cancel" is mapped to "exit 1" this makes the maintainer script that calls debconf fail. This is especially a problem during dist-upgrades where failures in maintainer scripts are bad. Cheers, Michael
diff -Nru debconf-1.5.23ubuntu1/Debconf/FrontEnd/Gnome.pm debconf-1.5.23ubuntu2/Debconf/FrontEnd/Gnome.pm --- debconf-1.5.23ubuntu1/Debconf/FrontEnd/Gnome.pm 2008-09-19 00:58:13.000000000 +0200 +++ debconf-1.5.23ubuntu2/Debconf/FrontEnd/Gnome.pm 2008-10-10 10:47:40.000000000 +0200 @@ -111,6 +111,9 @@ } $this->druid(Gnome2::Druid->new); + $this->druid->cancel->hide; + $this->win->realize; + $this->win->window->set_functions(["resize","move","maximize"]); $this->druid->show; $this->win->add($this->druid);