Fix systemd unit file
[lgpl/argeo-commons.git] / jcr / org.argeo.cms.ui / src / org / argeo / cms / ui / util / UserMenu.java
index 316cb51c019019c82d2ae30dc5bf64f677b82f52..09aeff60f412a20282ac23096db47ceef6fc6c6e 100644 (file)
@@ -2,7 +2,7 @@ package org.argeo.cms.ui.util;
 
 import javax.jcr.Node;
 
-import org.argeo.cms.CmsException;
+import org.argeo.cms.swt.CmsException;
 import org.argeo.cms.swt.auth.CmsLoginShell;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.ShellAdapter;
@@ -17,7 +17,8 @@ public class UserMenu extends CmsLoginShell {
        private final Node context;
 
        public UserMenu(Control source, Node context) {
-               super(CmsUiUtils.getCmsView());
+               // FIXME pass CMS context
+               super(CmsUiUtils.getCmsView(), null);
                this.context = context;
                createUi();
                if (source == null)