[Tween-svn] [1297] ユーザー情報ダイアログの最近の発言内の @ 付きのリンクでユーザーTLタブが開くように変更

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 1月 1日 (土) 08:24:32 JST


Revision: 1297
          http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1297
Author:   anis774
Date:     2011-01-01 08:24:32 +0900 (Sat, 01 Jan 2011)

Log Message:
-----------
ユーザー情報ダイアログの最近の発言内の@付きのリンクでユーザーTLタブが開くように変更

Modified Paths:
--------------
    trunk/Tween/ShowUserInfo.vb


-------------- next part --------------
Modified: trunk/Tween/ShowUserInfo.vb
===================================================================
--- trunk/Tween/ShowUserInfo.vb	2010-12-31 06:11:13 UTC (rev 1296)
+++ trunk/Tween/ShowUserInfo.vb	2010-12-31 23:24:32 UTC (rev 1297)
@@ -337,6 +337,12 @@
                 MyOwner.HashMgr.AddHashToHistory(hash.Trim, False)
                 MyOwner.AddNewTabForSearch(hash)
                 Exit Sub
+            ElseIf e.Url.AbsoluteUri.StartsWith("http://twitter.com/") Then
+                MyOwner.AddNewTabForUserTimeline(e.Url.AbsoluteUri.Remove(0, "http://twitter.com/".Length))
+                Exit Sub
+            ElseIf e.Url.AbsoluteUri.StartsWith("https://twitter.com/") Then
+                MyOwner.AddNewTabForUserTimeline(e.Url.AbsoluteUri.Remove(0, "https://twitter.com/".Length))
+                Exit Sub
             Else
                 MyOwner.OpenUriAsync(e.Url.OriginalString)
             End If



Tween-svn メーリングリストの案内
Back to archive index