diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-25 13:52:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-25 13:52:30 +0000 |
commit | feb9b277b59de3a44963a4aebc502037ef1f004e (patch) | |
tree | 8b6b6ce8e53d3b066cdb3dfeacd439f017023611 | |
parent | 403df0a96a21e16a1515fb50c548454ee9090cfa (diff) | |
download | control-center-feb9b277b59de3a44963a4aebc502037ef1f004e.tar control-center-feb9b277b59de3a44963a4aebc502037ef1f004e.tar.gz control-center-feb9b277b59de3a44963a4aebc502037ef1f004e.tar.bz2 control-center-feb9b277b59de3a44963a4aebc502037ef1f004e.tar.xz control-center-feb9b277b59de3a44963a4aebc502037ef1f004e.zip |
(build_list) make sure --save-html-pages write UTF-8 files
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | control-center | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,5 @@ - make icon+text act as a single item for links +- make sure --save-html-pages write UTF-8 files Version 11.4 - 25 September 2008, Thierry Vignaud diff --git a/control-center b/control-center index 16cc4c1c..63af531a 100755 --- a/control-center +++ b/control-center @@ -892,7 +892,10 @@ foreach (@tree) { $page_count++; $string .= qq(</BODY></HTML>); - output_p("/tmp/mcc/$i.html", $string) if $save_html; + if ($save_html) { + mkdir_p('/tmp/mcc'); + MDK::Common::File::output_utf8("/tmp/mcc/$i.html", $string); + } push @buttons, gtknew('Button', relief => 'none', child => gtknew('Label_Right', text_markup => qq(<small>$text</small>), ellipsize => 'end'), |