diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-11-04 03:38:58 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-11-04 03:38:58 +0800 |
commit | 10052b5131172927558581cf5a92ebb834c1c1ac (patch) | |
tree | a9f49992d645cdb5491d2c006891ca8a655807b1 /sysutils/gnome-settings-daemon | |
parent | 53bc6c77f6fa0ea4737fcd85c95ee4451a7df4f9 (diff) | |
download | marcuscom-ports-10052b5131172927558581cf5a92ebb834c1c1ac.tar marcuscom-ports-10052b5131172927558581cf5a92ebb834c1c1ac.tar.gz marcuscom-ports-10052b5131172927558581cf5a92ebb834c1c1ac.tar.bz2 marcuscom-ports-10052b5131172927558581cf5a92ebb834c1c1ac.tar.lz marcuscom-ports-10052b5131172927558581cf5a92ebb834c1c1ac.tar.xz marcuscom-ports-10052b5131172927558581cf5a92ebb834c1c1ac.tar.zst marcuscom-ports-10052b5131172927558581cf5a92ebb834c1c1ac.zip |
Respect the draw_background in gconf key to allow run gnome-settings-daemon
with different WM that does not gnome-settings-daemon to control the
background. Bump the PORTREVISION.
PR: ports/125857
Reported by: Craig Butler <craig001@lerwick.hopto.org>
Submitted by: marcus
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11747 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-settings-daemon')
-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; |