[maemo-commits] [maemo-commits] r10121 - projects/haf/trunk/hildon-fm/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Feb 21 15:01:24 EET 2007
Author: marivoll
Date: 2007-02-21 15:01:23 +0200 (Wed, 21 Feb 2007)
New Revision: 10121

Modified:
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.c
Log:
	* hildon-fm/hildon-file-system-model.c
	(hildon_file_system_model_get_value): Use HildonMimeCategory
	instead of OssoMimeCategory, and HILDON_MIME_CATEGORY_IMAGES
	instead of OSSO_MIME_CATEGORY_IMAGES.  Bad Erik!


Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.c	2007-02-21 12:52:47 UTC (rev 10120)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.c	2007-02-21 13:01:23 UTC (rev 10121)
@@ -1111,7 +1111,7 @@
             /* the following if clause handles the hourglass icon */
             if (path && info && !model_node->thumbnail_cache)
             {
-              OssoMimeCategory cat;
+              HildonMimeCategory cat;
               const gchar *mime_type;
               gchar *uri = gtk_file_system_path_to_uri(priv->filesystem,
                                                        path);
@@ -1124,7 +1124,7 @@
                   (uri && !g_str_has_prefix(uri, "obex://")))
               {
                 cat = hildon_mime_get_category_for_mime_type(mime_type);
-                if (cat == OSSO_MIME_CATEGORY_IMAGES)
+                if (cat == HILDON_MIME_CATEGORY_IMAGES)
                   model_node->thumbnail_cache =
                     _hildon_file_system_load_icon_cached(
                         gtk_icon_theme_get_default(),


More information about the maemo-commits mailing list