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

[master] gui: don't let metacity display the title right-click menu (#588642).



Nobody wants to see "move to desktop 3" in installer. Also disables Alt-F4
shortcut to close arbitrary windows, only we decide when to close them.
---
 scripts/upd-instroot |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index f1dbc9f..4bdb388 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -948,6 +948,20 @@ cat > $GCONF_RULES_FILE <<EOF
         <string>:</string>
       </value>
     </entry>
+    <entry>
+      <key>metacity/general/action_right_click_titlebar</key>
+      <schema_key>/schemas/apps/metacity/general/action_right_click_titlebar</schema_key>
+      <value>
+        <string>none</string>
+      </value>
+    </entry>
+    <entry>
+      <key>metacity/window_keybindings/close</key>
+      <schema_key>/schemas/apps/metacity/window_keybindings/close</schema_key>
+      <value>
+        <string>disabled</string>
+      </value>
+    </entry>
   </entrylist>
 
 </gconfentryfile>
-- 
1.6.6


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