Index: t3lib/class.t3lib_iconworks.php
===================================================================
--- t3lib/class.t3lib_iconworks.php	(revision 9765)
+++ t3lib/class.t3lib_iconworks.php	(working copy)
@@ -915,6 +915,27 @@
 			'noIconFound' => ($row['_NO_ICON_FOUND'] ? TRUE : FALSE),
 		);
 
+			// Add custom status icons from TCA
+		if(is_array($tcaCtrl['status_fields'])) {
+			foreach($tcaCtrl['status_fields'] as $fldName => $fldConfig) {
+				if($tcaCtrl['enablecolumns'][$fldName]) {
+						// Extend default statuses
+					$status[$fldName] = ($row[$fldName] ? TRUE : FALSE);
+
+						// Add configured icon to sprite
+					t3lib_SpriteManager::addSingleIcons(array(
+						$fldName => $fldConfig['icon'],
+					));
+
+						// Append name to global priority array. Make it last in queue.
+					array_push($GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayPriorities'], $fldName);
+
+						// Extend sprites class mapping
+					$GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'][$fldName] = 'extensions--'.$fldName;
+				}
+			}
+		}
+
 			// Icon state based on "enableFields":
 		if (is_array($tcaCtrl['enablecolumns'])) {
 			$enCols = $tcaCtrl['enablecolumns'];
