mirror of
https://github.com/BreizhHardware/multi-monitors-add-on.git
synced 2026-01-18 16:47:26 +01:00
Removes backward compatibility to Gnome 3.16 and 3.18
This commit is contained in:
@@ -9,7 +9,8 @@ in dynamic fashion, no restart needed.
|
||||
Versions
|
||||
========
|
||||
|
||||
* Branch [master](https://github.com/spin83/multi-monitors-add-on/tree/master) contains extension for GNOME 3.16, 3.18, 3.20, 3.22 and 3.24
|
||||
* Branch [master](https://github.com/spin83/multi-monitors-add-on/tree/master) contains extension for GNOME 3.20, 3.22 and 3.24
|
||||
* Branch [gnome-3-16_3-18](https://github.com/spin83/multi-monitors-add-on/tree/gnome-3-16_3-18) contains extension for GNOME 3.16 and 3.18
|
||||
* Branch [gnome-3-14](https://github.com/spin83/multi-monitors-add-on/tree/gnome-3-14) contains extension for GNOME 3.14
|
||||
* Branch [gnome-3-10](https://github.com/spin83/multi-monitors-add-on/tree/gnome-3-10) contains extension for GNOME 3.10
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"shell-version": ["3.16", "3.18", "3.20", "3.22", "3.24"],
|
||||
"shell-version": ["3.20", "3.22", "3.24"],
|
||||
"uuid": "multi-monitors-add-on@spin83",
|
||||
"name": "Multi Monitors Add-On",
|
||||
"settings-schema": "org.gnome.shell.extensions.multi-monitors-add-on",
|
||||
|
||||
@@ -113,8 +113,6 @@ const MultiMonitorsThumbnailsBox = new Lang.Class({
|
||||
|
||||
_init: function(monitorIndex) {
|
||||
this._monitorIndex = monitorIndex;
|
||||
|
||||
this._currentVersion = Config.PACKAGE_VERSION.split('.');
|
||||
|
||||
this.actor = new Shell.GenericContainer({ reactive: true,
|
||||
style_class: 'workspace-thumbnails',
|
||||
@@ -155,8 +153,7 @@ const MultiMonitorsThumbnailsBox = new Lang.Class({
|
||||
this.actor.connect('button-press-event', function() { return Clutter.EVENT_STOP; });
|
||||
this.actor.connect('button-release-event', Lang.bind(this, this._onButtonRelease));
|
||||
|
||||
if (this._currentVersion[0]==3 && this._currentVersion[1]>18)
|
||||
this.actor.connect('touch-event', Lang.bind(this, this._onTouchEvent));
|
||||
this.actor.connect('touch-event', Lang.bind(this, this._onTouchEvent));
|
||||
|
||||
this._showingId = Main.overview.connect('showing', Lang.bind(this, this._createThumbnails));
|
||||
this._hiddenId = Main.overview.connect('hidden', Lang.bind(this, this._destroyThumbnails));
|
||||
|
||||
Reference in New Issue
Block a user