fix double utf8 encoding in name of directory containing non
authorgc <gc>
Sun, 31 Jul 2005 17:40:57 +0000 (17:40 +0000)
committergc <gc>
Sun, 31 Jul 2005 17:40:57 +0000 (17:40 +0000)
ASCII (in statusbar)

bin/booh

index 659e3a226bf81d3d1332dad1dcef19cbffc0d2c4..6d83a6394c19322f74f75e7f838cfc02a12fefff 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -1943,7 +1943,8 @@ def change_dir
             total[element.name] += 1
         end
     }
-    $statusbar.push(0, utf8(_("%s: %s images and %s videos, %s sub-albums") % [ File.basename($xmldir.attributes['path']), total['image'], total['video'], total['dir'] ]))
+    $statusbar.push(0, utf8(_("%s: %s images and %s videos, %s sub-albums") % [ File.basename(from_utf8($xmldir.attributes['path'])),
+                                                                                total['image'], total['video'], total['dir'] ]))
     $subalbums_vb.add($subalbums)
     $subalbums_vb.show_all