main: Load OSK layouts resource
This commit is contained in:
parent
52a779e432
commit
a1ce0da9e7
@ -85,6 +85,7 @@ let _defaultCssStylesheet = null;
|
|||||||
let _cssStylesheet = null;
|
let _cssStylesheet = null;
|
||||||
let _a11ySettings = null;
|
let _a11ySettings = null;
|
||||||
let _themeResource = null;
|
let _themeResource = null;
|
||||||
|
let _oskResource = null;
|
||||||
|
|
||||||
function _sessionUpdated() {
|
function _sessionUpdated() {
|
||||||
if (sessionMode.isPrimary)
|
if (sessionMode.isPrimary)
|
||||||
@ -148,6 +149,7 @@ function _initializeUI() {
|
|||||||
Shell.AppUsage.get_default();
|
Shell.AppUsage.get_default();
|
||||||
|
|
||||||
reloadThemeResource();
|
reloadThemeResource();
|
||||||
|
_loadOskLayouts();
|
||||||
_loadDefaultStylesheet();
|
_loadDefaultStylesheet();
|
||||||
|
|
||||||
// Setup the stage hierarchy early
|
// Setup the stage hierarchy early
|
||||||
@ -309,6 +311,11 @@ function reloadThemeResource() {
|
|||||||
_themeResource._register();
|
_themeResource._register();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function _loadOskLayouts() {
|
||||||
|
_oskResource = Gio.Resource.load(global.datadir + '/gnome-shell-osk-layouts.gresource');
|
||||||
|
_oskResource._register();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* loadTheme:
|
* loadTheme:
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user