Fix permission problems, and blank default ui
This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ Rules-Requires-Root: no
|
||||
|
||||
Package: vesperos-taskbar
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, gnome-shell (>= 46), gnome-shell (<< 51~)
|
||||
Depends: ${misc:Depends}, gnome-shell (>= 46), gnome-shell (<< 51~), gir1.2-webkit-6.0
|
||||
Conflicts: gnome-shell-extension-zorin-taskbar, gnome-shell-extension-desktop-icons-ng, gnome-shell-extension-gtk4-desktop-icons-ng
|
||||
Replaces: gnome-shell-extension-zorin-taskbar, gnome-shell-extension-desktop-icons-ng, gnome-shell-extension-gtk4-desktop-icons-ng
|
||||
Description: VesperOS system taskbar with desktop icons (all-in-one)
|
||||
|
||||
@@ -92,6 +92,8 @@ function getMonitorSetting(settings, settingName, monitorIndex, fallback) {
|
||||
|
||||
settings = getSettingsJson(settings, settingName)
|
||||
|
||||
if (!settings) return fallback
|
||||
|
||||
return (
|
||||
settings[monitorId] ||
|
||||
settings[monitorIndex] ||
|
||||
|
||||
@@ -220,6 +220,9 @@ const Preferences = class {
|
||||
settings.connect('changed::target-prefs-page', maybeGoToPage)
|
||||
|
||||
maybeGoToPage()
|
||||
}).catch((e) => {
|
||||
console.log('VesperosTaskbar: Could not get monitor info, using fallbacks: ' + e)
|
||||
this._bindSettings()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user