[SOGo] Another try to fix theme switching on login screen
parent
f1b096b36e
commit
5cc09055a7
|
@ -153,4 +153,7 @@ echo ' </dict>
|
||||||
chown sogo:sogo -R /var/lib/sogo/
|
chown sogo:sogo -R /var/lib/sogo/
|
||||||
chmod 600 /var/lib/sogo/GNUstep/Defaults/sogod.plist
|
chmod 600 /var/lib/sogo/GNUstep/Defaults/sogod.plist
|
||||||
|
|
||||||
|
# Inject md-theme to hopefully fix theme swtiching
|
||||||
|
sed -i 's/<main class/<main md-theme="mailcow" class/g' /usr/lib/GNUstep/SOGo/Templates/MainUI/SOGoRootPage.wox
|
||||||
|
|
||||||
exec gosu sogo /usr/sbin/sogod
|
exec gosu sogo /usr/sbin/sogod
|
||||||
|
|
|
@ -120,5 +120,6 @@
|
||||||
|
|
||||||
$mdThemingProvider.setDefaultTheme('mailcow');
|
$mdThemingProvider.setDefaultTheme('mailcow');
|
||||||
$mdThemingProvider.generateThemesOnDemand(false);
|
$mdThemingProvider.generateThemesOnDemand(false);
|
||||||
|
$mdThemingProvider.alwaysWatchTheme(true);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -57,5 +57,6 @@
|
||||||
|
|
||||||
$mdThemingProvider.setDefaultTheme('mailcow');
|
$mdThemingProvider.setDefaultTheme('mailcow');
|
||||||
$mdThemingProvider.generateThemesOnDemand(false);
|
$mdThemingProvider.generateThemesOnDemand(false);
|
||||||
|
$mdThemingProvider.alwaysWatchTheme(true);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue