*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Sat, 04 Oct 2008 11:53:57 +0200
changeset 5039 9ac48dce073b
parent 5038 26da8bdd54e2
child 5040 b28c261dd543
*** empty log message ***
StandardSystemView.st
--- a/StandardSystemView.st	Fri Oct 03 15:03:02 2008 +0200
+++ b/StandardSystemView.st	Sat Oct 04 11:53:57 2008 +0200
@@ -1478,15 +1478,15 @@
         self setCursor
     ].
 
-    application isNil ifTrue:[
+    application notNil ifTrue:[
+        windowClassNameString := application className.
+    ] ifFalse:[
         (self class == StandardSystemView and:[subViews size == 1]) ifTrue:[
             "This is a subclass of SimpleView wrapped into a StandardSystemView"
             windowClassNameString := subViews first className.
         ] ifFalse:[
             windowClassNameString := self className.
         ]
-    ] ifFalse:[
-        windowClassNameString := application className.
     ].
     self setWindowClass:('Stx.', windowClassNameString) name:"name"'bla'.
 
@@ -1546,7 +1546,7 @@
 !StandardSystemView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/StandardSystemView.st,v 1.183 2008-07-22 20:50:59 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/StandardSystemView.st,v 1.184 2008-10-04 09:53:57 cg Exp $'
 ! !
 
 StandardSystemView initialize!