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/files | |
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/files')
-rw-r--r-- | sysutils/gnome-settings-daemon/files/patch-plugins_background_gsd-background-manager.c | 21 |
1 files changed, 21 insertions, 0 deletions
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; |