Package: tinyca
Version: 0.7.5-2
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


There is a deprecation warning on execution of tinyca
when clicking on "About" menu:

$ tinyca2 
Deprecation warning: use Gtk2::AboutDialog::set_program_name instead of 
set_name at /usr/share/tinyca/GUI.pm line 2524.

It is impossible to close the "about" popup with "close" button unless click on 
window close button too.

You can find attached a small patch that suppress the warning and allow to
close the popup with the "close" button.

Please note this is not reproductible in oldstable (etch) because the 
libgtk2-perl "set_program_name"
function wat not implemented in version 1.140-1 (changelog says that the 
function was renamed in 
version 1.170 released on 2007-06-17).

After some search, this bug appears in gui-apt-key too (#499145).

- -- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tinyca depends on:
ii  libgtk2-perl                  1:1.190-1  Perl interface to the 2.x series o
ii  liblocale-gettext-perl        1.05-4     Using libc functions for internati
ii  openssl                       0.9.8g-15  Secure Socket Layer (SSL) binary a

Versions of packages tinyca recommends:
ii  zip                           2.32-1     Archiver for .zip files

tinyca suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkm2s64ACgkQ35KHK503hAMz0gCdHg7HVrqfJcatk9NzeuQ8CysS
+xEAoIYiF2WHMZ6YkXxNBFbJl7vl86R0
=m3pA
-----END PGP SIGNATURE-----
--- GUI.pm.orig 2006-07-25 22:12:00.000000000 +0200
+++ GUI.pm      2009-03-10 18:43:01.000000000 +0100
@@ -2521,7 +2521,7 @@
    my ($aboutdialog, $href, $label);
 
    $aboutdialog = Gtk2::AboutDialog->new();
-   $aboutdialog->set_name("TinyCA2");
+   $aboutdialog->set_program_name("TinyCA2");
    $aboutdialog->set_version($main->{'version'});
    $aboutdialog->set_copyright("2002-2006 Stephan Martin");
    $aboutdialog->set_license("GNU Public License (GPL)");
@@ -2534,6 +2534,8 @@
          _("French: Thibault Le Meur <thibault.leme...@supelec.fr>"));
 
    $aboutdialog->show_all();
+   $aboutdialog->run;
+   $aboutdialog->destroy;
 
    return;
 }

Reply via email to