diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-23 09:35:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-23 09:35:50 +0000 |
commit | 507903e29c933401eb2fa3f8f784f2e22a92504a (patch) | |
tree | 9241a86417676047e9d7be0e5be29bc188459170 | |
parent | 024607558fe97b22b493b7916319e5f123cc4333 (diff) | |
download | control-center-507903e29c933401eb2fa3f8f784f2e22a92504a.tar control-center-507903e29c933401eb2fa3f8f784f2e22a92504a.tar.gz control-center-507903e29c933401eb2fa3f8f784f2e22a92504a.tar.bz2 control-center-507903e29c933401eb2fa3f8f784f2e22a92504a.tar.xz control-center-507903e29c933401eb2fa3f8f784f2e22a92504a.zip |
(definition of @tree) fix IDs of DVD/CDs thus fixing crashing on
invalidly escaped characters (#49034)
(regression introduced in r254139 on 2009-03-17:
"(navigation-requested callback) simplify using Glib")
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | control-center | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- drakconf: + o fix IDs of DVD/CDs thus fixing crashing on invalidly escaped + characters (#49034) - drakxconf: o do use translations when using the text mode version (#48988) diff --git a/control-center b/control-center index b4ad3b68..9e8e1f8d 100755 --- a/control-center +++ b/control-center @@ -467,12 +467,13 @@ my @tree = ( (map { my ($type, $scan, $text, $long_text) = @$_; map_index { + $text = sprintf(translate($text), $_->{info}); my $full_name = $text . ($::i ? $::i + 1 : ''); $programs{$full_name} = { binary => "$sbindir/diskdrake --removable=$_->{device}", embedded => 1, - description => sprintf(translate($text), $_->{info}), + description => $text, long_description => sprintf(translate($long_text), $_->{info}), icon => "diskdrake_$type", }; |