summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-18 10:09:26 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-18 10:09:26 +0000
commitdebc33cace92c36108afdbcd4d7a2877ca178b2c (patch)
tree153918664ff92688f03b79c5f3f924325f5ba6b4
parentfaa46c28c29111c74d68a5cc860d83f61e637f3f (diff)
downloadmgaonline-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-xmdkapplet1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 1f783b10..f1425dff 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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'));