From d4b21ab648784547de5cad817e69f0e6f2f7f364 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Tue, 28 Jun 2011 22:00:59 +0200 Subject: [PATCH] Make default config work with example annotations --- sloth/conf/default_config.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sloth/conf/default_config.py b/sloth/conf/default_config.py index 20e33e4..f4fd1c4 100644 --- a/sloth/conf/default_config.py +++ b/sloth/conf/default_config.py @@ -34,7 +34,16 @@ LABELS = ( { 'attributes': { - 'type': 'rect', + 'class': 'Face', + }, + 'inserter': 'sloth.items.RectItemInserter', + 'item': 'sloth.items.RectItem', + 'hotkey': 'f', + 'text': 'Face', + }, + { + 'attributes': { + 'class': 'rect', }, 'inserter': 'sloth.items.RectItemInserter', 'item': 'sloth.items.RectItem', @@ -43,7 +52,7 @@ LABELS = ( }, { 'attributes': { - 'type': 'point', + 'class': 'point', }, 'inserter': 'sloth.items.PointItemInserter', 'item': 'sloth.items.PointItem',