From 1ee8281d135434776be474f7d76c2439ab14474d Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Fri, 19 Sep 2008 03:25:26 +0000 Subject: [PATCH] - When switching desktop backgrounds fade between them --- gnome-settings-daemon-2.23.92-fade.patch | 21 +++++++++++++++++++++ gnome-settings-daemon.spec | 9 +++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 gnome-settings-daemon-2.23.92-fade.patch diff --git a/gnome-settings-daemon-2.23.92-fade.patch b/gnome-settings-daemon-2.23.92-fade.patch new file mode 100644 index 0000000..11831b9 --- /dev/null +++ b/gnome-settings-daemon-2.23.92-fade.patch @@ -0,0 +1,21 @@ +--- gnome-settings-daemon-2.23.92/plugins/background/gsd-background-manager.c 2008-08-04 10:25:52.000000000 -0400 ++++ fade/plugins/background/gsd-background-manager.c 2008-09-18 21:48:20.000000000 -0400 +@@ -174,6 +174,7 @@ + GdkScreen *screen; + GdkWindow *root_window; + GdkPixmap *pixmap; ++ GnomeBGCrossfade *fade; + + screen = gdk_display_get_screen (display, i); + +@@ -185,7 +186,9 @@ + gdk_screen_get_height (screen), + TRUE); + +- gnome_bg_set_pixmap_as_root (screen, pixmap); ++ fade = gnome_bg_set_pixmap_as_root_with_crossfade (screen, pixmap, NULL); ++ g_signal_connect (fade, "finished", ++ G_CALLBACK (g_object_unref), NULL); + + g_object_unref (pixmap); + } diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index 6bb243e..9457c3e 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -1,6 +1,6 @@ Name: gnome-settings-daemon Version: 2.23.92 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Group: System Environment/Daemons @@ -34,6 +34,7 @@ BuildRequires: autoconf, automake, libtool, intltool Patch2: gnome-settings-daemon-2.21.91-ignore-model-if-evdev.patch Patch6: gnome-settings-daemon-2.23.4-drop-sample-cache.patch Patch7: gnome-settings-daemon-2.23.91-fnf7-cycle.patch +Patch8: gnome-settings-daemon-2.23.92-fade.patch %description A daemon to share settings from GNOME to other applications. It also @@ -56,6 +57,7 @@ developing applications that use %{name}. %patch2 -p1 -b .ignore-layout-if-using-evdev %patch6 -p1 -b .drop-sample-cache %patch7 -p1 -b .fnf7-cycle +%patch8 -p1 -b .fade %build aclocal @@ -155,7 +157,10 @@ fi %{_libdir}/pkgconfig/gnome-settings-daemon.pc %changelog -* Thu Sep 11 2008 Soren Sandmann - 2.23.91-5 +* Thu Sep 18 2008 Ray Strode - 2.23.92-3 +- When switching desktop backgrounds fade between them + +* Thu Sep 11 2008 Soren Sandmann - 2.23.92-2 - Fix various bugs in the fn-F7 support * Mon Sep 8 2008 Matthias Clasen - 2.23.92-1