eel r2114 - in trunk: . eel
- From: ssp svn gnome org
- To: svn-commits-list gnome org
- Subject: eel r2114 - in trunk: . eel
- Date: Sat, 31 May 2008 04:40:26 +0000 (UTC)
Author: ssp
Date: Sat May 31 04:40:26 2008
New Revision: 2114
URL: http://svn.gnome.org/viewvc/eel?rev=2114&view=rev
Log:
Sat May 31 00:39:25 2008 SÃren Sandmann <sandmann redhat com>
* eel/eel-background.c (eel_background_reload_image): Use
gnome_bg_set_filename().
* configure.in: Require new gnome-desktop
Modified:
trunk/ChangeLog
trunk/configure.in
trunk/eel/eel-background.c
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat May 31 04:40:26 2008
@@ -11,7 +11,7 @@
XML_REQUIRED=2.4.7
GAIL_REQUIRED=0.16
LIBGLADE_REQUIRED=2.0.0
-LIBGNOME_DESKTOP_REQUIRED=2.21.3
+LIBGNOME_DESKTOP_REQUIRED=2.23.3
STARTUP_NOTIFICATION_REQUIRED=0.8
AC_SUBST(GCONF_REQUIRED)
Modified: trunk/eel/eel-background.c
==============================================================================
--- trunk/eel/eel-background.c (original)
+++ trunk/eel/eel-background.c Sat May 31 04:40:26 2008
@@ -531,7 +531,13 @@
static void
eel_background_reload_image (EelBackground *background)
{
- gnome_bg_set_uri (background->details->bg, background->details->image_uri);
+ char *filename = g_filename_from_uri (background->details->image_uri, NULL, NULL);
+
+ if (filename != NULL) {
+ gnome_bg_set_filename (background->details->bg, filename);
+ }
+
+ g_free (filename);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]