main: Use the schema for the current mode to override 'button-layout'
https://bugzilla.gnome.org/show_bug.cgi?id=689234
This commit is contained in:
parent
6cbdb6beae
commit
8b5d07c1a5
@ -109,6 +109,8 @@ function start() {
|
|||||||
Gio.DesktopAppInfo.set_desktop_env('GNOME');
|
Gio.DesktopAppInfo.set_desktop_env('GNOME');
|
||||||
|
|
||||||
sessionMode = new SessionMode.SessionMode();
|
sessionMode = new SessionMode.SessionMode();
|
||||||
|
Meta.prefs_override_preference_schema(sessionMode.buttonLayout[0], sessionMode.buttonLayout[1]);
|
||||||
|
|
||||||
shellDBusService = new ShellDBus.GnomeShell();
|
shellDBusService = new ShellDBus.GnomeShell();
|
||||||
shellMountOpDBusService = new ShellMountOperation.GnomeShellMountOpHandler();
|
shellMountOpDBusService = new ShellMountOperation.GnomeShellMountOpHandler();
|
||||||
|
|
||||||
|
@ -174,8 +174,6 @@ shell_prefs_init (void)
|
|||||||
OVERRIDES_SCHEMA);
|
OVERRIDES_SCHEMA);
|
||||||
meta_prefs_override_preference_schema ("workspaces-only-on-primary",
|
meta_prefs_override_preference_schema ("workspaces-only-on-primary",
|
||||||
OVERRIDES_SCHEMA);
|
OVERRIDES_SCHEMA);
|
||||||
meta_prefs_override_preference_schema ("button-layout",
|
|
||||||
OVERRIDES_SCHEMA);
|
|
||||||
meta_prefs_override_preference_schema ("edge-tiling",
|
meta_prefs_override_preference_schema ("edge-tiling",
|
||||||
OVERRIDES_SCHEMA);
|
OVERRIDES_SCHEMA);
|
||||||
meta_prefs_override_preference_schema ("focus-change-on-pointer-rest",
|
meta_prefs_override_preference_schema ("focus-change-on-pointer-rest",
|
||||||
|
Loading…
Reference in New Issue
Block a user