Smaller font for the statistics (issue #2239)
[pithos-web-client] / src / gr / grnet / pithos / web / client / CredentialsDialog.java
index faef866..eebedf1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2011 GRNET S.A. All rights reserved.
+ * Copyright 2011-2012 GRNET S.A. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or
  * without modification, are permitted provided that the following
@@ -62,7 +62,7 @@ public class CredentialsDialog extends DialogBox {
         * The widget constructor.
         */
        public CredentialsDialog(final Pithos app) {
-               Anchor close = new Anchor();
+               Anchor close = new Anchor("close");
                close.addStyleName("close");
                close.addClickHandler(new ClickHandler() {
                        
@@ -130,7 +130,7 @@ public class CredentialsDialog extends DialogBox {
 
                // Create the 'OK' button, along with a listener that hides the dialog
                // when the button is clicked.
-               Button confirm = new Button("Close", new ClickHandler() {
+               Button confirm = new Button("OK", new ClickHandler() {
                        @Override
                        public void onClick(ClickEvent event) {
                                hide();