summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-06 10:57:35 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-06 10:57:35 +0000
commit36c1b857f0ca6f0e97abda49636059f27de88c0a (patch)
treec3f327236c37be6a560835b66d18a1cf0e6cab48
parente2e38b51dbd58c6031bb81707baf893a09748f59 (diff)
downloadcontrol-center-36c1b857f0ca6f0e97abda49636059f27de88c0a.tar
control-center-36c1b857f0ca6f0e97abda49636059f27de88c0a.tar.gz
control-center-36c1b857f0ca6f0e97abda49636059f27de88c0a.tar.bz2
control-center-36c1b857f0ca6f0e97abda49636059f27de88c0a.tar.xz
control-center-36c1b857f0ca6f0e97abda49636059f27de88c0a.zip
((navigation-requested) fix a crash (mga#6982)
-rw-r--r--NEWS1
-rwxr-xr-xcontrol-center2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4264b91a..f73d8a3c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- fix a crash (mga#6982)
- prevent running internal text mode UI in graphical mode (mga#7161)
Version 12.31 - 24 August 2012 Thierry Vignaud
diff --git a/control-center b/control-center
index 0fb6b183..b59a3e68 100755
--- a/control-center
+++ b/control-center
@@ -995,7 +995,7 @@ $view->signal_connect('navigation-requested' =>
my $res = 'ignore';
# get the actual program ID:
- my $url = Glib::filename_from_uri($request->get_uri);
+ my $url = eval { Glib::filename_from_uri($request->get_uri) };
$url =~ s!^/*!!; # not a path
# workaround wekbit calling navigation-requested with "/":