- When switching desktop backgrounds fade between them

This commit is contained in:
Ray Strode 2008-09-19 03:25:26 +00:00
parent e60c9bb4fb
commit 1ee8281d13
2 changed files with 28 additions and 2 deletions

View File

@ -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);
}

View File

@ -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 <sandmann@redhat.com> - 2.23.91-5
* Thu Sep 18 2008 Ray Strode <rstrode@redhat.com> - 2.23.92-3
- When switching desktop backgrounds fade between them
* Thu Sep 11 2008 Soren Sandmann <sandmann@redhat.com> - 2.23.92-2
- Fix various bugs in the fn-F7 support
* Mon Sep 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-1