f-spot r4096 - in trunk: . src
- From: rubenv svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4096 - in trunk: . src
- Date: Wed, 25 Jun 2008 15:08:38 +0000 (UTC)
Author: rubenv
Date: Wed Jun 25 15:08:38 2008
New Revision: 4096
URL: http://svn.gnome.org/viewvc/f-spot?rev=4096&view=rev
Log:
2008-06-25 Ruben Vermeersch <ruben savanne be>
* InfoDisplay.cs, MetadataStore.cs: Fix invalid type comparisons.
Modified:
trunk/ChangeLog
trunk/src/InfoDisplay.cs
trunk/src/MetadataStore.cs
Modified: trunk/src/InfoDisplay.cs
==============================================================================
--- trunk/src/InfoDisplay.cs (original)
+++ trunk/src/InfoDisplay.cs Wed Jun 25 15:08:38 2008
@@ -379,7 +379,7 @@
string fg = InfoDisplay.Color (info.Style.Foreground (Gtk.StateType.Active));
//if (MetadataStore.Namespaces.GetPrefix (path) != null) {
- if (stmt.Object is Literal) {
+ if (stmt.Object is SemWeb.Literal) {
stream.Write ("<tr><td valign=top align=right bgcolor=\""+ bg + "\"><font color=\"" + fg + "\">");
stream.Write (title);
stream.Write ("</font></td><td>");
Modified: trunk/src/MetadataStore.cs
==============================================================================
--- trunk/src/MetadataStore.cs (original)
+++ trunk/src/MetadataStore.cs Wed Jun 25 15:08:38 2008
@@ -105,7 +105,7 @@
if (d != null) {
label = d.title;
- if (d.formater != null && stmt.Object is Literal)
+ if (d.formater != null && stmt.Object is SemWeb.Literal)
value = d.formater.GetValue (store, (SemWeb.Literal)stmt.Object);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]