diff --git a/README b/README index c22cc22..5358754 100755 --- a/README +++ b/README @@ -1,4 +1,4 @@ -GNOME Shell Extension TaskBar Version 48 for GNOME 3.10 - 3.18 +GNOME Shell Extension TaskBar Version 49 for GNOME 3.10 - 3.18 zpydr@openmailbox.org https://extensions.gnome.org/extension/584/taskbar/ https://github.com/zpydr/gnome-shell-extension-taskbar/ diff --git a/README.md b/README.md index 6a539af..fdd2184 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ![TaskBar Icon](https://extensions.gnome.org/static/extension-data/icons/icon_584.png) -**GNOME Shell Extension TaskBar Version 48 for GNOME 3.10 - 3.18** +**GNOME Shell Extension TaskBar Version 49 for GNOME 3.10 - 3.18** zpydr@openmailbox.org https://extensions.gnome.org/extension/584/taskbar/ https://github.com/zpydr/gnome-shell-extension-taskbar/ diff --git a/TaskBar.pot b/TaskBar.pot index e7ed954..0a3b4c6 100644 --- a/TaskBar.pot +++ b/TaskBar.pot @@ -1,7 +1,7 @@ # GNOME Shell Extension TaskBar # Copyright (C) 2016 zpydr # -# Version 48 +# Version 49 # # 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 diff --git a/extension.js b/extension.js index 8d96d38..bc8d535 100755 --- a/extension.js +++ b/extension.js @@ -1,7 +1,7 @@ // GNOME Shell Extension TaskBar // Copyright (C) 2016 zpydr // -// Version 48 +// Version 49 // // 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 @@ -669,7 +669,7 @@ TaskBar.prototype = this.settings.connect("changed::bottom-panel-vertical", Lang.bind(this, this.onParamChanged)), this.settings.connect("changed::position-bottom-box", Lang.bind(this, this.onParamChanged)), this.settings.connect("changed::tasks-all-workspaces", Lang.bind(this, this.onParamChanged)), - this.settings.connect("changed::tasks-container-width", Lang.bind(this, this.onParamChanged)), + this.settings.connect("changed::tasks-container-width-new", Lang.bind(this, this.onParamChanged)), this.settings.connect("changed::hover-event", Lang.bind(this, this.hoverEvent)), this.settings.connect("changed::reset-all", Lang.bind(this, this.resetAll)), this.settings.connect("changed::reset-flag", Lang.bind(this, this.onParamChanged)) @@ -766,7 +766,7 @@ TaskBar.prototype = if (this.settings.get_boolean("display-tasks")) { this.boxMainTasks = new St.BoxLayout({ style_class: "tkb-box", reactive: true }); - this.tasksContainerWidth = this.settings.get_int('tasks-container-width'); + this.tasksContainerWidth = this.settings.get_int("tasks-container-width-new"); this.boxMainTasksId = this.boxMainTasks.connect("scroll-event", Lang.bind(this, this.onScrollTaskButton)); } if ((this.settings.get_enum("tray-button") !== 0) && (this.settings.get_boolean("bottom-panel")) && (ShellVersion[1] <= 14)) diff --git a/lib.js b/lib.js index 0750f7a..aee410d 100755 --- a/lib.js +++ b/lib.js @@ -1,7 +1,7 @@ // GNOME Shell Extension TaskBar // Copyright (C) 2016 zpydr // -// Version 48 +// Version 49 // // 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 diff --git a/metadata.json b/metadata.json old mode 100755 new mode 100644 index fa38394..a059abd --- a/metadata.json +++ b/metadata.json @@ -1,15 +1,15 @@ { - "_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 + contents\nTop/bottom panel background color + opacity\nBottom panel tray button - activate the message tray\nTasks on all workspaces\nTasks label\nTasks application menu\nClose tasks with a right/middle click\nActivate tasks on hover\nScroll tasks/workspaces\nSeparators\nThumbnail/label-preview\nColor or hide menu buttons\nDisable hot corner\n\nVersion 48 for GNOME 3.10 - 3.18\nzpydr@openmailbox.org\n\nLanguage support:\nCzech by michal-ruzicka\nFrench by narzb\nGerman by jonnius\n\nCredit to Xes, flubshi, rogst, Baltix, boennhoff, skoslowski, rgeary1, hkskoglund, michal-ruzicka, skochxxl, tuhaihe, to-ba", - "name": "TaskBar", + "_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 + contents\nTop/bottom panel background color + opacity\nBottom panel tray button - activate the message tray\nTasks on all workspaces\nTasks label\nTasks application menu\nClose tasks with a right/middle click\nActivate tasks on hover\nScroll tasks/workspaces\nSeparators\nThumbnail/label-preview\nColor or hide menu buttons\nDisable hot corner\n\nVersion 49 for GNOME 3.10 - 3.18\nzpydr@openmailbox.org\n\nLanguage support:\nCzech by michal-ruzicka\nFrench by narzb\nGerman by jonnius\n\nCredit to Xes, flubshi, rogst, Baltix, boennhoff, skoslowski, rgeary1, hkskoglund, michal-ruzicka, skochxxl, tuhaihe, to-ba", + "name": "TaskBar", "shell-version": [ - "3.10", - "3.12", - "3.14", - "3.16", + "3.10", + "3.12", + "3.14", + "3.16", "3.18" - ], - "url": "https://github.com/zpydr/gnome-shell-extension-taskbar", - "uuid": "TaskBar@zpydr", - "version": 48 + ], + "url": "https://github.com/zpydr/gnome-shell-extension-taskbar", + "uuid": "TaskBar@zpydr", + "version": 49 } diff --git a/prefs.js b/prefs.js index 84b6d89..bbd25f1 100755 --- a/prefs.js +++ b/prefs.js @@ -1,7 +1,7 @@ // GNOME Shell Extension TaskBar // Copyright (C) 2016 zpydr // -// Version 48 +// Version 49 // // 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 @@ -129,7 +129,7 @@ Prefs.prototype = let linkImage7 = new Gtk.Image({file: FSFICON}); let linkImage8 = new Gtk.Image({file: SPACERICON}); - let labelVersion1 = new Gtk.Label({label: _("Version")+" 48"}); + let labelVersion1 = new Gtk.Label({label: _("Version")+" 49"}); this.gridTaskBar.attach(labelVersion1, 0, 1, 5, 1); let labelVersion2 = new Gtk.Label({label: _("GNOME Shell Version")+" 3."+ShellVersion[1]}); this.gridTaskBar.attach(labelVersion2, 0, 2, 5, 1); @@ -146,7 +146,7 @@ Prefs.prototype = labelLink2.set_always_show_image(true); this.gridTaskBar.attach(labelLink2, 1, 5, 1, 1); let bugReport = new Gtk.LinkButton ({image: linkImage4, label: _("Report a Bug"), - uri: "mailto:zpydr@openmailbox.org?subject=TaskBar Bug Report&Body=TaskBar Bug Report%0D%0A%0D%0ATaskBar Version: 48%0D%0AGNOME Shell Version: %0D%0AOperating System: %0D%0AOS Version: %0D%0A%0D%0ABug Description: %0D%0A%0D%0A", xalign: 0 }); + uri: "mailto:zpydr@openmailbox.org?subject=TaskBar Bug Report&Body=TaskBar Bug Report%0D%0A%0D%0ATaskBar Version: 49%0D%0AGNOME Shell Version: %0D%0AOperating System: %0D%0AOS Version: %0D%0A%0D%0ABug Description: %0D%0A%0D%0A", xalign: 0 }); bugReport.set_always_show_image(true); this.gridTaskBar.attach(bugReport, 1, 6, 1, 1); let labelLink4 = new Gtk.LinkButton ({image: linkImage5, label: " "+_("Donate for TaskBar"), @@ -429,7 +429,7 @@ Prefs.prototype = this.gridTasks.attach(labelTasksContainerWidth, 1, 5, 2, 1); this.valueTasksContainerWidth = new Gtk.Adjustment({lower: 1, upper: 100, step_increment: 1}); let value2TasksContainerWidth = new Gtk.SpinButton({adjustment: this.valueTasksContainerWidth, snap_to_ticks: true}); - value2TasksContainerWidth.set_value(this.settings.get_int("tasks-container-width")); + value2TasksContainerWidth.set_value(this.settings.get_int("tasks-container-width-new")); value2TasksContainerWidth.connect("value-changed", Lang.bind(this, this.changeTasksContainerWidth)); this.gridTasks.attach(value2TasksContainerWidth, 3, 5, 2, 1); @@ -1273,7 +1273,7 @@ Prefs.prototype = changeTasksContainerWidth: function(object) { - this.settings.set_int("tasks-container-width", this.valueTasksContainerWidth.get_value()); + this.settings.set_int("tasks-container-width-new", this.valueTasksContainerWidth.get_value()); }, changeCloseButton: function(object) diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled index 146a743..43161a7 100644 Binary files a/schemas/gschemas.compiled and b/schemas/gschemas.compiled differ diff --git a/schemas/org.gnome.shell.extensions.TaskBar.gschema.xml b/schemas/org.gnome.shell.extensions.TaskBar.gschema.xml index 060a21f..035e6ab 100644 --- a/schemas/org.gnome.shell.extensions.TaskBar.gschema.xml +++ b/schemas/org.gnome.shell.extensions.TaskBar.gschema.xml @@ -3,7 +3,7 @@ GNOME Shell Extension TaskBar Copyright (C) 2016 zpydr - Version 48 + Version 49 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 @@ -183,7 +183,7 @@ Middle/Right Click to Show Tasks Menu - + 6 Tasks Container Width diff --git a/stylesheet.css b/stylesheet.css index e8cad36..c15d251 100755 --- a/stylesheet.css +++ b/stylesheet.css @@ -2,7 +2,7 @@ GNOME Shell Extension TaskBar Copyright (C) 2016 zpydr - Version 48 + Version 49 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 diff --git a/windows.js b/windows.js index 43d41e8..e542de2 100755 --- a/windows.js +++ b/windows.js @@ -1,7 +1,7 @@ // GNOME Shell Extension TaskBar // Copyright (C) 2016 zpydr // -// Version 48 +// Version 49 // // 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