Add patch to allow current user to see her own info & timeline
authorJulien Valroff <julien@kirya.net>
Sun, 23 May 2010 18:40:11 +0000 (20:40 +0200)
committerJulien Valroff <julien@kirya.net>
Sun, 23 May 2010 18:40:11 +0000 (20:40 +0200)
debian/patches/005_allow-current-user-info.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/005_allow-current-user-info.diff b/debian/patches/005_allow-current-user-info.diff
new file mode 100644 (file)
index 0000000..9b44113
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Allows current user to display her own information & timeline
+Author: Julien Valroff <julien@kirya.net>
+
+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
+@@ -167,9 +167,6 @@
+       
+       /* get user full info and his timeline */
+       public void show_user(string screen_name) {
+-              if(accounts.get_current_account().login == screen_name)
+-                      return;
+-              
+               act.activate();
+               
+               if(full_status != null && full_status.user_screen_name == screen_name)
index 6955fbf..1937408 100644 (file)
@@ -2,3 +2,4 @@
 002_fix-parser-cleanup.diff
 003_identica-tags.diff
 004_fix-search-regex.diff
+005_allow-current-user-info.diff