This is an automated email from the ASF dual-hosted git repository.

dongxu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/james-hupa.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 6dced18  Change the todo to another line so that we can do there.
6dced18 is described below

commit 6dced18ae5da1e5ddee4f522b715cc2857741435
Author: Echo Wang <don...@apache.org>
AuthorDate: Mon Mar 5 17:58:34 2018 +0800

    Change the todo to another line so that we can do there.
---
 .../main/java/org/apache/hupa/client/ui/FolderListView.java    | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/client/src/main/java/org/apache/hupa/client/ui/FolderListView.java 
b/client/src/main/java/org/apache/hupa/client/ui/FolderListView.java
index 8d5b965..b3dbefa 100644
--- a/client/src/main/java/org/apache/hupa/client/ui/FolderListView.java
+++ b/client/src/main/java/org/apache/hupa/client/ui/FolderListView.java
@@ -29,10 +29,11 @@ import org.apache.hupa.client.activity.ToolBarActivity;
 import org.apache.hupa.client.place.FolderPlace;
 import org.apache.hupa.client.storage.HupaStorage;
 import org.apache.hupa.shared.domain.ImapFolder;
-
 import com.google.gwt.cell.client.AbstractCell;
 import com.google.gwt.core.client.Duration;
 import com.google.gwt.core.client.GWT;
+import com.google.gwt.core.client.Scheduler;
+import com.google.gwt.core.client.Scheduler.ScheduledCommand;
 import com.google.gwt.place.shared.PlaceController;
 import com.google.gwt.query.client.Function;
 import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
@@ -102,13 +103,18 @@ public class FolderListView extends Composite implements 
FolderListActivity.Disp
                 msgListDisplay.refresh();
             }
         });
+        //TODO not only refresh data, but highlight the folder list item. <= 
https://issues.apache.org/jira/browse/HUPA-117
+        Scheduler.get().scheduleDeferred(new ScheduledCommand() {
+            public void execute() {
+                SelectionChangeEvent.fire(selectionModel);
+            }
+        });
         pagerPanel.setDisplay(cellList);
         thisView.setWidget(pagerPanel);
     }
 
     @Override
     public void refresh() {
-       //TODO not only refresh data, but highlight the folder list item. <= 
https://issues.apache.org/jira/browse/HUPA-117
         data.refresh();
     }
 

-- 
To stop receiving notification emails like this one, please contact
don...@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to