Also allow to get own information & timeline when clicking on its own avatar
authorJulien Valroff <julien@kirya.net>
Sun, 23 May 2010 20:17:02 +0000 (22:17 +0200)
committerJulien Valroff <julien@kirya.net>
Sun, 23 May 2010 20:17:02 +0000 (22:17 +0200)
debian/patches/005_allow-current-user-info.diff

index e410e13..6d5d550 100644 (file)
@@ -5,8 +5,8 @@ Forwarded: yes
 
 Index: pino/src/user_info_list.vala
 ===================================================================
---- pino.orig/src/user_info_list.vala  2010-05-23 19:46:11.000000000 +0200
-+++ pino/src/user_info_list.vala       2010-05-23 19:46:16.000000000 +0200
+--- pino.orig/src/user_info_list.vala  2010-05-23 19:46:26.000000000 +0200
++++ pino/src/user_info_list.vala       2010-05-23 22:16:11.000000000 +0200
 @@ -167,9 +167,6 @@
        
        /* get user full info and his timeline */
@@ -17,3 +17,14 @@ Index: pino/src/user_info_list.vala
                act.activate();
                
                if(full_status != null && full_status.user_screen_name == screen_name)
+Index: pino/templates/status_me.tpl
+===================================================================
+--- pino.orig/templates/status_me.tpl  2010-05-23 22:16:20.000000000 +0200
++++ pino/templates/status_me.tpl       2010-05-23 22:16:44.000000000 +0200
+@@ -1,5 +1,5 @@
+ <div class="status">
+-      <div class="avatar_me" style="background-image:url('{{avatar}}');"></div>
++      <a href="userinfo://{{screen_name}}"><div class="avatar_me" style="background-image:url('{{avatar}}');"></div></a>
+       <div class="content_{{me}}" id="{{id}}">
+               <div class="header">
+                       <span class="date">{{time}}</span>