diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 10:09:26 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 10:09:26 +0000 |
commit | debc33cace92c36108afdbcd4d7a2877ca178b2c (patch) | |
tree | 153918664ff92688f03b79c5f3f924325f5ba6b4 | |
parent | faa46c28c29111c74d68a5cc860d83f61e637f3f (diff) | |
download | mgaonline-debc33cace92c36108afdbcd4d7a2877ca178b2c.tar mgaonline-debc33cace92c36108afdbcd4d7a2877ca178b2c.tar.gz mgaonline-debc33cace92c36108afdbcd4d7a2877ca178b2c.tar.bz2 mgaonline-debc33cace92c36108afdbcd4d7a2877ca178b2c.tar.xz mgaonline-debc33cace92c36108afdbcd4d7a2877ca178b2c.zip |
(setState) fix closing about dialog when "close" button is clicked (#25867)
-rwxr-xr-x | mdkapplet | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -476,6 +476,7 @@ sub setState { $menu->append(gtksignal_connect(gtkshow(Gtk2::MenuItem->new_with_label(N("About..."))), activate => sub { my $ver = 1; # automatically set from spec file my $w = gtkset_name(Gtk2::AboutDialog->new, N("Mandriva Online %s"), $ver); + $w->signal_connect(response => sub { $_[0]->destroy }); $w->set_version($ver); $w->set_icon(Gtk2::Gdk::Pixbuf->new_from_file('/usr/share/icons/mini/mdkonline.png')); $w->set_copyright(N("Copyright (C) %s by Mandriva", '2001-2006')); |