Index: deskbar/ui/cuemiac/CuemiacAlignedWindow.py
===================================================================
--- deskbar/ui/cuemiac/CuemiacAlignedWindow.py	(revision 1103)
+++ deskbar/ui/cuemiac/CuemiacAlignedWindow.py	(working copy)
@@ -53,6 +53,10 @@
 		
 		if self.realize_status == False:
 			return
+		
+		if not (self.widgetToAlignWith.flags() & gtk.REALIZED):
+                        print "WARNING: CuemiacAlignedWindow.update_position() widgetToAlignWith is not realized."
+                        return
 			
 		# Get our own dimensions & position
 		(wx, wy) = self.window.get_origin ()
