mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
appDisplay: Connect to GSettings after reading key
As per GSettings documentation, it is necessary to read a particular key at least once before being able to connect to the corresponding 'changed::' signal. Read the 'app-picker-layout' key before connecting to the changed signal. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1428
This commit is contained in:
parent
95645e155e
commit
998e3e62ad
1 changed files with 3 additions and 2 deletions
|
|
@ -829,11 +829,12 @@ var PageManager = GObject.registerClass({
|
|||
_init() {
|
||||
super._init();
|
||||
|
||||
this._updatingPages = false;
|
||||
this._loadPages();
|
||||
|
||||
global.settings.connect('changed::app-picker-layout',
|
||||
this._loadPages.bind(this));
|
||||
|
||||
this._updatingPages = false;
|
||||
this._loadPages();
|
||||
}
|
||||
|
||||
_loadPages() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue