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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed May 23 20:11:58 EEST 2007
Author: marivoll
Date: 2007-05-23 20:11:58 +0300 (Wed, 23 May 2007)
New Revision: 11791

Modified:
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-voldev.c
Log:
	* hildon-fm/hildon-file-system-voldev.c
	(hildon_file_system_voldev_volumes_changed): Translate Gnome icon
	names to Hildon icons, as a 'temporary' measure.


Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-voldev.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-voldev.c	2007-05-23 16:39:10 UTC (rev 11790)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-voldev.c	2007-05-23 17:11:58 UTC (rev 11791)
@@ -193,10 +193,9 @@
       || strcmp (location->fixed_icon, "gnome-dev-harddisk-usb") == 0)
     location->fixed_icon = "qgn_list_filesys_removable_storage";
   else if (strcmp (location->fixed_icon, "gnome-dev-removable") == 0
-	   || strcmp (location->fixed_icon, "gnome-dev-media-sdmmcb") == 0)
+	   || strcmp (location->fixed_icon, "gnome-dev-media-sdmmc") == 0)
     {
-      if (g_str_has_prefix (location->basepath, "drive:///dev/mmcblk0")
-	  || g_str_has_prefix (location->basepath, "file:///media/mmc0"))
+      if (g_str_has_prefix (location->basepath, "file:///media/mmc2"))
 	location->fixed_icon = "qgn_list_gene_internal_memory_card";
       else
       	location->fixed_icon = "qgn_list_gene_removable_memory_card";


More information about the maemo-commits mailing list