diff options
| author | Ales Kozumplik <akozumpl@redhat.com> | 2010-04-27 16:11:27 +0200 |
|---|---|---|
| committer | Ales Kozumplik <akozumpl@redhat.com> | 2010-04-29 16:57:25 +0200 |
| commit | 5d8cdacec47f17c488bef13b73d7dc84150969e8 (patch) | |
| tree | bb11911ed09f364703fe444f36374df1440beca1 /scripts | |
| parent | 835d38e02986038674b39ac8873be82f6c6ed60f (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-x | scripts/upd-instroot | 20 |
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 |
