#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Wed, 19 Feb 2020 21:05:43 +0100
changeset 19475 75c5a1bfdf90
parent 19474 d131a34fc490
child 19476 0a3d41765245
#REFACTORING by cg class: AbstractLauncherApplication::PackageLoadDialog changed: #itemMenu
AbstractLauncherApplication.st
--- a/AbstractLauncherApplication.st	Wed Feb 19 21:04:49 2020 +0100
+++ b/AbstractLauncherApplication.st	Wed Feb 19 21:05:43 2020 +0100
@@ -7433,14 +7433,13 @@
                         enabled:defClass notNil).
 
             item type == #monticelloPackage ifTrue:[
-                m addItem:(MenuItem 
-                            label: (resources string:'Browse Monticello Package')
-                            itemValue: [
-                                |repos|
-
-                                repos := item parent info.                    
-                                MCRepositoryBrowser openOnRepository:repos forPackage:item label.
-                            ]).
+                m addItemLabel: (resources string:'Browse Monticello Package')
+                  value: [
+                      |repos|
+
+                      repos := item parent info.                    
+                      MCRepositoryBrowser openOnRepository:repos forPackage:item label.
+                  ].
             ].
         ].
     ].