In wizard update the bg title after shrinking
authorNikos Skalkotos <skalkoto@grnet.gr>
Fri, 24 Aug 2012 11:19:02 +0000 (14:19 +0300)
committerNikos Skalkotos <skalkoto@grnet.gr>
Fri, 24 Aug 2012 11:19:02 +0000 (14:19 +0300)
image_creator/dialog_wizard.py

index 51424e3..f61197d 100644 (file)
@@ -227,6 +227,10 @@ def extract_image(session):
 
         #Shrink
         size = device.shrink()
+        session['shrinked'] = True
+        getattr(__import__("image_creator.dialog_main",
+                fromlist=['image_creator']),
+                "update_background_title")(session)
 
         metadata.update(device.meta)
         metadata['DESCRIPTION'] = wizard['ImageDescription']