diff options
-rw-r--r-- | sysutils/gnome-settings-daemon/Makefile | 3 | ||||
-rw-r--r-- | sysutils/gnome-settings-daemon/files/patch-plugins_background_gsd-background-manager.c | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/gnome-settings-daemon/Makefile b/sysutils/gnome-settings-daemon/Makefile index 4277412ce..75ba35d78 100644 --- a/sysutils/gnome-settings-daemon/Makefile +++ b/sysutils/gnome-settings-daemon/Makefile @@ -3,11 +3,12 @@ # Whom: Koop Mast <kwm@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/sysutils/gnome-settings-daemon/Makefile,v 1.28 2008/09/08 20:55:37 kwm Exp $ +# $MCom: ports/sysutils/gnome-settings-daemon/Makefile,v 1.29 2008/09/23 15:10:28 kwm Exp $ # PORTNAME= gnome-settings-daemon PORTVERSION= 2.24.0 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/sysutils/gnome-settings-daemon/files/patch-plugins_background_gsd-background-manager.c b/sysutils/gnome-settings-daemon/files/patch-plugins_background_gsd-background-manager.c new file mode 100644 index 000000000..8820c1482 --- /dev/null +++ b/sysutils/gnome-settings-daemon/files/patch-plugins_background_gsd-background-manager.c @@ -0,0 +1,21 @@ +--- plugins/background/gsd-background-manager.c.orig 2008-11-03 13:25:29.000000000 -0600 ++++ plugins/background/gsd-background-manager.c 2008-11-03 13:28:16.000000000 -0600 +@@ -160,6 +160,18 @@ + GdkDisplay *display; + int n_screens; + int i; ++ GConfClient *client; ++ gboolean enabled; ++ ++ client = gconf_client_get_default (); ++ ++ enabled = gconf_client_get_bool (client, ++ "/desktop/gnome/background/draw_background", ++ NULL); ++ g_object_unref (client); ++ ++ if (!enabled) ++ return FALSE; + + if (nautilus_is_running ()) { + return; |