[gnome-tweak-tool] Move window options to window group



commit 19e4d4662356867d30ce0d26dc1e17d5b05c0870
Author: John Stowers <john stowers gmail com>
Date:   Wed Aug 21 13:23:06 2013 +0200

    Move window options to window group

 gtweak/tweaks/tweak_group_legacy.py  |    9 ---------
 gtweak/tweaks/tweak_group_windows.py |    9 ++++++++-
 2 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_legacy.py b/gtweak/tweaks/tweak_group_legacy.py
index e478702..c15c592 100644
--- a/gtweak/tweaks/tweak_group_legacy.py
+++ b/gtweak/tweaks/tweak_group_legacy.py
@@ -152,15 +152,6 @@ TWEAK_GROUPS = [
                               schema_filename="org.gnome.settings-daemon.peripherals.gschema.xml"),
         Title(_("Power"), "", uid="title-theme"),
         GSettingsSwitchTweak(_("Laptop lid, when closed, will suspend even if there is an external monitor 
plugged in"),"org.gnome.settings-daemon.plugins.power", "lid-close-suspend-with-external-monitor"),
-
-        Title(_("Window"), "", uid="title-theme"),
-        GSettingsSwitchTweak(_("Attach modal dialog to the parent window"),"org.gnome.mutter", 
"attach-modal-dialogs"),
-        GSettingsSwitchTweak(_("Whether rasing should be a side-effect of other user 
interactions"),"org.gnome.desktop.wm.preferences", "raise-on-click"),
-        GSettingsSwitchTweak(_("Whether to resize with the right 
button"),"org.gnome.desktop.wm.preferences", "resize-with-right-button"),
-        GSettingsComboTweak(_("Modifier to use for modified window click actions"),
-                        "org.gnome.desktop.wm.preferences",
-                        "mouse-button-modifier",
-                        [("disabled", _("Disabled")), ("<Alt>", "Alt"), ("<Super>", "Super")]),
         Title(_("Workspace"), "", uid="title-theme"),
         GSettingsComboEnumTweak(_("Whether to turn off specific monitors after 
boot"),"org.gnome.settings-daemon.plugins.xrandr", "default-monitors-setup"),
         GSettingsSwitchTweak(_("Workspaces only on primary monitor"),"org.gnome.mutter", 
"workspaces-only-on-primary", schema_filename="org.gnome.shell.gschema.xml", loaded=_shell_loaded),
diff --git a/gtweak/tweaks/tweak_group_windows.py b/gtweak/tweaks/tweak_group_windows.py
index 5d8203d..8579202 100644
--- a/gtweak/tweaks/tweak_group_windows.py
+++ b/gtweak/tweaks/tweak_group_windows.py
@@ -18,7 +18,7 @@
 import gtweak
 from gtweak.gshellwrapper import GnomeShellFactory
 from gtweak.tweakmodel import TWEAK_GROUP_WINDOWS
-from gtweak.widgets import ListBoxTweakGroup, GSettingsComboEnumTweak, GSettingsComboTweak, Title
+from gtweak.widgets import ListBoxTweakGroup, GSettingsComboEnumTweak, GSettingsComboTweak, 
GSettingsSwitchTweak, Title
 
 _shell = GnomeShellFactory().get_shell()
 _shell_loaded = _shell is not None
@@ -38,6 +38,13 @@ class ShowWindowButtons(GSettingsComboTweak):
 
 TWEAK_GROUPS = [ 
     ListBoxTweakGroup(TWEAK_GROUP_WINDOWS,
+        GSettingsSwitchTweak(_("Attached Modal Dialogs"),"org.gnome.mutter", "attach-modal-dialogs"),
+        GSettingsSwitchTweak(_("Automatically Raise Windows"),"org.gnome.desktop.wm.preferences", 
"raise-on-click"),
+        GSettingsSwitchTweak(_("Resize with Secondary-click"),"org.gnome.desktop.wm.preferences", 
"resize-with-right-button"),
+        GSettingsComboTweak(_("Window Action Key"),
+                        "org.gnome.desktop.wm.preferences",
+                        "mouse-button-modifier",
+                        [("disabled", _("Disabled")), ("<Alt>", "Alt"), ("<Super>", "Super")]),
         GSettingsComboEnumTweak(_("Focus Mode"), "org.gnome.desktop.wm.preferences", "focus-mode"),
         Title(_("Titlebar Actions"), "", uid="title-titlebar-actions"),
         GSettingsComboEnumTweak(_("Double-click"),"org.gnome.desktop.wm.preferences", 
"action-double-click-titlebar"),


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