[maemo-commits] [maemo-commits] r13029 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Aug 6 16:31:13 EEST 2007
Author: jobi
Date: 2007-08-06 16:31:09 +0300 (Mon, 06 Aug 2007)
New Revision: 13029

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-home-background.c
Log:

2007-08-06  Johan Bilien  <johan.bilien at nokia.com>

	* src/hd-home-background.c:
	- empty background do not require caching



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-08-06 13:16:02 UTC (rev 13028)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-08-06 13:31:09 UTC (rev 13029)
@@ -1,5 +1,10 @@
 2007-08-06  Johan Bilien  <johan.bilien at nokia.com>
 
+	* src/hd-home-background.c:
+	- empty background do not require caching
+
+2007-08-06  Johan Bilien  <johan.bilien at nokia.com>
+
 	* libhildondesktop/hildon-desktop-panel-window-composite.[ch]:
 	- make the tracking of the home window base-class specific,
 	so it's done once for all instances of the subclasses.

Modified: projects/haf/trunk/hildon-desktop/src/hd-home-background.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-home-background.c	2007-08-06 13:16:02 UTC (rev 13028)
+++ projects/haf/trunk/hildon-desktop/src/hd-home-background.c	2007-08-06 13:31:09 UTC (rev 13029)
@@ -364,6 +364,9 @@
 
   g_return_val_if_fail (filename, FALSE);
 
+  if (filename[0] == '\0')
+    return FALSE;
+
   mmc_mount_point = g_getenv (HD_ENV_MMC_MOUNTPOINT);
   mmc_mount_point_uri = g_strdup_printf ("file://%s", mmc_mount_point);
 


More information about the maemo-commits mailing list