Index: trunk/ChameleonPrefPane/Sources/ShellProcess.cpp =================================================================== --- trunk/ChameleonPrefPane/Sources/ShellProcess.cpp (revision 112) +++ trunk/ChameleonPrefPane/Sources/ShellProcess.cpp (revision 113) @@ -156,6 +156,7 @@ std::replace(fsType, fsType+strlen(fsType), '_', ' ' ); partInfo.fsType(fsType); + if (partInfo.label().size()==0) partInfo.label("Untitled"); std::string diskLabel(trim(label)); bool found=false; @@ -175,7 +176,6 @@ if (found) //check if one of them exists { - if (partInfo.label().size()==0) partInfo.label("Untitled"); if(_hiddenParts.length()==0 || _hiddenParts.find(partInfo.toHdStr()) == std::string::npos) _partList.push_back(partInfo);