A minuscule hack to fall back onto OpenFromMime() should Open() not be
overridden.
-Kevin Kubasik
? src/glue/.deps
? src/glue/.libs
? src/glue/ephy-spinner.lo
? src/glue/libsearchglue.la
? src/glue/search-entry.lo
? src/glue/search.lo
Index: src/Tiles/Tile.cs
===================================================================
RCS file: /cvs/gnome/holmes/src/Tiles/Tile.cs,v
retrieving revision 1.8
diff -u -r1.8 Tile.cs
--- src/Tiles/Tile.cs 14 Dec 2005 20:26:43 -0000 1.8
+++ src/Tiles/Tile.cs 15 Dec 2005 21:45:49 -0000
@@ -264,6 +264,11 @@
public virtual void Open ()
{
System.Console.WriteLine ("Warning: Open method not
implemented for this tile type");
+ System.Console.WriteLine (hit.Type);
+ if(hit.Type == "File"){
+ System.Console.WriteLine ("Attempting to open
file using MimeType");
+ OpenFromMime (hit,"gnome-open",null,false);
+ }
}
protected void OpenFromMime (Hit hit)
_______________________________________________
Dashboard-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dashboard-hackers