Consider the point release when checking the shell version

This commit is contained in:
CharlesG
2018-07-11 17:10:11 -04:00
parent d314ca9e39
commit 497984b3d7

View File

@@ -1437,7 +1437,7 @@ function extendShowAppsIcon(showAppsIcon, settings) {
let customIconPath = settings.get_string('show-apps-icon-file');
showAppsIcon.icon.createIcon = function(size) {
this._iconActor = new St.Icon({ icon_name: 'view' + (Config.PACKAGE_VERSION > '3.18' ? '-app' : '') + '-grid-symbolic',
this._iconActor = new St.Icon({ icon_name: 'view' + (Config.PACKAGE_VERSION < '3.20' ? '' : '-app') + '-grid-symbolic',
icon_size: size,
style_class: 'show-apps-icon',
track_hover: true });