diff -Nru gnome-shell-extension-taskbar-57.0/debian/changelog gnome-shell-extension-taskbar-57.0/debian/changelog --- gnome-shell-extension-taskbar-57.0/debian/changelog 2018-05-21 11:09:10.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/changelog 2019-03-05 11:33:15.000000000 +0000 @@ -1,71 +1,6 @@ -gnome-shell-extension-taskbar (57.0-2) unstable; urgency=medium +gnome-shell-extension-taskbar (57.0-3~20190305+432~ubuntu18.10.1) cosmic; urgency=low - * Install scripts directory to add missing functionality like export&import. + * Auto build. - -- Michael Meskes Mon, 21 May 2018 13:09:10 +0200 + -- Mantas Kriaučiūnas Tue, 05 Mar 2019 11:33:15 +0000 -gnome-shell-extension-taskbar (57.0-1) unstable; urgency=medium - - * New upstream version 57.0 - * Bumped Standards-Version to 4.1.4, no changes needed - - -- Michael Meskes Mon, 09 Apr 2018 09:43:32 +0200 - -gnome-shell-extension-taskbar (56.0-2) unstable; urgency=medium - - * Bumped Standards-Version to 4.1.3, no changes needed - * Switched to debhelper 11 - * Switched to priority optional. - - -- Michael Meskes Tue, 30 Jan 2018 12:30:54 +0100 - -gnome-shell-extension-taskbar (56.0-1) unstable; urgency=medium - - * New upstream version 56.0 - * Bumped Standards-Version to 4.0.0, no changes needed - - -- Michael Meskes Sat, 24 Jun 2017 15:02:59 +0200 - -gnome-shell-extension-taskbar (55.0-2) unstable; urgency=medium - - * Drop upper version limit (Closes: #859276) - - -- Michael Meskes Mon, 01 May 2017 13:47:26 +0200 - -gnome-shell-extension-taskbar (55.0-1) unstable; urgency=medium - - * New upstream version 55.0 - - -- Michael Meskes Fri, 21 Apr 2017 14:36:20 +0200 - -gnome-shell-extension-taskbar (54.0-1) unstable; urgency=medium - - * New upstream version 54.0 - - -- Michael Meskes Sat, 01 Apr 2017 13:17:02 +0200 - -gnome-shell-extension-taskbar (53.0-1) unstable; urgency=medium - - * New upstream version 53.0 - - -- Michael Meskes Sun, 20 Nov 2016 14:15:22 +0100 - -gnome-shell-extension-taskbar (52.0-3) unstable; urgency=medium - - * Added version 3.22 to compatible versions. - * Set dependency relationship for gnome-shell versions (Closes: #836224) - - -- Michael Meskes Mon, 26 Sep 2016 11:37:55 +0200 - -gnome-shell-extension-taskbar (52.0-2) unstable; urgency=medium - - * Added different copyright holders to copyright file. - * Do not install additional license file. - - -- Michael Meskes Sun, 28 Aug 2016 13:34:22 +0200 - -gnome-shell-extension-taskbar (52.0-1) unstable; urgency=medium - - * Initial release - - -- Michael Meskes Fri, 26 Aug 2016 10:54:13 +0200 diff -Nru gnome-shell-extension-taskbar-57.0/debian/compat gnome-shell-extension-taskbar-57.0/debian/compat --- gnome-shell-extension-taskbar-57.0/debian/compat 2018-04-09 07:43:23.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/compat 2019-03-05 11:33:15.000000000 +0000 @@ -1 +1 @@ -11 +8 diff -Nru gnome-shell-extension-taskbar-57.0/debian/control gnome-shell-extension-taskbar-57.0/debian/control --- gnome-shell-extension-taskbar-57.0/debian/control 2018-05-21 11:09:10.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/control 2019-03-05 11:33:15.000000000 +0000 @@ -1,15 +1,22 @@ Source: gnome-shell-extension-taskbar Section: gnome -Priority: optional -Maintainer: Michael Meskes -Build-Depends: debhelper (>=11) -Standards-Version: 4.1.4 +Priority: extra +Maintainer: zpydr +Build-Depends: debhelper (>= 8.0.0) +Standards-Version: 3.9.4 Homepage: https://extensions.gnome.org/extension/584/taskbar/ +#Vcs-Git: git://git.debian.org/collab-maint/gnome-shell-extension-taskbar.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/gnome-shell-extension-taskbar.git;a=summary Package: gnome-shell-extension-taskbar Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-shell (>= 3.10) -Description: TaskBar Extension for GNOME Shell - TaskBar displays icons of running applications on the top panel or - alternatively on a new bottom panel. Activate, minimize or close tasks with a - simple click. TaskBar is a dock-like windows list on the top/bottom bar. +Depends: gnome-shell (>= 3.10) +Description: GNOME Shell Extension TaskBar for GNOME 3.10 - 3.28 + TaskBar displays icons of running applications on the top panel or + alternatively on a new bottom panel. + Activate, minimize or close tasks with a simple click. + TaskBar is a dock-like windows list on the top/bottom bar. + . + TO COMPLETE THE INSTALLATION: + Restart GNOME Shell (Alt-F2 + r). + Activate TaskBar in GNOME Tweak Tool (Advanced Settings). diff -Nru gnome-shell-extension-taskbar-57.0/debian/copyright gnome-shell-extension-taskbar-57.0/debian/copyright --- gnome-shell-extension-taskbar-57.0/debian/copyright 2018-04-09 07:43:23.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/copyright 2019-03-05 11:33:15.000000000 +0000 @@ -1,31 +1,9 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gnome-shell-extension-taskbar Source: https://extensions.gnome.org/extension/584/taskbar/ Files: * -Copyright: 2016 zpydr -License: GPL-3+ - -Files: locale/cs_CZ/LC_MESSAGES/TaskBar.po -Copyright: 2016 Michal Růžička -License: GPL-3+ - -Files: locale/de/LC_MESSAGES/TaskBar.po -Copyright: 2016 Jonatan Zeidler -License: GPL-3+ - -Files: locale/es/LC_MESSAGES/TaskBar.po -Copyright: 2016 Testoriano -License: GPL-3+ - -Files: locale/fr/LC_MESSAGES/TaskBar.po -Copyright: 2016 narzb -License: GPL-3+ - -Files: debian/* -Copyright: 2016 Michael Meskes -License: GPL-3+ - +Copyright: 2013-2018 zpydr License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,7 +17,3 @@ . You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/. -Comment: - On Debian systems, the complete text of the GNU General - Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - diff -Nru gnome-shell-extension-taskbar-57.0/debian/git-build-recipe.manifest gnome-shell-extension-taskbar-57.0/debian/git-build-recipe.manifest --- gnome-shell-extension-taskbar-57.0/debian/git-build-recipe.manifest 1970-01-01 00:00:00.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/git-build-recipe.manifest 2019-03-05 11:33:15.000000000 +0000 @@ -0,0 +1,3 @@ +# git-build-recipe format 0.4 deb-version 57.0-3~20190305+432 +lp:gnome-shell-extension-taskbar git-commit:64fe643ba2f724bc7f028231fa4fde89fe6b2718 +nest-part packaging lp:gnome-shell-extension-taskbar-debian debian debian git-commit:d66f1d6fc7429feefcfb75b3967ed816e61a7f4f diff -Nru gnome-shell-extension-taskbar-57.0/debian/install gnome-shell-extension-taskbar-57.0/debian/install --- gnome-shell-extension-taskbar-57.0/debian/install 2018-05-21 11:07:44.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/install 2019-03-05 11:33:15.000000000 +0000 @@ -1,5 +1,6 @@ *.js usr/share/gnome-shell/extensions/TaskBar@zpydr images usr/share/gnome-shell/extensions/TaskBar@zpydr +LICENSE usr/share/gnome-shell/extensions/TaskBar@zpydr locale usr/share/gnome-shell/extensions/TaskBar@zpydr metadata.json usr/share/gnome-shell/extensions/TaskBar@zpydr README.md usr/share/gnome-shell/extensions/TaskBar@zpydr diff -Nru gnome-shell-extension-taskbar-57.0/debian/rules gnome-shell-extension-taskbar-57.0/debian/rules --- gnome-shell-extension-taskbar-57.0/debian/rules 2018-05-21 11:09:10.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/rules 2019-03-05 11:33:15.000000000 +0000 @@ -1,4 +1,12 @@ #!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 %: - dh $@ + dh $@ diff -Nru gnome-shell-extension-taskbar-57.0/debian/source/format gnome-shell-extension-taskbar-57.0/debian/source/format --- gnome-shell-extension-taskbar-57.0/debian/source/format 2018-04-09 07:43:23.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/source/format 2019-03-05 11:33:15.000000000 +0000 @@ -1 +1 @@ -3.0 (quilt) +1.0 diff -Nru gnome-shell-extension-taskbar-57.0/debian/watch gnome-shell-extension-taskbar-57.0/debian/watch --- gnome-shell-extension-taskbar-57.0/debian/watch 2018-04-09 07:43:23.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/debian/watch 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -# Rename this file to "watch" and then you can run the "uscan" command -# to check for upstream updates and more. -# See uscan(1) for format - -# Compulsory line, this is a version 4 file -version=4 - -# GitHub hosted projects -opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%$1.tar.gz%" \ - https://github.com/zpydr/gnome-shell-extension-taskbar/tags \ - (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate diff -Nru gnome-shell-extension-taskbar-57.0/extension.js gnome-shell-extension-taskbar-57.0/extension.js --- gnome-shell-extension-taskbar-57.0/extension.js 2018-04-09 07:43:27.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/extension.js 2019-03-05 11:33:14.000000000 +0000 @@ -63,6 +63,13 @@ const NEXTKEY = 'key-next-task'; const DESKTOPKEY = 'key-toggle-desktop'; + +let workspaceManager; +if (global.screen) + workspaceManager = global.screen; // mutter < 3.29 +else + workspaceManager = global.workspace_manager; // mutter >= 3.29 + function init(extensionMeta) { return new TaskBar(extensionMeta, schema); } @@ -295,10 +302,16 @@ xsettings: null, y: null, yOffset: null, + workspaceManager: null, init: function(extensionMeta, schema) { this.extensionMeta = extensionMeta; this.schema = schema; + + if (global.screen) + workspaceManager = global.screen; // Mutter < 3.29 + else + workspaceManager = global.workspace_manager; // Mutter >= 3.29 }, onParamChanged: function() { @@ -450,11 +463,11 @@ //Disconnect Workspace Signals if (this.workspaceSwitchedId !== null) { - global.screen.disconnect(this.workspaceSwitchedId); + workspaceManager.disconnect(this.workspaceSwitchedId); this.workspaceSwitchedId = null; } if (this.nWorkspacesId !== null) { - global.screen.disconnect(this.nWorkspacesId); + workspaceManager.disconnect(this.nWorkspacesId); this.nWorkspacesId = null; } @@ -924,7 +937,7 @@ keyPreviousTask: function() { this.previousTask = null; let focusWindow = global.display.focus_window; - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); this.tasksList.forEach( function(task) { let [windowTask, buttonTask, signalsTask] = task; @@ -947,7 +960,7 @@ keyNextTask: function() { this.nextTask = false; let focusWindow = global.display.focus_window; - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); this.tasksList.forEach( function(task) { let [windowTask, buttonTask, signalsTask] = task; @@ -971,7 +984,7 @@ keyToggleDesktop: function() { let maxWindows = false; let userTime = null; - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); let windows = activeWorkspace.list_windows().filter(function(w) { return w.get_window_type() !== Meta.WindowType.DESKTOP; }); @@ -1160,8 +1173,8 @@ this.nWorkspacesId = null; if (this.settings.get_boolean("display-workspace-button")) { //Connect Workspace Changes - this.workspaceSwitchedId = global.screen.connect('workspace-switched', Lang.bind(this, this.updateWorkspaces)); - this.nWorkspacesId = global.screen.connect('notify::n-workspaces', Lang.bind(this, this.updateWorkspaces)); + this.workspaceSwitchedId = workspaceManager.connect('workspace-switched', Lang.bind(this, this.updateWorkspaces)); + this.nWorkspacesId = workspaceManager.connect('notify::n-workspaces', Lang.bind(this, this.updateWorkspaces)); this.buttonWorkspace = new St.Button({ style_class: "tkb-task-button" }); @@ -1183,9 +1196,9 @@ }, updateWorkspaces: function() { - this.activeWorkspaceIndex = global.screen.get_active_workspace().index(); + this.activeWorkspaceIndex = workspaceManager.get_active_workspace().index(); let workspaceButtonWidth = this.settings.get_int("workspace-button-width"); - this.totalWorkspace = global.screen.n_workspaces - 1; + this.totalWorkspace = workspaceManager.n_workspaces - 1; let labelWorkspaceIndex = this.activeWorkspaceIndex + 1; let labelTotalWorkspace = this.totalWorkspace + 1; if (this.settings.get_enum("workspace-button-index") === 1) { @@ -1711,13 +1724,13 @@ { if (this.activeWorkspaceIndex === this.totalWorkspace) this.activeWorkspaceIndex = -1; - let newActiveWorkspace = global.screen.get_workspace_by_index(this.activeWorkspaceIndex + 1); + let newActiveWorkspace = workspaceManager.get_workspace_by_index(this.activeWorkspaceIndex + 1); newActiveWorkspace.activate(global.get_current_time()); } else if (numButton === RIGHTBUTTON) //Right Button { if (this.activeWorkspaceIndex === 0) this.activeWorkspaceIndex = this.totalWorkspace + 1; - let newActiveWorkspace = global.screen.get_workspace_by_index(this.activeWorkspaceIndex - 1); + let newActiveWorkspace = workspaceManager.get_workspace_by_index(this.activeWorkspaceIndex - 1); newActiveWorkspace.activate(global.get_current_time()); } }, @@ -1725,7 +1738,7 @@ onClickDesktopButton: function(button, pspec) { let maxWindows = false; let userTime = null; - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); let windows = activeWorkspace.list_windows().filter(function(w) { return w.get_window_type() !== Meta.WindowType.DESKTOP; }); @@ -1806,7 +1819,7 @@ //Actions executed depending on button click on Task clickActionMinMax: function(window, appname, index) { - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); let focusWindow = global.display.focus_window; let nextApp = false; @@ -1916,7 +1929,7 @@ windowsList = new PopupMenu.PopupMenuItem(title); windowsList.connect('activate', Lang.bind(this, function() { - if (windowWorkspace !== global.screen.get_active_workspace()) + if (windowWorkspace !== workspaceManager.get_active_workspace()) windowWorkspace.activate(global.get_current_time()); windowTask.activate(global.get_current_time()); })); @@ -1972,13 +1985,13 @@ ((scrollDirection === Clutter.ScrollDirection.DOWN) && (this.settings.get_enum("scroll-workspaces") === 2))) { if (this.activeWorkspaceIndex === this.totalWorkspace) this.activeWorkspaceIndex = -1; - let newActiveWorkspace = global.screen.get_workspace_by_index(this.activeWorkspaceIndex + 1); + let newActiveWorkspace = workspaceManager.get_workspace_by_index(this.activeWorkspaceIndex + 1); newActiveWorkspace.activate(global.get_current_time()); } else if (((scrollDirection === Clutter.ScrollDirection.DOWN) && (this.settings.get_enum("scroll-workspaces") === 1)) || ((scrollDirection === Clutter.ScrollDirection.UP) && (this.settings.get_enum("scroll-workspaces") === 2))) { if (this.activeWorkspaceIndex === 0) this.activeWorkspaceIndex = this.totalWorkspace + 1; - let newActiveWorkspace = global.screen.get_workspace_by_index(this.activeWorkspaceIndex - 1); + let newActiveWorkspace = workspaceManager.get_workspace_by_index(this.activeWorkspaceIndex - 1); newActiveWorkspace.activate(global.get_current_time()); } } @@ -1989,7 +2002,7 @@ this.nextTask = false; this.previousTask = null; let focusWindow = global.display.focus_window; - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); let scrollDirection = event.get_scroll_direction(); if (((scrollDirection === Clutter.ScrollDirection.UP) && (this.settings.get_enum("scroll-tasks") === 1)) || ((scrollDirection === Clutter.ScrollDirection.DOWN) && (this.settings.get_enum("scroll-tasks") === 2))) { @@ -2043,7 +2056,7 @@ if (!this.resetHover) { let focusWindow = global.display.focus_window; let appname = Shell.WindowTracker.get_default().get_window_app(focusWindow).get_name(); - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); this.tasksList.forEach( function(task) { let [windowTask, buttonTask, signalsTask] = task; @@ -2207,7 +2220,7 @@ //Active Tasks activeTasks: function(window) { let active = false; - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); this.tasksList.forEach( function(task) { let [windowTask, buttonTask, signalsTask] = task; @@ -2250,7 +2263,7 @@ let _app_name = Shell.WindowTracker.get_default().get_window_app(window).get_name(); let appname = Shell.WindowTracker.get_default().get_window_app(windowTask).get_name(); let workspaceTask = windowTask.get_workspace(); - let activeWorkspace = global.screen.get_active_workspace(); + let activeWorkspace = workspaceManager.get_active_workspace(); if ((_app_name === appname) && ((workspaceTask === activeWorkspace) || (this.settings.get_enum("sort-tasks") === 3))) buttonTask.hide(); } @@ -2392,7 +2405,7 @@ ]; //Display Tasks of All Workspaces if (!this.settings.get_boolean("tasks-all-workspaces")) { - let workspace = global.screen.get_active_workspace(); + let workspace = workspaceManager.get_active_workspace(); if (!this.settings.get_boolean("tasks-all-workspaces")) { buttonTask.visible = window.located_on_workspace(workspace); } diff -Nru gnome-shell-extension-taskbar-57.0/metadata.json gnome-shell-extension-taskbar-57.0/metadata.json --- gnome-shell-extension-taskbar-57.0/metadata.json 2018-04-09 07:43:27.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/metadata.json 2019-03-05 11:33:14.000000000 +0000 @@ -1,6 +1,6 @@ { "_generated": "Generated by SweetTooth, do not edit", - "description": "TaskBar displays icons of running applications on the top panel or alternatively on a new bottom panel. Activate, minimize or close tasks with a simple click.\nTaskBar is a dock-like windows list on the top/bottom bar.\n\nOptions:\nDesktop button - toggle desktop view\nWorkspace button - switch workspaces left/right-click: cycle forward/backwards\nAppview button - left/right-click: toggle appview/overview\nFavorites - add from dash\nAlign position\nResize panels + adjust icon, label and content sizes\nTop/bottom panel background color + opacity\nBottom panel tray button - activate the message tray\nTasks on all workspaces\nGroup/sort tasks\nTasks label\nTasks application menu\nClose tasks with a right/middle click\nActivate tasks on hover\nScroll tasks/workspaces\nSeparators\nThumbnail/label-preview\nPreview color + opacity\nKeybindings\nColor or hide menu buttons\nDisable hot corner\nExport/import settings\n\nVersion 57 for GNOME 3.10 - 3.28\nzpydr@openmailbox.org\n\nTranslation:\nChinese by wsxy162\nCzech by Michal Růžička\nFrench by narzb\nGerman by jonnius\nRussian by dersteinkauz\nSpanish by Testoriano\n\nCredit to Xes, flubshi, rogst, Baltix, boennhoff, skoslowski, rgeary1, hkskoglund, Michal Růžička, skochxxl, tuhaihe, to-ba, tobimensch, navarrano, unixfox, jkosecki, Taz8du29, diegosanz", + "description": "TaskBar displays icons of running applications on the top panel or alternatively on a new bottom panel. Activate, minimize or close tasks with a simple click.\nTaskBar is a dock-like windows list on the top/bottom bar.\n\nOptions:\nDesktop button - toggle desktop view\nWorkspace button - switch workspaces left/right-click: cycle forward/backwards\nAppview button - left/right-click: toggle appview/overview\nFavorites - add from dash\nAlign position\nResize panels + adjust icon, label and content sizes\nTop/bottom panel background color + opacity\nBottom panel tray button - activate the message tray\nTasks on all workspaces\nGroup/sort tasks\nTasks label\nTasks application menu\nClose tasks with a right/middle click\nActivate tasks on hover\nScroll tasks/workspaces\nSeparators\nThumbnail/label-preview\nPreview color + opacity\nKeybindings\nColor or hide menu buttons\nDisable hot corner\nExport/import settings\n\nVersion 57 for GNOME 3.10 - 3.28\nzpydr@openmailbox.org\n\nTranslation:\nChinese by wsxy162\nCzech by Michal Růžička\nFrench by narzb\nGerman by jonnius\nRussian by dersteinkauz\nSpanish by Testoriano\n\nCredit to Xes, flubshi, rogst, Baltix, to-ba, ghost, tuhaihe, amiller27, acabal,\npepl, boennhoff, skoslowski, rgeary1, hkskoglund, Michal Růžička, skochxxl,\nExtraordinaryBen, navarrano, unixfox, tobimensch, jkosecki, Taz8du29, diegosanz", "name": "TaskBar", "shell-version": [ "3.10", diff -Nru gnome-shell-extension-taskbar-57.0/README gnome-shell-extension-taskbar-57.0/README --- gnome-shell-extension-taskbar-57.0/README 2018-04-09 07:43:27.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/README 2019-03-05 11:33:14.000000000 +0000 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/. -zpydr@openmailbox.org +zpydr@protonmail.com Version 57 for GNOME 3.10 - 3.28 @@ -70,7 +70,6 @@ Russian by dersteinkauz Spanish by Testoriano -Credit to Xes, flubshi, rogst, Baltix, boennhoff, -skoslowski, rgeary1, hkskoglund, Michal Růžička, -skochxxl, tuhaihe, to-ba, tobimensch, navarrano, -unixfox, jkosecki, Taz8du29, diegosanz +Credit to Xes, flubshi, rogst, Baltix, to-ba, ghost, tuhaihe, amiller27, acabal, +pepl, boennhoff, skoslowski, rgeary1, hkskoglund, Michal Růžička, skochxxl, +ExtraordinaryBen, navarrano, unixfox, tobimensch, jkosecki, Taz8du29, diegosanz diff -Nru gnome-shell-extension-taskbar-57.0/README.md gnome-shell-extension-taskbar-57.0/README.md --- gnome-shell-extension-taskbar-57.0/README.md 2018-04-09 07:43:27.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/README.md 2019-03-05 11:33:14.000000000 +0000 @@ -1,79 +1,14 @@ -![TaskBar Icon](https://extensions.gnome.org/extension-data/icons/icon_584_ZS33QUn.png) -**GNOME Shell Extension TaskBar** -Copyright (C) 2013-2018 zpydr - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see https://www.gnu.org/licenses/. - -zpydr@openmailbox.org - -![GPL Image](https://www.gnu.org/graphics/gplv3-127x51.png) - - -![TaskBar Image](https://github.com/zpydr/gnome-shell-extension-taskbar-content/blob/master/taskbar_v56.gif) - - **Version 57 for GNOME 3.10 - 3.28** - -https://extensions.gnome.org/extension/584/taskbar/ -https://github.com/zpydr/gnome-shell-extension-taskbar/ - -TaskBar Wiki (Installation - Settings - Translation - Troubleshooting)              -https://github.com/zpydr/gnome-shell-extension-taskbar/wiki/                            - -Arch Linux User Repository -https://aur.archlinux.org/packages/gnome-shell-extension-taskbar/ - -Debian / Ubuntu PPA Repository -https://launchpad.net/~zpydr/+archive/gnome-shell-extension-taskbar/                         - -GNOME Shell Extension TaskBar is free software and released under the GNU General Public License (GPL) -https://www.gnu.org/licenses/ - -TaskBar displays icons of running applications on the top panel or alternatively on a new bottom panel. -Activate, minimize or close tasks with a simple click. -TaskBar is a dock-like windows list on the top/bottom bar. - -Options: -Desktop button - toggle desktop view -Workspace button - switch workspaces left/right-click: cycle forward/backwards -Appview button - left/right-click: toggle appview/overview -Favorites - add from dash -Align position -Resize panels + adjust icon, label and content sizes -Top/bottom panel background color + opacity -Bottom panel tray button - activate the message tray -Tasks on all workspaces -Group/sort tasks -Tasks label -Tasks application menu -Close tasks with a right/middle click -Activate tasks on hover -Scroll tasks/workspaces -Separators -Thumbnail/label-preview -Preview color + opacity -Keybindings -Color or hide menu buttons -Disable hot corner -Export/import settings - -Translation: -Chinese by wsxy162 -Czech by Michal Růžička -French by narzb -German by jonnius -Russian by dersteinkauz -Spanish by Testoriano +Everybody, -Credit to Xes, flubshi, rogst, Baltix, boennhoff, skoslowski, rgeary1, hkskoglund, Michal Růžička, skochxxl, tuhaihe, to-ba, tobimensch, navarrano, unixfox, jkosecki, Taz8du29, diegosanz         - +I am very sad to announce the end of the TaskBar extension for GNOME Shell. + +I have been enjoying developing this extension for nearly 6 years now, starting with GNOME 3.6.2. Over time a few hundred lines of code became a few thousand. + +But now GNOME has changed in a way that I am unable to keep up, it requires a lot of time, espescially for research, with only little documentation from GNOME to go along. Time is the big issue here, I simply do not have it. + +Now this extension is plagued with memory leaks and other inconsistencies that seem unfixable, and believe me, I have tried a lot of stuff in the past few weeks to no avail. I would basically have to rewrite this extension from scratch. + +Thanks for all the great ideas, bug reports, translations etc. We had a good run! + + +Marc (zpydr@protonmail.com) diff -Nru gnome-shell-extension-taskbar-57.0/windows.js gnome-shell-extension-taskbar-57.0/windows.js --- gnome-shell-extension-taskbar-57.0/windows.js 2018-04-09 07:43:27.000000000 +0000 +++ gnome-shell-extension-taskbar-57.0/windows.js 2019-03-05 11:33:14.000000000 +0000 @@ -20,6 +20,13 @@ const Lang = imports.lang; + +let workspaceManager; +if (global.screen) + workspaceManager = global.screen; // mutter < 3.29 +else + workspaceManager = global.workspace_manager; // mutter >= 3.29 + function Windows(callBackThis, callbackWindowsListChanged, callbackWindowChanged) { this.init(callBackThis, callbackWindowsListChanged, callbackWindowChanged); } @@ -35,6 +42,8 @@ windowRemovedSignal: null, windowsSignals: [], + workspaceManager: null, + init: function(callBackThis, callbackWindowsListChanged, callbackWindowChanged) { //Set User Callback this.callBackThis = callBackThis; @@ -46,18 +55,21 @@ this.buildWindowsList(); this.onWorkspaceChanged(); - + if (global.screen) + workspaceManager = global.screen; // Mutter < 3.29 + else + workspaceManager = global.workspace_manager; // Mutter >= 3.29 //Add window manager signals - this.workspaceSwitchSignal = global.screen.connect('workspace-switched', Lang.bind(this, this.buildWindowsList)); - this.nWorkspacesSignal = global.screen.connect('notify::n-workspaces', Lang.bind(this, this.onWorkspaceChanged)); + this.workspaceSwitchSignal = workspaceManager.connect('workspace-switched', Lang.bind(this, this.buildWindowsList)); + this.nWorkspacesSignal = workspaceManager.connect('notify::n-workspaces', Lang.bind(this, this.onWorkspaceChanged)); }, destruct: function() { //Remove window manager signals - let numWorkspaces = global.screen.n_workspaces; + let numWorkspaces = workspaceManager.n_workspaces; for (let i = 0; i < numWorkspaces; i++) { - let workspace = global.screen.get_workspace_by_index(i); + let workspace = workspaceManager.get_workspace_by_index(i); let signals = this.workspaceSignals.get(workspace); this.workspaceSignals.delete(workspace); workspace.disconnect(signals.windowAddedId); @@ -69,9 +81,9 @@ }, onWorkspaceChanged: function() { - let numWorkspaces = global.screen.n_workspaces; + let numWorkspaces = workspaceManager.n_workspaces; for (let i = 0; i < numWorkspaces; i++) { - let workspace = global.screen.get_workspace_by_index(i); + let workspace = workspaceManager.get_workspace_by_index(i); if (this.workspaceSignals.has(workspace)) continue; let signals = { @@ -89,9 +101,9 @@ this.cleanWindowsList(); //Build windows list - let totalWorkspaces = global.screen.n_workspaces; + let totalWorkspaces = workspaceManager.n_workspaces; for (let i = 0; i < totalWorkspaces; i++) { - let activeWorkspace = global.screen.get_workspace_by_index(i); + let activeWorkspace = workspaceManager.get_workspace_by_index(i); activeWorkspace.list_windows().sort(this.sortWindowsCompareFunction).forEach( function(window) { this.addWindowInList(window);