OSDN Git Service

Added to color reply status to me
authorHirotaka Kawata <hktechno@hotmail.com>
Wed, 17 Feb 2010 07:13:32 +0000 (16:13 +0900)
committerHirotaka Kawata <hktechno@hotmail.com>
Wed, 17 Feb 2010 07:14:19 +0000 (16:14 +0900)
timeline.py

index a8c6cd6..b46a4f9 100644 (file)
@@ -174,6 +174,8 @@ class timeline:
             # If my status, change background color
             if i.user.id == self.api.api.user.id:
                 background = "#CCFFCC"
+            elif i.in_reply_to_user_id == self.api.api.user.id:
+                background = "#FFCCCC"
             else:
                 background = None