OSDN Git Service

RefreshTimelineを使用する非同期処理の種類を最小限にする
authorKimura Youichi <kim.upsilon@bucyou.net>
Mon, 20 Oct 2014 04:12:33 +0000 (13:12 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sun, 26 Oct 2014 03:57:02 +0000 (12:57 +0900)
OpenTween/Tween.cs

index 622227e..7758ace 100644 (file)
@@ -2765,17 +2765,20 @@ namespace OpenTween
                 rslt.type == MyCommon.WORKERTYPE.DirectMessegeSnt ||
                 rslt.type == MyCommon.WORKERTYPE.Favorites ||
                 rslt.type == MyCommon.WORKERTYPE.Follower ||
-                rslt.type == MyCommon.WORKERTYPE.NoRetweetIds ||
-                rslt.type == MyCommon.WORKERTYPE.FavAdd ||
-                rslt.type == MyCommon.WORKERTYPE.FavRemove ||
                 rslt.type == MyCommon.WORKERTYPE.Related ||
-                rslt.type == MyCommon.WORKERTYPE.UserTimeline ||
-                rslt.type == MyCommon.WORKERTYPE.BlockIds ||
-                rslt.type == MyCommon.WORKERTYPE.Configuration)
+                rslt.type == MyCommon.WORKERTYPE.UserTimeline)
             {
                 RefreshTimeline(false); //リスト反映
             }
 
+            if (rslt.type == MyCommon.WORKERTYPE.FavAdd ||
+                rslt.type == MyCommon.WORKERTYPE.FavRemove)
+            {
+                // 流速表示等の更新のみ行う
+                SetMainWindowTitle();
+                if (!StatusLabelUrl.Text.StartsWith("http")) SetStatusLabelUrl();
+            }
+
             switch (rslt.type)
             {
                 case MyCommon.WORKERTYPE.Timeline: