build: Install keybinding files for control-center
As some keybindings are now provided by gnome-shell rather than mutter, it makes sense to expose those in System Settings. https://bugzilla.gnome.org/show_bug.cgi?id=671010
This commit is contained in:
@ -37,6 +37,9 @@ extern GType gnome_shell_plugin_get_type (void);
|
||||
|
||||
#define OVERRIDES_SCHEMA "org.gnome.shell.overrides"
|
||||
|
||||
#define WM_NAME "GNOME Shell"
|
||||
#define GNOME_WM_KEYBINDINGS "Metacity,Mutter,GNOME Shell"
|
||||
|
||||
static gboolean is_gdm_mode = FALSE;
|
||||
static char *session_mode = NULL;
|
||||
|
||||
@ -374,6 +377,9 @@ main (int argc, char **argv)
|
||||
|
||||
meta_plugin_manager_set_plugin_type (gnome_shell_plugin_get_type ());
|
||||
|
||||
meta_set_wm_name (WM_NAME);
|
||||
meta_set_gnome_wm_keybindings (GNOME_WM_KEYBINDINGS);
|
||||
|
||||
/* Prevent meta_init() from causing gtk to load gail and at-bridge */
|
||||
g_setenv ("NO_AT_BRIDGE", "1", TRUE);
|
||||
meta_init ();
|
||||
|
Reference in New Issue
Block a user