aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/edit_urpm_sources.pm5
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 00724e21..a87ae273 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- MageiaUpdate:
o revert commit d600679cdaf402a0f97bbbd76e7fa04c06c5a37e (mga#12766)
- edit-urpm-sources:
+ o fix crashing when canceling browsing custom media path (mga#13268)
o fix down arrow button not working (mga#13572)
Version 6.10 - 22 January 2014, Colin Guthrie
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index f9322504..231524fc 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -192,7 +192,10 @@ sub add_callback() {
$info->{dirsel},
0, gtksignal_connect(
gtknew('Button', text => but(N("Browse..."))),
- clicked => sub { $info->{url_entry}->set_text(ask_dir()) },
+ clicked => sub {
+ my $dir = ask_dir() or return;
+ $info->{url_entry}->set_text($dir);
+ }
)
),
);