[master] gui: no close buttons etc. in window decoration (#582645)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is done through changing the default gconf values.
---
 scripts/upd-instroot |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 5ca1f11..169a9ba 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
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux