summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2010-04-27 16:11:27 +0200
committerAles Kozumplik <akozumpl@redhat.com>2010-04-29 16:57:25 +0200
commit5d8cdacec47f17c488bef13b73d7dc84150969e8 (patch)
treebb11911ed09f364703fe444f36374df1440beca1 /scripts
parent835d38e02986038674b39ac8873be82f6c6ed60f (diff)
gui: no close buttons etc. in window decoration (#582645)
This is done through changing the default gconf values.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upd-instroot20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 5ca1f110d..169a9bae4 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -934,6 +934,26 @@ cat > $DEST/.gconf/desktop/gnome/interface/%gconf.xml <<EOF
</gconf>
EOF
+# anaconda needs to change a couple of the default gconf entries
+GCONF_RULES_FILE=$DEST/etc/gconf/gconf.xml.defaults/anaconda.rules
+cat > $GCONF_RULES_FILE <<EOF
+<?xml version="1.0"?>
+<gconfentryfile>
+
+ <entrylist base="/apps">
+ <entry>
+ <key>metacity/general/button_layout</key>
+ <schema_key>/schemas/apps/metacity/general/button_layout</schema_key>
+ <value>
+ <string>:</string>
+ </value>
+ </entry>
+ </entrylist>
+
+</gconfentryfile>
+EOF
+gconftool-2 --direct --config-source="xml:readwrite:$DEST/etc/gconf/gconf.xml.defaults" --load $GCONF_RULES_FILE
+
rm -rf $YUMDIR
chown -R root:root $DEST