Revision 01bd6099 src/gr/grnet/pithos/web/client/PermissionsList.java

b/src/gr/grnet/pithos/web/client/PermissionsList.java
45 45
import com.google.gwt.event.logical.shared.ValueChangeHandler;
46 46
import com.google.gwt.user.client.Command;
47 47
import com.google.gwt.user.client.ui.AbstractImagePrototype;
48
import com.google.gwt.user.client.ui.Anchor;
48 49
import com.google.gwt.user.client.ui.CheckBox;
49 50
import com.google.gwt.user.client.ui.Composite;
50 51
import com.google.gwt.user.client.ui.FlexTable;
......
164 165
                        	changePermissionsCallback.execute();
165 166
                    }
166 167
                });
167
                PushButton removeButton = new PushButton(AbstractImagePrototype.create(images.delete()).createImage(), new ClickHandler() {
168
                Anchor removeButton = new Anchor("remove");
169
                removeButton.addStyleName(Pithos.resources.pithosCss().commandAnchor());
170
                removeButton.addClickHandler(new ClickHandler() {
168 171
                    @Override
169 172
                    public void onClick(ClickEvent event) {
170 173
                        permissions.remove(user);
......
174 177
                        	changePermissionsCallback.execute();
175 178
                    }
176 179
                });
177
                removeButton.setTitle("Remove");
178 180
                permTable.setWidget(i, 3, removeButton);
179 181
                permTable.getFlexCellFormatter().setHorizontalAlignment(i, 3, HasHorizontalAlignment.ALIGN_CENTER);
180 182
            }

Also available in: Unified diff