[PATCH] Open blog items in browser when clicked, adds Author



Also, since all kinds of shit comes as RSS feeds nowadays, shouldnt we
name the category for RSS feeds something else than "Blogs"? Channels,
Feeds, News or something more generic... Ideas? And perhaps have a
non-blam related icon for it. Propose attached png.

/Fredrik

Attachment: blog.png
Description: PNG image

Index: Tiles/template-blog.html
===================================================================
RCS file: /cvs/gnome/beagle/Tiles/template-blog.html,v
retrieving revision 1.2
diff -r1.2 template-blog.html
9a10
> Author: @fixme:author@<br>
Index: Tiles/TileBlog.cs
===================================================================
RCS file: /cvs/gnome/beagle/Tiles/TileBlog.cs,v
retrieving revision 1.3
diff -r1.3 TileBlog.cs
89a90,94
> 		private void OpenBlogItemInBrowser()
> 		{
> 			Gnome.Url.Show(hit["fixme:link"]);
> 		}
> 
113c118
< 				ctx.Image ("icon-blog.png", w, h, null);
---
> 				ctx.Image ("icon-blog.png", w, h, new TileActionHandler(OpenBlogItemInBrowser));
Index: beagled/BlamQueryable/BlamQueryable.cs
===================================================================
RCS file: /cvs/gnome/beagle/beagled/BlamQueryable/BlamQueryable.cs,v
retrieving revision 1.6
diff -r1.6 BlamQueryable.cs
113a114
> 					indexable.AddProperty(Property.NewKeyword ("fixme:link", item.Id));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]