diff --git a/README.md b/README.md index 379adb6..411f788 100644 --- a/README.md +++ b/README.md @@ -171,16 +171,17 @@ Ideas for recursing child actors and assigning inline styles are based on code f - @jordanribera for using icon's dominant color as running indicator color - @tper0700 for dynamically building context menu based on system capabilities - @levacic for configurable minimized application title font color -- @ l3nn4rt for toggling workspace switch popup +- @l3nn4rt for toggling workspace switch popup +- @hlechner for adjustable show desktop line color and window preview icon size #### Bug Fixes: -@imrvelj, @Teslator, @bil-elmoussaoui, @brandon-schumann, @sw9, @rockon999 , @lexruee, @3v1n0, @freeroot, @moqmar, @ArtyomZorin, @lkc0987, @saibotk, @vanillajonathan, @Zkdc, @leebickmtu +@imrvelj, @Teslator, @bil-elmoussaoui, @brandon-schumann, @sw9, @rockon999 , @lexruee, @3v1n0, @freeroot, @moqmar, @ArtyomZorin, @lkc0987, @saibotk, @vanillajonathan, @Zkdc, @leebickmtu, @l3nn4rt, @Melix19 #### Documentation Improvements: @BoQsc, @zakkak, @dandv #### Translations: -@frnogueira (pt_BR), @zeten30 (cs), @franglais125 / @calotam / @oeramirez (es), @LaurentTreguier / @SolarLiner (fr), @elsieholmes (uk), @hosiet (zh\_CN), @jonnius / @linuxr01 (de), @urbalazs / @pappfer (hu), @crayxt (kk), @pkomur / @MartinPL / @alex4401 (pl), @AlexGluck / @GoodNike / @rjapolov (ru), @sicklylife-jp / @ryonakano (ja), @oltulu / @TeknoMobil / @daenney (tr), @sbadux / @kowalski7cc (it), @OriginCode / @pan93412 (zh\_TW), @ojn (sv) +@frnogueira (pt_BR), @zeten30 (cs), @franglais125 / @calotam / @oeramirez (es), @LaurentTreguier / @SolarLiner (fr), @elsieholmes (uk), @hosiet (zh\_CN), @jonnius / @linuxr01 (de), @urbalazs / @pappfer (hu), @crayxt (kk), @pkomur / @MartinPL / @alex4401 (pl), @AlexGluck / @GoodNike / @rjapolov (ru), @sicklylife-jp / @ryonakano (ja), @oltulu / @TeknoMobil / @daenney (tr), @sbadux / @kowalski7cc / @l3nn4rt (it), @OriginCode / @pan93412 (zh\_TW), @ojn (sv), @frandieguez (gl) ## diff --git a/Settings.ui b/Settings.ui index b3bb98d..a2a1941 100644 --- a/Settings.ui +++ b/Settings.ui @@ -2101,6 +2101,12 @@ 1 100 + + 8 + 48 + 1 + 100 + True True @@ -2752,6 +2758,92 @@ 0 + + + True + False + 12 + 32 + + + True + False + 8 + + + True + True + end + center + + + False + True + 1 + + + + + True + True + end + 4 + 6 + preview_custom_icon_size_adjustment + True + 6 + + + 1 + 0 + 2 + + + + + 1 + + + + + True + False + True + Icon size (px) of the window preview + True + 0 + + + 0 + 0 + + + + + True + False + True + If disabled, the previews icon size will be based on headerbar size + True + 40 + 0 + + + + 0 + 1 + 2 + + + + + 0 + 1 + 2 + + True @@ -2791,7 +2883,7 @@ 0 - 1 + 2 2 @@ -2836,7 +2928,7 @@ 0 - 2 + 3 2 @@ -2875,7 +2967,7 @@ 0 - 3 + 4 2 @@ -3977,6 +4069,7 @@ 12 12 12 + 4 32 @@ -4006,6 +4099,59 @@ 0 + + + True + False + True + Override Show Desktop line color + 0 + + + 0 + 1 + + + + + True + False + 12 + end + + + True + True + True + end + True + + + False + True + 0 + + + + + True + True + end + center + + + False + True + 1 + + + + + 1 + 0 + 1 + + @@ -6212,6 +6358,51 @@ + + + 100 + True + True + + + True + False + 12 + 12 + 12 + 12 + 6 + 32 + + + True + True + end + center + + + 1 + 0 + + + + + True + False + True + Click empty space to close overview + True + 0 + + + 0 + 0 + + + + + + 100 diff --git a/appIcons.js b/appIcons.js index 2279057..1ccfbd6 100644 --- a/appIcons.js +++ b/appIcons.js @@ -150,7 +150,7 @@ var taskbarAppIcon = Utils.defineClass({ this._container = new St.Widget({ style_class: 'dtp-container', layout_manager: new Clutter.BinLayout() }); this._dotsContainer = new St.Widget({ layout_manager: new Clutter.BinLayout() }); - this._dtpIconContainer = new St.Widget({ layout_manager: new Clutter.BinLayout(), style: this.getIconContainerStyle() }); + this._dtpIconContainer = new St.Widget({ layout_manager: new Clutter.BinLayout(), style: getIconContainerStyle(panel.checkIfVertical()) }); this.actor.remove_actor(this._iconContainer); @@ -1224,19 +1224,6 @@ var taskbarAppIcon = Utils.defineClass({ getAppIconInterestingWindows: function(isolateMonitors) { return getInterestingWindows(this.app, this.dtpPanel.monitor, isolateMonitors); - }, - - getIconContainerStyle: function() { - let style = 'padding: '; - let isVertical = this.dtpPanel.checkIfVertical(); - - if (Me.settings.get_boolean('group-apps')) { - style += (isVertical ? '0;' : '0 ' + DEFAULT_PADDING_SIZE + 'px;'); - } else { - style += (isVertical ? '' : '0 ') + DEFAULT_PADDING_SIZE + 'px;'; - } - - return style; } }); taskbarAppIcon.prototype.scaleAndFade = taskbarAppIcon.prototype.undoScaleAndFade = () => {}; @@ -1885,3 +1872,15 @@ adjustMenuRedisplay(MyShowAppsIconMenu.prototype); function adjustMenuRedisplay(menuProto) { menuProto[menuRedisplayFunc] = function() { this._dtpRedisplay(menuRedisplayFunc) }; } + +var getIconContainerStyle = function(isVertical) { + let style = 'padding: '; + + if (Me.settings.get_boolean('group-apps')) { + style += (isVertical ? '0;' : '0 ' + DEFAULT_PADDING_SIZE + 'px;'); + } else { + style += (isVertical ? '' : '0 ') + DEFAULT_PADDING_SIZE + 'px;'; + } + + return style; +} diff --git a/metadata.json b/metadata.json index 3b8efb0..801bcc8 100644 --- a/metadata.json +++ b/metadata.json @@ -3,7 +3,7 @@ "uuid": "dash-to-panel@jderose9.github.com", "name": "Dash to Panel", "description": "An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.\n\nFor a more traditional experience, you may also want to use Tweak Tool to enable Windows > Titlebar Buttons > Minimize & Maximize.\n\nFor the best support, please report any issues on Github. Dash-to-panel is developed and maintained by @jderose9 and @charlesg99.", -"shell-version": [ "3.18", "3.20", "3.22", "3.24", "3.26", "3.28", "3.30", "3.32", "3.34", "3.36" ], +"shell-version": [ "3.18", "3.20", "3.22", "3.24", "3.26", "3.28", "3.30", "3.32", "3.34", "3.36", "3.38" ], "url": "https://github.com/jderose9/dash-to-panel", "gettext-domain": "dash-to-panel", "version": 9999 diff --git a/overview.js b/overview.js index 248f3ad..ac66c1d 100644 --- a/overview.js +++ b/overview.js @@ -32,16 +32,22 @@ const Gtk = imports.gi.Gtk; const Gdk = imports.gi.Gdk; const Gio = imports.gi.Gio; const Mainloop = imports.mainloop; +const IconGrid = imports.ui.iconGrid; +const ViewSelector = imports.ui.viewSelector; const Meta = imports.gi.Meta; const GS_HOTKEYS_KEY = 'switch-to-application-'; +//timeout names +const T1 = 'swipeEndTimeout'; + var dtpOverview = Utils.defineClass({ Name: 'DashToPanel.Overview', _init: function() { this._numHotkeys = 10; + this._timeoutsHandler = new Utils.TimeoutsHandler(); }, enable : function(panel) { @@ -54,8 +60,9 @@ var dtpOverview = Utils.defineClass({ this._optionalWorkspaceIsolation(); this._optionalHotKeys(); this._optionalNumberOverlay(); + this._optionalClickToExit(); this._toggleDash(); - + this._signalsHandler.add([ Me.settings, 'changed::stockgs-keep-dash', @@ -72,6 +79,7 @@ var dtpOverview = Utils.defineClass({ // Remove key bindings this._disableHotKeys(); this._disableExtraShortcut(); + this._disableClickToExit(); }, _toggleDash: function(visible) { @@ -390,5 +398,139 @@ var dtpOverview = Utils.defineClass({ this._panel.intellihide.release(Intellihide.Hold.TEMPORARY); })); + }, + + _optionalClickToExit: function() { + this._clickToExitEnabled = false; + if (Me.settings.get_boolean('overview-click-to-exit')) + this._enableClickToExit(); + + this._signalsHandler.add([ + Me.settings, + 'changed::overview-click-to-exit', + Lang.bind(this, function() { + if (Me.settings.get_boolean('overview-click-to-exit')) + Lang.bind(this, this._enableClickToExit)(); + else + Lang.bind(this, this._disableClickToExit)(); + }) + ]); + }, + + _enableClickToExit: function() { + if (this._clickToExitEnabled) + return; + + let views = Utils.getAppDisplayViews(); + this._oldOverviewReactive = Main.overview._overview.reactive + + Main.overview._overview.reactive = true; + + this._clickAction = new Clutter.ClickAction(); + this._clickAction.connect('clicked', () => { + + if (this._swiping) + return Clutter.EVENT_PROPAGATE; + + let [x, y] = global.get_pointer(); + let pickedActor = global.stage.get_actor_at_pos(Clutter.PickMode.ALL, x, y); + + let activePage = Main.overview.viewSelector.getActivePage(); + if (activePage == ViewSelector.ViewPage.APPS) { + + if(pickedActor != Main.overview._overview + && (views.length > 1 && pickedActor != Main.overview.viewSelector.appDisplay._controls.get_parent()) + && pickedActor != (views[0].view.actor || views[0].view) + && (views.length > 1 && pickedActor != views[1].view._scrollView) + && (views.length > 1 && pickedActor != views[1].view._grid)) { + return Clutter.EVENT_PROPAGATE; + } + + if(Me.settings.get_boolean('animate-show-apps')) { + let view = Utils.find(views, v => v.view.actor.visible).view; + view.animate(IconGrid.AnimationDirection.OUT, Lang.bind(this, function() { + Main.overview.viewSelector._appsPage.hide(); + Main.overview.hide(); + })); + } else { + Main.overview.hide(); + } + } else if (activePage == ViewSelector.ViewPage.WINDOWS) { + let overviewControls = Main.overview._overview._controls || Main.overview._controls; + + if(pickedActor == overviewControls._thumbnailsBox + || pickedActor == overviewControls.dash._container) { + return Clutter.EVENT_PROPAGATE; + } + + if (pickedActor instanceof Meta.BackgroundActor) { + Utils.find(overviewControls._thumbnailsBox._thumbnails, t => + pickedActor == t._bgManager.backgroundActor + ).activate(); + return Clutter.EVENT_STOP; + } + + Main.overview.toggle(); + } else { + Main.overview.toggle(); + } + }); + Main.overview._overview.add_action(this._clickAction); + + [Main.overview.viewSelector._workspacesDisplay].concat(views.map(v => v.view)).forEach(v => { + if (v._swipeTracker) { + this._signalsHandler.addWithLabel('clickToExit', [ + v._swipeTracker, + 'begin', + Lang.bind(this, this._onSwipeBegin) + ],[ + v._swipeTracker, + 'end', + Lang.bind(this, this._onSwipeEnd) + ]); + } else if (v._panAction) { + this._signalsHandler.addWithLabel('clickToExit', [ + v._panAction, + 'gesture-begin', + Lang.bind(this, this._onSwipeBegin) + ],[ + v._panAction, + 'gesture-cancel', + Lang.bind(this, this._onSwipeEnd) + ],[ + v._panAction, + 'gesture-end', + Lang.bind(this, this._onSwipeEnd) + ]); + } + }); + + this._clickToExitEnabled = true; + }, + + _disableClickToExit: function () { + if (!this._clickToExitEnabled) + return; + + Main.overview._overview.remove_action(this._clickAction); + Main.overview._overview.reactive = this._oldOverviewReactive; + + this._signalsHandler.removeWithLabel('clickToExit'); + + this._clickToExitEnabled = false; + }, + + _onSwipeBegin: function() { + this._swiping = true; + return true; + }, + + _onSwipeEnd: function() { + this._timeoutsHandler.add([ + T1, + 0, + () => this._swiping = false + ]); + return true; } }); diff --git a/panel.js b/panel.js index 9bcce26..94ba6c6 100644 --- a/panel.js +++ b/panel.js @@ -221,18 +221,12 @@ var dtpPanel = Utils.defineClass({ opacity: 0 }); - if (this.geom.position == St.Side.TOP) { + let isTop = this.geom.position == St.Side.TOP; + + if (isTop) { this.panel._leftCorner = this.panel._leftCorner || new Panel.PanelCorner(St.Side.LEFT); this.panel._rightCorner = this.panel._rightCorner || new Panel.PanelCorner(St.Side.RIGHT); - Utils.wrapActor(this.panel._leftCorner || 0); - Utils.wrapActor(this.panel._rightCorner || 0); - - if (this.isStandalone) { - this.panel.actor.add_child(this.panel._leftCorner.actor); - this.panel.actor.add_child(this.panel._rightCorner.actor); - } - Main.overview._overview.insert_child_at_index(this._myPanelGhost, 0); } else { let overviewControls = Main.overview._overview._controls || Main.overview._controls; @@ -246,6 +240,21 @@ var dtpPanel = Utils.defineClass({ } } + if (this.panel._leftCorner) { + Utils.wrapActor(this.panel._leftCorner); + Utils.wrapActor(this.panel._rightCorner); + + if (isTop) { + if (this.isStandalone) { + this.panel.actor.add_child(this.panel._leftCorner.actor); + this.panel.actor.add_child(this.panel._rightCorner.actor); + } + } else if (Config.PACKAGE_VERSION >= '3.32') { + this.panel.actor.remove_child(this.panel._leftCorner.actor); + this.panel.actor.remove_child(this.panel._rightCorner.actor); + } + } + this._setPanelPosition(); if (!this.isStandalone) { @@ -278,7 +287,7 @@ var dtpPanel = Utils.defineClass({ panelBoxes.forEach(b => { this[b].allocate = (box, flags, isFromDashToPanel) => { if (isFromDashToPanel) { - this[b].__proto__.allocate.call(this[b], box, flags); + Utils.allocate(this[b], box, flags, true); } } }); @@ -482,6 +491,11 @@ var dtpPanel = Utils.defineClass({ } } + if (!this.panel._leftCorner.actor.mapped) { + this.panel.actor.add_child(this.panel._leftCorner.actor); + this.panel.actor.add_child(this.panel._rightCorner.actor); + } + this._setShowDesktopButton(false); delete Utils.getIndicators(this.statusArea.aggregateMenu._volume)._dtpIgnoreScroll; @@ -666,6 +680,8 @@ var dtpPanel = Utils.defineClass({ [ 'changed::showdesktop-button-width', 'changed::trans-use-custom-bg', + 'changed::desktop-line-use-custom-color', + 'changed::desktop-line-custom-color', 'changed::trans-bg-color' ], () => this._setShowDesktopButtonStyle() @@ -892,11 +908,11 @@ var dtpPanel = Utils.defineClass({ }, _mainPanelAllocate: function(actor, box, flags) { - this.panel.actor.set_allocation(box, flags); + Utils.setAllocation(this.panel.actor, box, flags); }, vfunc_allocate: function(box, flags) { - this.set_allocation(box, flags); + Utils.setAllocation(this, box, flags); let fixed = 0; let centeredMonitorGroup; @@ -978,16 +994,14 @@ var dtpPanel = Utils.defineClass({ currentPosition = group.tlOffset + startPosition; group.elements.forEach(element => { - let params = [element.box, flags]; - element.box[this.varCoord.c1] = Math.round(currentPosition); element.box[this.varCoord.c2] = Math.round((currentPosition += element.natSize)); if (element.isBox) { - params.push(1); + return element.actor.allocate(element.box, flags, true); } - element.actor.allocate.apply(element.actor, params); + Utils.allocate(element.actor, element.box, flags, false); }); group[this.varCoord.c1] = startPosition; @@ -996,7 +1010,7 @@ var dtpPanel = Utils.defineClass({ ++fixed; }; - this.panel.actor.allocate(panelAlloc, flags); + Utils.allocate(this.panel.actor, panelAlloc, flags); this._elementGroups.forEach(group => { group.fixed = 0; @@ -1055,8 +1069,8 @@ var dtpPanel = Utils.defineClass({ childBoxRightCorner[this.fixedCoord.c1] = panelAllocFixedSize; childBoxRightCorner[this.fixedCoord.c2] = panelAllocFixedSize + this.cornerSize; - this.panel._leftCorner.actor.allocate(childBoxLeftCorner, flags); - this.panel._rightCorner.actor.allocate(childBoxRightCorner, flags); + Utils.allocate(this.panel._leftCorner.actor, childBoxLeftCorner, flags); + Utils.allocate(this.panel._rightCorner.actor, childBoxRightCorner, flags); if (this.cornerSize != currentCornerSize) { this._setPanelClip(); @@ -1276,8 +1290,8 @@ var dtpPanel = Utils.defineClass({ this._showDesktopButton = new St.Bin({ style_class: 'showdesktop-button', reactive: true, can_focus: true, - x_fill: true, - y_fill: true, + // x_fill: true, + // y_fill: true, track_hover: true }); this._setShowDesktopButtonStyle(); @@ -1320,12 +1334,16 @@ var dtpPanel = Utils.defineClass({ }, _setShowDesktopButtonStyle: function() { - let rgb = this._getBackgroundBrightness() ? "55, 55, 55" : "200, 200, 200"; + let rgb = this._getBackgroundBrightness() ? "rgba(55, 55, 55, .2)" : "rgba(200, 200, 200, .2)"; + + let isLineCustom = Me.settings.get_boolean('desktop-line-use-custom-color'); + rgb = isLineCustom ? Me.settings.get_string('desktop-line-custom-color') : rgb; if (this._showDesktopButton) { let buttonSize = Me.settings.get_int('showdesktop-button-width') + 'px;'; let isVertical = this.checkIfVertical(); - let sytle = "border: 0 solid rgba(" + rgb + ", .2);" + + let sytle = "border: 0 solid " + rgb + ";"; sytle += isVertical ? 'border-top-width:1px;height:' + buttonSize : 'border-left-width:1px;width:' + buttonSize; this._showDesktopButton.set_style(sytle); @@ -1335,12 +1353,7 @@ var dtpPanel = Utils.defineClass({ // _getBackgroundBrightness: return true if panel has a bright background color _getBackgroundBrightness: function() { - let rgb = this.dynamicTransparency.currentBackgroundColor; - rgb = rgb.substring(5, rgb.length-3).split(','); - - let brightness = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]; - - return (brightness > 128) ? true : false; + return Utils.checkIfColorIsBright(this.dynamicTransparency.backgroundColorRgb); }, _toggleWorkspaceWindows: function(hide, workspace) { @@ -1461,7 +1474,7 @@ var dtpSecondaryPanel = Utils.defineClass({ }, vfunc_allocate: function(box, flags) { - this.set_allocation(box, flags); + Utils.setAllocation(this, box, flags); } }); @@ -1482,44 +1495,36 @@ var dtpSecondaryAggregateMenu = Utils.defineClass({ this._indicators = new St.BoxLayout({ style_class: 'panel-status-indicators-box' }); this.actor.add_child(this._indicators); - if (Config.HAVE_NETWORKMANAGER && Config.PACKAGE_VERSION >= '3.24') { - this._network = new imports.ui.status.network.NMApplet(); - } else { - this._network = null; - } - if (Config.HAVE_BLUETOOTH) { - this._bluetooth = new imports.ui.status.bluetooth.Indicator(); - } else { - this._bluetooth = null; - } - this._power = new imports.ui.status.power.Indicator(); this._volume = new imports.ui.status.volume.Indicator(); this._brightness = new imports.ui.status.brightness.Indicator(); this._system = new imports.ui.status.system.Indicator(); - this._screencast = new imports.ui.status.screencast.Indicator(); + + if (Config.PACKAGE_VERSION >= '3.28') { + this._thunderbolt = new imports.ui.status.thunderbolt.Indicator(); + this._indicators.add_child(Utils.getIndicators(this._thunderbolt)); + } + + if (Config.PACKAGE_VERSION < '3.37') { + this._screencast = new imports.ui.status.screencast.Indicator(); + this._indicators.add_child(Utils.getIndicators(this._screencast)); + } if (Config.PACKAGE_VERSION >= '3.24') { this._nightLight = new imports.ui.status.nightLight.Indicator(); - } - - if (Config.PACKAGE_VERSION >= '3.28') { - this._thunderbolt = new imports.ui.status.thunderbolt.Indicator(); - } - - if (this._thunderbolt) { - this._indicators.add_child(Utils.getIndicators(this._thunderbolt)); - } - this._indicators.add_child(Utils.getIndicators(this._screencast)); - if (this._nightLight) { this._indicators.add_child(Utils.getIndicators(this._nightLight)); } - if (this._network) { + + if (Config.HAVE_NETWORKMANAGER && Config.PACKAGE_VERSION >= '3.24') { + this._network = new imports.ui.status.network.NMApplet(); this._indicators.add_child(Utils.getIndicators(this._network)); } - if (this._bluetooth) { + + if (Config.HAVE_BLUETOOTH) { + this._bluetooth = new imports.ui.status.bluetooth.Indicator(); this._indicators.add_child(Utils.getIndicators(this._bluetooth)); } + this._indicators.add_child(Utils.getIndicators(this._volume)); this._indicators.add_child(Utils.getIndicators(this._power)); this._indicators.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM)); @@ -1530,18 +1535,23 @@ var dtpSecondaryAggregateMenu = Utils.defineClass({ this.menu.addMenuItem(this._brightness.menu); this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); + if (this._network) { this.menu.addMenuItem(this._network.menu); } + if (this._bluetooth) { this.menu.addMenuItem(this._bluetooth.menu); } + this.menu.addMenuItem(this._power.menu); this._power._sync(); if (this._nightLight) { this.menu.addMenuItem(this._nightLight.menu); } + + this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); this.menu.addMenuItem(this._system.menu); menuLayout.addSizeChild(this._power.menu.actor); diff --git a/panelManager.js b/panelManager.js index e193a86..539f721 100755 --- a/panelManager.js +++ b/panelManager.js @@ -64,7 +64,7 @@ var dtpPanelManager = Utils.defineClass({ this._saveMonitors(); - Main.overview.viewSelector.appDisplay._views.forEach(v => { + Utils.getAppDisplayViews().forEach(v => { Utils.wrapActor(v.view); Utils.wrapActor(v.view._grid); }); @@ -198,20 +198,25 @@ var dtpPanelManager = Utils.defineClass({ ] ); - Main.overview.viewSelector.appDisplay._views.forEach(v => { - if (v.control.has_style_pseudo_class('checked')) { + Utils.getAppDisplayViews().forEach(v => { + if (!v.control || v.control.has_style_pseudo_class('checked')) { currentAppsView = v; } + if (v.control) { + this._signalsHandler.add( + [ + v.control, + 'clicked', + () => { + this._needsIconAllocate = currentAppsView != v; + currentAppsView = v; + } + ] + ); + } + this._signalsHandler.add( - [ - v.control, - 'clicked', - () => { - this._needsIconAllocate = currentAppsView != v; - currentAppsView = v; - } - ], [ v.view, 'notify::visible', @@ -566,7 +571,7 @@ var dtpPanelManager = Utils.defineClass({ this._syncWorkspacesFullGeometry(); if (this._actualGeometry) this._syncWorkspacesActualGeometry(); - } else { + } else if (this._updateWorkspacesFullGeometry) { this._updateWorkspacesFullGeometry(); this._updateWorkspacesActualGeometry(); } @@ -582,7 +587,7 @@ var dtpPanelManager = Utils.defineClass({ if (this.child == null) return; - this.set_allocation(box, flags); + Utils.setAllocation(this, box, flags); let availWidth = box.x2 - box.x1; let availHeight = box.y2 - box.y1; @@ -598,7 +603,7 @@ var dtpPanelManager = Utils.defineClass({ childBox.x2 = childBox.x1 + childWidth; childBox.y2 = childBox.y1 + childHeight; - this.child.allocate(childBox, flags); + Utils.allocate(this.child, childBox, flags); }, }); @@ -665,7 +670,7 @@ function newDoSpringAnimation(animationDirection) { function newAnimateIconPosition(icon, box, flags, nChangedIcons) { if (this._needsIconAllocate) { - icon.allocate(box, flags); + Utils.allocate(icon, box, flags); return; } diff --git a/po/gl.po b/po/gl.po new file mode 100644 index 0000000..0050354 --- /dev/null +++ b/po/gl.po @@ -0,0 +1,1303 @@ +# Dash to Panel Spanish translation. +# This file is distributed under the same license as the Dash to Panel package. +# Fran Dieguez , 2020. +# +msgid "" +msgstr "" +"Project-Id-Version: dash-to-panel\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-04-08 09:47-0400\n" +"PO-Revision-Date: 2020-10-05 23:24+0200\n" +"Last-Translator: Fran Dieguez \n" +"Language-Team: Galician >\n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Gtranslator 3.36.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: prefs.js:211 +msgid "Top, with plugin icons collapsed to bottom" +msgstr "Arriba, coas iconas contraídas" + +#: prefs.js:211 +msgid "Left, with plugin icons collapsed to right" +msgstr "Á esquerda, coas iconas contraídas á dereita" + +#: prefs.js:212 +msgid "Top, with fixed center plugin icons" +msgstr "Arriba, coas iconas fixas centradas" + +#: prefs.js:212 +msgid "Left, with fixed center plugin icons" +msgstr "Á esquerda, coas iconas fixas centradas" + +#: prefs.js:213 +msgid "Top, with floating center plugin icons" +msgstr "Arriba, coas iconas flotantes centradas" + +#: prefs.js:213 +msgid "Left, with floating center plugin icons" +msgstr "Á esquerda, coas iconas flotantes centradas" + +#: prefs.js:214 +msgid "Center, fixed in middle of monitor" +msgstr "Centrado, fixo no medio do monitor" + +#: prefs.js:215 +msgid "Center, floating between top and bottom elements" +msgstr "Centrado, flotando entre os elementos superiores e inferiores" + +#: prefs.js:215 +msgid "Center, floating between left and right elements" +msgstr "Centrado, flotando entre os elementos da esquerda e dereita" + +#: prefs.js:219 +msgid "Top of plugin icons" +msgstr "Enriba das iconas" + +#: prefs.js:219 +msgid "Left of plugin icons" +msgstr "Á esquerda das iconas" + +#: prefs.js:220 +msgid "Bottom of plugin icons" +msgstr "Embaixo das iconas" + +#: prefs.js:220 +msgid "Right of plugin icons" +msgstr "Á dereita das iconas" + +#: prefs.js:221 +msgid "Top of system indicators" +msgstr "Enriba dos indicadores do sistema" + +#: prefs.js:221 +msgid "Left of system indicators" +msgstr "Á esquerda dos indicadores do sistema" + +#: prefs.js:222 +msgid "Bottom of system indicators" +msgstr "Embaixo dos indicadores do sistema" + +#: prefs.js:222 +msgid "Right of system indicators" +msgstr "Á dereita dos indicadores do sistema" + +#: prefs.js:223 +msgid "Top of taskbar" +msgstr "Enriba da barra de tarefas" + +#: prefs.js:223 +msgid "Left of taskbar" +msgstr "Á esquerda da barra de tarefas" + +#: prefs.js:224 +msgid "Bottom of taskbar" +msgstr "Embaixo da barra de tareas" + +#: prefs.js:224 +msgid "Right of taskbar" +msgstr "Á dereita da barra de tareas" + +#: prefs.js:230 +msgid "Show Desktop button height (px)" +msgstr "Alto do botón Mostrar Escritorio (px)" + +#: prefs.js:230 +msgid "Show Desktop button width (px)" +msgstr "Ancho do botón Mostrar Escritorio (px)" + +#: prefs.js:364 +msgid "Running Indicator Options" +msgstr "Opcións do indicador de execución" + +#: prefs.js:371 prefs.js:569 prefs.js:712 prefs.js:837 prefs.js:904 +#: prefs.js:992 prefs.js:1084 prefs.js:1331 prefs.js:1415 prefs.js:1480 +#: prefs.js:1516 prefs.js:1613 prefs.js:1647 prefs.js:1689 +msgid "Reset to defaults" +msgstr "Restabelecer os valores predeterminados" + +#: prefs.js:514 +msgid "Default (Primary monitor)" +msgstr "Por defecto (Monitor principal)" + +#: prefs.js:517 +msgid "Monitor " +msgstr "Monitor" + +#: prefs.js:562 +msgid "Multi-monitors options" +msgstr "Opcións de multimonitores" + +#: prefs.js:705 +msgid "Dynamic opacity options" +msgstr "Opcións de opacidade dinámica" + +#: prefs.js:830 +msgid "Intellihide options" +msgstr "Opcións de «Intellihide»" + +#: prefs.js:897 +msgid "Show Applications options" +msgstr "Mostrar as opciones de aplicación" + +#: prefs.js:985 +msgid "Show Desktop options" +msgstr "Mostrar o Escritorio" + +#: prefs.js:1077 +msgid "Window preview options" +msgstr "Opcións de vista rápida de xanelas" + +#: prefs.js:1324 +msgid "Ungrouped application options" +msgstr "Opcións de xanelas non combinadas" + +#: prefs.js:1408 +msgid "Customize middle-click behavior" +msgstr "Personalizar comportamento do botón central" + +#: prefs.js:1473 +msgid "Customize panel scroll behavior" +msgstr "Personalizar comportamento do desplazamento do panel" + +#: prefs.js:1509 +msgid "Customize icon scroll behavior" +msgstr "Personalizar comportamento do desplazamento das iconas" + +#: prefs.js:1606 +msgid "Advanced hotkeys options" +msgstr "Opcións avanzadas de atallos de teclado" + +#: prefs.js:1640 +msgid "Secondary Menu Options" +msgstr "Opcións do menú secundario" + +#: prefs.js:1682 Settings.ui.h:226 +msgid "Advanced Options" +msgstr "Opcións avanzadas" + +#: prefs.js:1774 +msgid "Export settings" +msgstr "Exportar configuracións" + +#: prefs.js:1791 +msgid "Import settings" +msgstr "Importar configuracións" + +#: appIcons.js:1411 +msgid "Show Details" +msgstr "Mostrar detalles" + +#: appIcons.js:1429 +msgid "New Window" +msgstr "Xanela nova" + +#: appIcons.js:1429 appIcons.js:1489 appIcons.js:1491 Settings.ui.h:10 +msgid "Quit" +msgstr "Saír" + +#: appIcons.js:1491 +msgid "Windows" +msgstr "Xanelas" + +#: appIcons.js:1745 +msgid "Power options" +msgstr "Opcións de enerxía" + +#: appIcons.js:1750 +msgid "Event logs" +msgstr "Rexistros do sistema" + +#: appIcons.js:1755 +msgid "System" +msgstr "Sistema" + +#: appIcons.js:1760 +msgid "Device Management" +msgstr "Xestión de dispositivo" + +#: appIcons.js:1765 +msgid "Disk Management" +msgstr "Xestión de discos" + +#: appIcons.js:1773 +msgid "Terminal" +msgstr "Terminal" + +#: appIcons.js:1778 +msgid "System monitor" +msgstr "Monitor do sistema" + +#: appIcons.js:1783 +msgid "Files" +msgstr "Ficheiros" + +#: appIcons.js:1788 +msgid "Extensions" +msgstr "Extensións" + +#: appIcons.js:1793 +msgid "Settings" +msgstr "Preferencias" + +#: appIcons.js:1800 +msgid "Unlock taskbar" +msgstr "Desbloquear barra de tarefas" + +#: appIcons.js:1800 +msgid "Lock taskbar" +msgstr "Bloquear barra de tarefas" + +#: appIcons.js:1805 +msgid "Dash to Panel Settings" +msgstr "Opcións de Dash to Panel" + +#: appIcons.js:1818 +msgid "Restore Windows" +msgstr "Restaurar xanelas" + +#: appIcons.js:1818 +msgid "Show Desktop" +msgstr "Mostrar o Escritorio" + +#: update.js:48 +msgid "Unavailable when installed from extensions.gnome.org" +msgstr "Non dispoñíbel cando se instala desde extensions.gnome.org" + +#: update.js:62 +#, javascript-format +msgid "Version %s (%s) is available" +msgstr "A versión %s (%s) está dispoñíbel" + +#: update.js:63 +msgid "Details" +msgstr "Mostrar detalles" + +#: update.js:64 +msgid "Update" +msgstr "Actualizar" + +#: update.js:67 +msgid "Already up to date" +msgstr "Xa está actualizado" + +#: update.js:75 +msgid "Error: " +msgstr "Erro: " + +#: update.js:168 +msgid "Update successful, please log out/in" +msgstr "Actualización correcta, por favor, peche e inicie sesión" + +#: update.js:169 +msgid "Log out" +msgstr "Pechar sesión" + +#: update.js:173 +msgid "Update successful, please restart GNOME Shell" +msgstr "Actualización correcta, por favor, restaure GNOME Shell" + +#: update.js:174 +msgid "Restart GNOME Shell" +msgstr "Reiniciar GNOME Shell" + +#: update.js:174 +msgid "Restarting GNOME Shell..." +msgstr "Reiniciando GNOME Shel..." + +#: Settings.ui.h:1 +msgid "Nothing yet!" +msgstr "Aínda nada!" + +#: Settings.ui.h:2 +msgid "" +"When set to minimize, double clicking minimizes all the windows of the " +"application." +msgstr "" +"Cuando está a minimizar, doble pulsación minimiza todas as xanelas da " +"aplicación." + +#: Settings.ui.h:3 +msgid "Shift+Click action" +msgstr "Acción de Maiúsculas+Click" + +#: Settings.ui.h:4 +msgid "Raise windows" +msgstr "Elevar xanelas" + +#: Settings.ui.h:5 +msgid "Minimize window" +msgstr "Minimizar xanelas" + +#: Settings.ui.h:6 +msgid "Launch new instance" +msgstr "Lanzar unha nova xanela" + +#: Settings.ui.h:7 +msgid "Cycle through windows" +msgstr "Alternar entre xanelas" + +#: Settings.ui.h:8 +msgid "Cycle windows + minimize" +msgstr "Alternar xanelas e minimizar" + +#: Settings.ui.h:9 +msgid "Toggle single / Preview multiple" +msgstr "Trocar entre simple e vista rápida múltiple" + +#: Settings.ui.h:11 +msgid "Behavior for Middle-Click." +msgstr "Comportamento do botón central" + +#: Settings.ui.h:12 +msgid "Middle-Click action" +msgstr "Acción do botón central" + +#: Settings.ui.h:13 +msgid "Behavior for Shift+Middle-Click." +msgstr "Comportamento para Maiúsculas+Botón-Central" + +#: Settings.ui.h:14 +msgid "Shift+Middle-Click action" +msgstr "Acción de Maiúsculas+Botón-Central" + +#: Settings.ui.h:15 +msgid "Isolate monitors" +msgstr "Illar os espazos de traballo" + +#: Settings.ui.h:16 +msgid "Display favorite applications on all monitors" +msgstr "Mostrar aplicacións favoritas en todos os espazos de traballo" + +#: Settings.ui.h:17 +msgid "Display the clock on all monitors" +msgstr "Mostrar reloxo en todos os espazos de traballo" + +#: Settings.ui.h:18 +msgid "Display the status menu on all monitors" +msgstr "Mostrar o menú de estado en todos os espazos de traballo" + +#: Settings.ui.h:19 +msgid "Integrate AppMenu items" +msgstr "Integrar os elementos do Menú de aplicación" + +#: Settings.ui.h:20 +msgid "Show Details menu item" +msgstr "Mostrar detalles do menú de elementos" + +#: Settings.ui.h:21 +msgid "Highlight focused application" +msgstr "Realzar a aplicación activa" + +#: Settings.ui.h:22 +msgid "Icon dominant color" +msgstr "Color da icona predominante" + +#: Settings.ui.h:23 +msgid "Custom color" +msgstr "Cor personalizado" + +#: Settings.ui.h:24 +msgid "Highlight opacity" +msgstr "Opacidade de realzado" + +#: Settings.ui.h:25 +msgid "Indicator size (px)" +msgstr "Tamaño do indicador (px)" + +#: Settings.ui.h:26 +msgid "Indicator color - Icon Dominant" +msgstr "Cor do indicador - Predominar a icona" + +#: Settings.ui.h:27 +msgid "Indicator color - Override Theme" +msgstr "Color do indicador - Predominar sobre o tema" + +#: Settings.ui.h:28 +msgid "1 window open (or ungrouped)" +msgstr "1 xanela aberta (ou non combinada)" + +#: Settings.ui.h:29 +msgid "Apply to all" +msgstr "Aplicar a todo" + +#: Settings.ui.h:30 +msgid "2 windows open" +msgstr "2 xanelas abertas" + +#: Settings.ui.h:31 +msgid "3 windows open" +msgstr "3 xanelas abertas" + +#: Settings.ui.h:32 +msgid "4+ windows open" +msgstr "4+ xanelas abertas" + +#: Settings.ui.h:33 +msgid "Use different for unfocused" +msgstr "Usar diferente para desenfoque" + +#: Settings.ui.h:34 +msgid "Font size (px) of the application titles (default is 14)" +msgstr "Tamaño da fonte (px) para os títulos de aplicación (14 por defecto)" + +#: Settings.ui.h:35 +msgid "Font weight of application titles" +msgstr "Tamaño da fonte para os títulos de aplicación" + +#: Settings.ui.h:36 +msgid "inherit from theme" +msgstr "herdado do tema" + +#: Settings.ui.h:37 +msgid "normal" +msgstr "normal" + +#: Settings.ui.h:38 +msgid "lighter" +msgstr "máis fino" + +#: Settings.ui.h:39 +msgid "bold" +msgstr "en negriña" + +#: Settings.ui.h:40 +msgid "bolder" +msgstr "máis en negriña" + +#: Settings.ui.h:41 +msgid "Font color of the application titles" +msgstr "Cor de letra dos títulos de aplicación" + +#: Settings.ui.h:42 +msgid "Maximum width (px) of the application titles (default is 160)" +msgstr "Ancho máximo (px) dos títulos de aplicación (160 por defecto)" + +#: Settings.ui.h:43 +msgid "Use a fixed width for the application titles" +msgstr "Usar ancho fixo para os títulos de aplicación" + +#: Settings.ui.h:44 +msgid "" +"The application titles all have the same width, even if their texts are " +"shorter than the maximum width. The maximum width value is used as the fixed " +"width." +msgstr "" +"Todos os títulos de aplicación teñen o mesmo ancho, aínda se o seu texto é " +"máis curto que o ancho máximo. O ancho máximo é usado como valor fixo." + +#: Settings.ui.h:45 +msgid "Display running indicators on unfocused applications" +msgstr "Estilo dos indicadores de execución (aplicación non enfocada)" + +#: Settings.ui.h:46 +msgid "Use the favorite icons as application launchers" +msgstr "Usar as iconas favoritas como lanzadores de aplicación" + +#: Settings.ui.h:47 +msgid "Only hide the panel when it is obstructed by windows " +msgstr "Esconder o panel sólo cando é obstruido por xanelas" + +#: Settings.ui.h:48 +msgid "The panel hides from" +msgstr "O panel escóndese de" + +#: Settings.ui.h:49 +msgid "All windows" +msgstr "Todas as xanelas" + +#: Settings.ui.h:50 +msgid "Focused windows" +msgstr "Xanelas enfocadas" + +#: Settings.ui.h:51 +msgid "Maximized windows" +msgstr "Xanelas maximizadas" + +#: Settings.ui.h:52 +msgid "Require pressure at the edge of the screen to reveal the panel" +msgstr "Requirir presión no bordo da pantalla para mostrar o panel" + +#: Settings.ui.h:53 +msgid "Required pressure threshold (px)" +msgstr "Presión mínima requirida (px)" + +#: Settings.ui.h:54 +msgid "Required pressure timeout (ms)" +msgstr "Tempo de activación por presión (ms)" + +#: Settings.ui.h:55 +msgid "Allow the panel to be revealed while in fullscreen mode" +msgstr "En modo pantalla completa, permitir que o panel sexa mostrado" + +#: Settings.ui.h:56 +msgid "Only hide secondary panels (requires multi-monitors option)" +msgstr "Ocultar só os paneis secundarios (require opción multi-monitor)" + +#: Settings.ui.h:57 +msgid "e.g. i" +msgstr "p.ex. i" + +#: Settings.ui.h:58 +msgid "Keyboard shortcut to reveal and hold the panel" +msgstr "Atallos do teclado para mostrar e manter o panel" + +#: Settings.ui.h:59 +msgid "Syntax: , , , " +msgstr "Sintaxe: , , , " + +#: Settings.ui.h:60 +msgid "Hide and reveal animation duration (ms)" +msgstr "Duración de ocultar e mostrar animacións (ms)" + +#: Settings.ui.h:61 +msgid "Delay before hiding the panel (ms)" +msgstr "Tempo antes de ocultar o panel (ms)" + +#: Settings.ui.h:62 +msgid "Delay before enabling intellihide on start (ms)" +msgstr "Tempo antes de activar o panel intelixente (ms)" + +#: Settings.ui.h:63 +msgid "Time (ms) before showing (100 is default)" +msgstr "Tempo (ms) antes de mostrar (100 por defecto)" + +#: Settings.ui.h:64 +msgid "Animation time (ms)" +msgstr "Tempo da animación (ms)" + +#: Settings.ui.h:65 +msgid "Time (ms) before hiding (100 is default)" +msgstr "Tempo (ms) antes de ocultar (100 por defecto)" + +#: Settings.ui.h:66 +msgid "Immediate on application icon click" +msgstr "Pulsación inmediata en icona de aplicación" + +#: Settings.ui.h:67 +msgid "Middle click on the preview to close the window" +msgstr "Usar o botón central na vista rápida para cerrar a xanela" + +#: Settings.ui.h:68 +msgid "Window previews preferred size (px)" +msgstr "Tamaño por defecto das vistas rápidas (px)" + +#: Settings.ui.h:69 +msgid "Window previews aspect ratio Y (height)" +msgstr "Altura da vista rápida de xanelas" + +#: Settings.ui.h:70 +msgid "Window previews padding (px)" +msgstr "Recheo (px) da vista rápida de xanelas" + +#: Settings.ui.h:71 +msgid "1" +msgstr "1" + +#: Settings.ui.h:72 +msgid "2" +msgstr "2" + +#: Settings.ui.h:73 +msgid "3" +msgstr "3" + +#: Settings.ui.h:74 +msgid "4" +msgstr "4" + +#: Settings.ui.h:75 +msgid "5" +msgstr "5" + +#: Settings.ui.h:76 +msgid "6" +msgstr "6" + +#: Settings.ui.h:77 +msgid "7" +msgstr "7" + +#: Settings.ui.h:78 +msgid "8" +msgstr "8" + +#: Settings.ui.h:79 +msgid "9" +msgstr "9" + +#: Settings.ui.h:80 +msgid "10" +msgstr "10" + +#: Settings.ui.h:81 +msgid "11" +msgstr "11" + +#: Settings.ui.h:82 +msgid "12" +msgstr "12" + +#: Settings.ui.h:83 +msgid "13" +msgstr "13" + +#: Settings.ui.h:84 +msgid "14" +msgstr "14" + +#: Settings.ui.h:85 +msgid "15" +msgstr "15" + +#: Settings.ui.h:86 +msgid "16" +msgstr "16" + +#: Settings.ui.h:87 +msgid "17" +msgstr "17" + +#: Settings.ui.h:88 +msgid "18" +msgstr "18" + +#: Settings.ui.h:89 +msgid "19" +msgstr "19" + +#: Settings.ui.h:90 +msgid "20" +msgstr "20" + +#: Settings.ui.h:91 +msgid "21" +msgstr "21" + +#: Settings.ui.h:92 +msgid "Fixed" +msgstr "Fixa" + +#: Settings.ui.h:93 +msgid "Window previews aspect ratio X (width)" +msgstr "Anchura da vista rápida de xanelas" + +#: Settings.ui.h:94 +msgid "Use custom opacity for the previews background" +msgstr "Usar opacidade personalizada para o fondo das vistas rápidas" + +#: Settings.ui.h:95 +msgid "If disabled, the previews background have the same opacity as the panel" +msgstr "" +"Se está desactivado, o fondo dos vistas rápidas teñen a mesma opacidade que " +"a do panel" + +#: Settings.ui.h:96 +msgid "Close button and header position" +msgstr "Botón de apagado e posición dos títulos" + +#: Settings.ui.h:97 +msgid "Bottom" +msgstr "Abaixo" + +#: Settings.ui.h:98 +msgid "Top" +msgstr "Enriba" + +#: Settings.ui.h:99 +msgid "Display window preview headers" +msgstr "Mostrar os títulos das xanelas nas vistas rápidas" + +#: Settings.ui.h:100 +msgid "Font size (px) of the preview titles" +msgstr "Tamaño de letra (px) dos títulos de aplicación (14 por defecto)" + +#: Settings.ui.h:101 +msgid "Font weight of the preview titles" +msgstr "Color de letra dos títulos de aplicación" + +#: Settings.ui.h:102 +msgid "Font color of the preview titles" +msgstr "Color de letra dos títulos de aplicación" + +#: Settings.ui.h:103 +msgid "Enable window peeking" +msgstr "Activar ollada rápida de xanela" + +#: Settings.ui.h:104 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "" +"Al desprazxar o rato sobre unha vista rápida de xanela, a xanela reálzase." + +#: Settings.ui.h:105 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Tempo para activar o modo de ollada rápida (ms)" + +#: Settings.ui.h:106 +msgid "50" +msgstr "50" + +#: Settings.ui.h:107 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Tempo de inactividade ao desprazar o rato sobre unha vista rápida de xanela " +"para activar o modo de ollada rápida." + +#: Settings.ui.h:108 +msgid "Window peeking mode opacity" +msgstr "Opacidad do modo de ollada rápida" + +#: Settings.ui.h:109 +msgid "0" +msgstr "0" + +#: Settings.ui.h:110 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "Todas as xanelas excepto a resaltada ten a mesma opacidade fixa." + +#: Settings.ui.h:111 +msgid "Delay between mouse scroll events (ms)" +msgstr "Atraso entre eventos de desprazamento do rato (ms)" + +#: Settings.ui.h:112 +msgid "Use this value to limit the number of captured mouse scroll events." +msgstr "" +"Usar este valor para limitar o número de eventos de desprazamento capturados " +"do rato" + +#: Settings.ui.h:113 +msgid "Super" +msgstr "Super" + +#: Settings.ui.h:114 +msgid "Super + Alt" +msgstr "Super + Alt" + +#: Settings.ui.h:115 +msgid "Hotkeys prefix" +msgstr "Prefixo de atallo de teclado" + +#: Settings.ui.h:116 +msgid "Hotkeys will either be Super+Number or Super+Alt+Num" +msgstr "Os atallos serán Super+Núm. ou Super+Alt+Núm." + +#: Settings.ui.h:117 +msgid "Never" +msgstr "Nunca" + +#: Settings.ui.h:118 +msgid "Show temporarily" +msgstr "Mostrar temporalmente" + +#: Settings.ui.h:119 +msgid "Always visible" +msgstr "Sempre visíbel" + +#: Settings.ui.h:120 +msgid "Number overlay" +msgstr "Número de aplicación" + +#: Settings.ui.h:121 +msgid "" +"Temporarily show the application numbers over the icons when using the " +"hotkeys." +msgstr "" +"Ao usar atallos, mostrar momentaneamente o número de aplicación sobre as " +"iconas." + +#: Settings.ui.h:122 +msgid "Hide timeout (ms)" +msgstr "Tempo de ocultación (ms)" + +#: Settings.ui.h:123 +msgid "e.g. q" +msgstr "p.e. q" + +#: Settings.ui.h:124 +msgid "Shortcut to show the overlay for 2 seconds" +msgstr "Atallo para mostrar o número de aplicación por 2 segundos" + +#: Settings.ui.h:125 +msgid "Show window previews on hotkey" +msgstr "Mostrar vista rápida de xanelas ao pasar co rato" + +#: Settings.ui.h:126 +msgid "Show previews when the application have multiple instances" +msgstr "Mostrar vistas previas cando a aplicación ten múltiples instancias" + +#: Settings.ui.h:127 +msgid "Number row" +msgstr "Fila numérica" + +#: Settings.ui.h:128 +msgid "Numeric keypad" +msgstr "Teclado numérico" + +#: Settings.ui.h:129 +msgid "Both" +msgstr "Ambos" + +#: Settings.ui.h:130 +msgid "Hotkeys are activated with" +msgstr "Usar atallos de teclado para activar aplicacións" + +#: Settings.ui.h:131 +msgid "Select which keyboard number keys are used to activate the hotkeys" +msgstr "" +"Selecciona qué teclas numéricas se usan para activar os atallos de teclado" + +#: Settings.ui.h:132 +msgid "Current Show Applications icon" +msgstr "Icona actual de Mostrar aplicacións" + +#: Settings.ui.h:133 +msgid "Select a Show Applications image icon" +msgstr "Seleccionar icona personalizada para Mostrar aplicacións" + +#: Settings.ui.h:134 +msgid "Custom Show Applications image icon" +msgstr "Imaxe da icona personalizada de Mostrar aplicacións" + +#: Settings.ui.h:135 +msgid "Show Applications icon side padding (px)" +msgstr "Recheo lateral da icona de Mostrar aplicacións (px)" + +#: Settings.ui.h:136 +msgid "Reveal the desktop when hovering the Show Desktop button" +msgstr "" +"Mostrar escritorio ao colocar pasar por enriba do botón Mostrar Escritorio" + +#: Settings.ui.h:137 +msgid "Delay before revealing the desktop (ms)" +msgstr "Tempo antes de mostrar o escritorio (ms)" + +#: Settings.ui.h:138 +msgid "Fade duration (ms)" +msgstr "Duración de esvaecemento (ms)" + +#: Settings.ui.h:139 +msgid "The panel background opacity is affected by" +msgstr "A opacidade do fondo do panel está afectada por" + +#: Settings.ui.h:140 +msgid "Change opacity when a window gets closer than (px)" +msgstr "Cambiar a opacidade cando unha xanela se aproxima (px)" + +#: Settings.ui.h:142 +#, no-c-format +msgid "Change opacity to (%)" +msgstr "Cambiar a opacidade a (%)" + +#: Settings.ui.h:143 +msgid "Opacity change animation duration (ms)" +msgstr "Duración das animacións de cambio de opacidade (ms)" + +#: Settings.ui.h:144 +msgid "Panel screen position" +msgstr "Posición do panel na pantalla" + +#: Settings.ui.h:145 +msgid "Left" +msgstr "Á esquerda" + +#: Settings.ui.h:146 +msgid "Right" +msgstr "Á dereita" + +#: Settings.ui.h:147 +msgid "Taskbar position" +msgstr "Posición da barra de tarefas" + +#: Settings.ui.h:148 +msgid "Clock location" +msgstr "Posición do reloxo" + +#: Settings.ui.h:149 +msgid "Display the main panel on" +msgstr "Mostrar o panel principal en" + +#: Settings.ui.h:150 +msgid "Display panels on all monitors" +msgstr "Mostrar os paneles en todos os espazos de traballo" + +#: Settings.ui.h:151 +msgid "Panel Intellihide" +msgstr "Ocultación intelixente do panel" + +#: Settings.ui.h:152 +msgid "Hide and reveal the panel according to preferences" +msgstr "Ocultar e mostrar o panel de acordo coas preferencias" + +#: Settings.ui.h:153 +msgid "Position" +msgstr "Posición" + +#: Settings.ui.h:154 +msgid "" +"Panel Size\n" +"(default is 48)" +msgstr "" +"Tamaño do panel\n" +"(48 por defecto)" + +#: Settings.ui.h:156 +msgid "" +"App Icon Margin\n" +"(default is 8)" +msgstr "" +"Marxe das iconas\n" +"(8 por defecto)" + +#: Settings.ui.h:158 +msgid "" +"App Icon Padding\n" +"(default is 4)" +msgstr "" +"Recheo das iconas\n" +"(4 por defecto)" + +#: Settings.ui.h:160 +msgid "Running indicator position" +msgstr "Posición dos indicadores de execución" + +#: Settings.ui.h:161 +msgid "Running indicator style (Focused app)" +msgstr "Estilo dos indicadores de execución (aplicación enfocada)" + +#: Settings.ui.h:162 +msgid "Dots" +msgstr "Puntos" + +#: Settings.ui.h:163 +msgid "Squares" +msgstr "Cadrados" + +#: Settings.ui.h:164 +msgid "Dashes" +msgstr "Guións" + +#: Settings.ui.h:165 +msgid "Segmented" +msgstr "Segmentado" + +#: Settings.ui.h:166 +msgid "Solid" +msgstr "Sólido" + +#: Settings.ui.h:167 +msgid "Ciliora" +msgstr "Ciliora" + +#: Settings.ui.h:168 +msgid "Metro" +msgstr "Metro" + +#: Settings.ui.h:169 +msgid "Running indicator style (Unfocused apps)" +msgstr "Estilo dos indicadores de execución (aplicación non enfocada)" + +#: Settings.ui.h:170 +msgid "Override panel theme background color " +msgstr "Cambiar a cor de fondo do tema do panel " + +#: Settings.ui.h:171 +msgid "Override panel theme background opacity" +msgstr "Cambiar a opacidade de fondo do tema do panel" + +#: Settings.ui.h:173 +#, no-c-format +msgid "Panel background opacity (%)" +msgstr "Opacidade do fondo do panel (%)" + +#: Settings.ui.h:174 +msgid "Dynamic background opacity" +msgstr "Opacidade dinámica do fondo" + +#: Settings.ui.h:175 +msgid "Change opacity when a window gets close to the panel" +msgstr "Cambiar a opacidade cando unha xanela se aproxima ao panel" + +#: Settings.ui.h:176 +msgid "Override panel theme gradient " +msgstr "Cambiar o gradiente do tema do panel" + +#: Settings.ui.h:178 +#, no-c-format +msgid "Gradient top color and opacity (%)" +msgstr "Color e opacidade do gradiente superior (%)" + +#: Settings.ui.h:180 +#, no-c-format +msgid "Gradient bottom color and opacity (%)" +msgstr "Color e opacidadd do gradiente inferior (%)" + +#: Settings.ui.h:181 +msgid "Style" +msgstr "Estilo" + +#: Settings.ui.h:182 +msgid "Show favorite applications" +msgstr "Mostrar aplicacións favoritas" + +#: Settings.ui.h:183 +msgid "Show running applications" +msgstr "Mostrar aplicacións en execución" + +#: Settings.ui.h:184 +msgid "Show Applications icon" +msgstr "Mostrar a icona de Aplicacións" + +#: Settings.ui.h:185 +msgid "Animate Show Applications." +msgstr "Animar Mostrar Aplicacións" + +#: Settings.ui.h:186 +msgid "Show Activities button" +msgstr "Mostrar o botón Actividades" + +#: Settings.ui.h:187 +msgid "Show Desktop button" +msgstr "Mostrar o botón Escritorio" + +#: Settings.ui.h:188 +msgid "Show AppMenu button" +msgstr "Mostrar o botón Menú de Aplicación" + +#: Settings.ui.h:189 +msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" +msgstr "" +"Barra superior > Mostrar menú de aplicación habilitado en Ferramenta de " +"retoques." + +#: Settings.ui.h:190 +msgid "Show window previews on hover" +msgstr "Mostrar vista rápida de xanelas ao pasar co rató" + +#: Settings.ui.h:191 +msgid "Show tooltip on hover" +msgstr "Mostrar barra de ferramentas al pasar co rato" + +#: Settings.ui.h:192 +msgid "Isolate Workspaces" +msgstr "Illar os espazos de traballo" + +#: Settings.ui.h:193 +msgid "Ungroup applications" +msgstr "Desagrupar aplicacións" + +#: Settings.ui.h:194 +msgid "Behavior" +msgstr "Comportamento" + +#: Settings.ui.h:195 +msgid "Behaviour when clicking on the icon of a running application." +msgstr "Comportamento ao pulsar a icona dunha aplicación en execución" + +#: Settings.ui.h:196 +msgid "Click action" +msgstr "Acción de pulsación" + +#: Settings.ui.h:197 +msgid "Toggle windows" +msgstr "Trocar xanelas" + +#: Settings.ui.h:198 +msgid "Scroll panel action" +msgstr "Acción do panel de desprazamento" + +#: Settings.ui.h:199 +msgid "Behavior when mouse scrolling over the panel." +msgstr "Comportamento cando o rato se desplaza no panel" + +#: Settings.ui.h:200 +msgid "Scroll icon action" +msgstr "Acción ao desplazar iconas" + +#: Settings.ui.h:201 +msgid "Behavior when mouse scrolling over an application icon." +msgstr "Comportamento cando o rató se desplaza sobre a icona dunha aplicación" + +#: Settings.ui.h:202 +msgid "Do nothing" +msgstr "Non facer nada" + +#: Settings.ui.h:203 +msgid "Switch workspace" +msgstr "Cambiar espazo de traballo" + +#: Settings.ui.h:204 +msgid "Cycle windows" +msgstr "Trocar entre xanelas" + +#: Settings.ui.h:205 +msgid "Change volume" +msgstr "Cambiar o volume" + +#: Settings.ui.h:206 +msgid "Same as panel" +msgstr "A mesma que o panel" + +#: Settings.ui.h:207 +msgid "" +"Enable Super+(0-9) as shortcuts to activate apps. It can also be used " +"together with Shift and Ctrl." +msgstr "" +"Activar Super+(0-9) como atallos para activar aplicacións. Tamén pode ser " +"usado xunto con Maiús. e Ctrl." + +#: Settings.ui.h:208 +msgid "Use hotkeys to activate apps" +msgstr "Usar atallos de teclado para activar aplicacións" + +#: Settings.ui.h:209 +msgid "Action" +msgstr "Acción" + +#: Settings.ui.h:210 +msgid "" +"Tray Font Size\n" +"(0 = theme default)" +msgstr "" +"Tamaño do tipo de letra na bandexa do sistema\n" +"(0 = predeterminado)" + +#: Settings.ui.h:212 +msgid "" +"LeftBox Font Size\n" +"(0 = theme default)" +msgstr "" +"Tamaño do tipo de letra na zona esquerda\n" +"(0 = predeterminado)" + +#: Settings.ui.h:214 +msgid "" +"Tray Item Padding\n" +"(-1 = theme default)" +msgstr "" +"Separación na bandexa do sistema\n" +"(-1 = predeterminado)" + +#: Settings.ui.h:216 +msgid "" +"Status Icon Padding\n" +"(-1 = theme default)" +msgstr "" +"Separación das iconas de estado\n" +"(-1 = predeterminado)" + +#: Settings.ui.h:218 +msgid "" +"LeftBox Padding\n" +"(-1 = theme default)" +msgstr "" +"Separación na zona esquerda\n" +"(-1 = predeterminado)" + +#: Settings.ui.h:220 +msgid "Animate switching applications" +msgstr "Animar ao cambiar de aplicación" + +#: Settings.ui.h:221 +msgid "Animate launching new windows" +msgstr "Animar ao abrir novas xanelas" + +#: Settings.ui.h:222 +msgid "Keep original gnome-shell dash (overview)" +msgstr "Conservar o dash original de gnome-shell (vista principal)" + +#: Settings.ui.h:223 +msgid "Activate panel menu buttons (e.g. date menu) on click only" +msgstr "Activar os botóns do menú do panel (p.ex. menú de frecha) só ao pulsar" + +#: Settings.ui.h:224 +msgid "Force Activities hot corner on primary monitor" +msgstr "Forzar as actividades da esquina 'quente' no monitor principal" + +#: Settings.ui.h:225 +msgid "App icon secondary (right-click) menu" +msgstr "Menú secundario (clic dereito) de aplicación" + +#: Settings.ui.h:227 +msgid "Fine-Tune" +msgstr "Retoques" + +#: Settings.ui.h:228 +msgid "version: " +msgstr "versión: " + +#: Settings.ui.h:229 +msgid "GitHub" +msgstr "GitHub" + +#: Settings.ui.h:230 +msgid "" +"Use the buttons below to create a settings file from your current " +"preferences that can be imported on a different machine." +msgstr "" +"Usar os botóns de abaixo para crear o fichero de configuración coas súas " +"preferencias actuais para poder ser importadas de outra máquina." + +#: Settings.ui.h:231 +msgid "Export and import settings" +msgstr "Exportar e importar configuración" + +#: Settings.ui.h:232 +msgid "Export to file" +msgstr "Exportar a un ficheiro" + +#: Settings.ui.h:233 +msgid "Import from file" +msgstr "Importar dun ficheiro" + +#: Settings.ui.h:234 +msgid "" +"This allows you to update the extension directly from the GitHub repository." +msgstr "" +"Isto permítelle actualizar a extensión directamente do repositorio GitHub" + +#: Settings.ui.h:235 +msgid "Updates" +msgstr "Actualizacións" + +#: Settings.ui.h:236 +msgid "Periodically check for updates" +msgstr "Comprobar periódicamente actualizacións" + +#: Settings.ui.h:237 +msgid "Check now" +msgstr "Comprobar agora" + +#: Settings.ui.h:238 +msgid "" +"Be aware, these official Dash to " +"Panel releases might not be reviewed yet on extensions.gnome.org! Read more" +msgstr "" +"¡Sé consciente de que estas versións " +"oficiais de 'Dash to Panel' poderían non estar todavía revisadas en " +"extensions.gnome.org! Ler máis" + +#: Settings.ui.h:239 +msgid "" +"This program comes with ABSOLUTELY NO WARRANTY.\n" +"See the GNU General Public License, version 2 or later for details." +msgstr "" +"Este programa ven SEN NINGUNHA GARANTÍA.\n" +"Consulte a Licencia Pública General de GNU, versión 2 ou posterior para obtener " +"máis detalles." + +#: Settings.ui.h:241 +msgid "About" +msgstr "Acerca de" diff --git a/po/it.po b/po/it.po index 1c6e8d6..c614764 100644 --- a/po/it.po +++ b/po/it.po @@ -9,7 +9,7 @@ msgstr "" "Report-Msgid-Bugs-To: kowalski.7cc@gmail.com\n" "POT-Creation-Date: 2020-05-15 22:08+0200\n" "PO-Revision-Date: 2020-05-15 23:12+0200\n" -"Last-Translator: Kowalski7cc \n" +"Last-Translator: l3nn4rt \n" "Language-Team: \n" "Language: it\n" "MIME-Version: 1.0\n" @@ -18,225 +18,205 @@ msgstr "" "X-Generator: Gtranslator 3.36.0\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -#: prefs.js:211 -msgid "Top, with plugin icons collapsed to bottom" -msgstr "In alto, con le icone dei plugin raggruppate in bassoa" - -#: prefs.js:211 -msgid "Left, with plugin icons collapsed to right" -msgstr "A sinistra, con le icone dei plugin raggruppate a destra" - -#: prefs.js:212 -msgid "Top, with fixed center plugin icons" -msgstr "In alto, con le icone dei plugin fisse al centro" - -#: prefs.js:212 -msgid "Left, with fixed center plugin icons" -msgstr "A sinistra, con le icone dei plugin fisse al centro" - -#: prefs.js:213 -msgid "Top, with floating center plugin icons" -msgstr "In cima, con le icone dei plugin flottanti al centro" - -#: prefs.js:213 -msgid "Left, with floating center plugin icons" -msgstr "Sinistra, con le icone dei plugin flottanti al centro" - -#: prefs.js:214 -msgid "Center, fixed in middle of monitor" -msgstr "Centrato, fisso al centro del monitor" - -#: prefs.js:215 -msgid "Center, floating between top and bottom elements" -msgstr "Centrato, flottante tra elementi in cima e in basso" - -#: prefs.js:215 -msgid "Center, floating between left and right elements" -msgstr "Centrato, flottante tra elementi a destra e sinistra" - -#: prefs.js:219 -msgid "Top of plugin icons" -msgstr "In cima alle icone dei plugin" - -#: prefs.js:219 -msgid "Left of plugin icons" -msgstr "Sinistra delle icone plugin" - -#: prefs.js:220 -msgid "Bottom of plugin icons" -msgstr "In fondo alle icone dei plugin" - -#: prefs.js:220 -msgid "Right of plugin icons" -msgstr "Destra delle icone plugin" - -#: prefs.js:221 -msgid "Top of system indicators" -msgstr "In cima agli indicatori di sistema" - -#: prefs.js:221 -msgid "Left of system indicators" -msgstr "Sinistra degli indicatori di sistema" - -#: prefs.js:222 -msgid "Bottom of system indicators" -msgstr "In fondo agli indicatori di sistema" - -#: prefs.js:222 -msgid "Right of system indicators" -msgstr "Destra degli indicatori di sistema" - -#: prefs.js:223 -msgid "Top of taskbar" -msgstr "In cima alla taskbar" - -#: prefs.js:223 -msgid "Left of taskbar" -msgstr "Sinistra della taskbar" - -#: prefs.js:224 -msgid "Bottom of taskbar" -msgstr "In fondo alla taskbar" - -#: prefs.js:224 -msgid "Right of taskbar" -msgstr "Destra della taskbar" - -#: prefs.js:230 +#: prefs.js:206 msgid "Show Desktop button height (px)" msgstr "Altezza tasto Mostra Desktop (px)" -#: prefs.js:230 +#: prefs.js:206 msgid "Show Desktop button width (px)" msgstr "Larghezza tasto Mostra Desktop (px)" -#: prefs.js:368 -msgid "Running Indicator Options" -msgstr "Posizione indicatori di esecuzione" - -#: prefs.js:375 prefs.js:669 prefs.js:794 prefs.js:861 prefs.js:954 -#: prefs.js:1056 prefs.js:1308 prefs.js:1392 prefs.js:1457 prefs.js:1493 -#: prefs.js:1590 prefs.js:1624 prefs.js:1666 -msgid "Reset to defaults" -msgstr "Ripristina predefiniti" - -#: prefs.js:518 -msgid "Default (Primary monitor)" -msgstr "Default (Monitor principale)" - -#: prefs.js:521 -msgid "Monitor " -msgstr "Monitor " - -#: prefs.js:662 -msgid "Dynamic opacity options" -msgstr "Opzioni opacità dinamica" - -#: prefs.js:787 -msgid "Intellihide options" -msgstr "Opzioni pannello Intellihide" - -#: prefs.js:854 -msgid "Show Applications options" -msgstr "Opzioni Mostra Applicazioni" - -#: prefs.js:947 -msgid "Show Desktop options" -msgstr "Opzioni Mostra Desktop" - -#: prefs.js:1049 -msgid "Window preview options" -msgstr "Opzioni anteprima finestre" - -#: prefs.js:1301 -msgid "Ungrouped application options" -msgstr "Opzioni app non raggruppate" - -#: prefs.js:1385 -msgid "Customize middle-click behavior" -msgstr "Personalizza azioni clic centrale" - -#: prefs.js:1450 -msgid "Customize panel scroll behavior" -msgstr "Personalizza il comportamento di scorrimento sul pannello" - -#: prefs.js:1486 -msgid "Customize icon scroll behavior" -msgstr "Personalizza il comportamento di scorrimento sull'icona" - -#: prefs.js:1583 -msgid "Advanced hotkeys options" -msgstr "Opzioni avanzate scorciatoie" - -#: prefs.js:1617 -msgid "Secondary Menu Options" -msgstr "Opzioni menu secondario" - -#: prefs.js:1659 Settings.ui.h:227 -msgid "Advanced Options" -msgstr "Impostazioni avanzate" - -#: prefs.js:1745 +#: prefs.js:218 msgid "Unavailable when gnome-shell top panel is present" msgstr "Non disponibile quando è presente il pannello superiore di gnome-shell" -#: prefs.js:1757 -msgid "Display the clock on additional panels" -msgstr "Mostra l'orologio su pannelli aggiuntivi" +#: prefs.js:293 +msgid "Show Applications button" +msgstr "Pulsante Mostra Applicazioni" -#: prefs.js:1757 -msgid "Display the clock on secondary panels" -msgstr "Visualizza l'orologio su pannelli secondari" +#: prefs.js:294 +msgid "Activities button" +msgstr "Pulsante Attività" -#: prefs.js:1758 -msgid "Display the status menu on additional panels" -msgstr "Mostra il menu di stato su pannelli aggiuntivi" +#: prefs.js:295 +msgid "Taskbar" +msgstr "Taskbar" -#: prefs.js:1758 -msgid "Display the status menu on secondary panels" -msgstr "Mostra il menu di stato su pannelli secondari" +#: prefs.js:296 +msgid "Date menu" +msgstr "Data e ora" -#: prefs.js:1785 +#: prefs.js:297 +msgid "System menu" +msgstr "Menu di sistema" + +#: prefs.js:298 +msgid "Left box" +msgstr "Contenitore di sinistra" + +#: prefs.js:299 +msgid "Center box" +msgstr "Contenitore centrale" + +#: prefs.js:300 +msgid "Right box" +msgstr "Contenitore di destra" + +#: prefs.js:301 +msgid "Desktop button" +msgstr "Pulsante Desktop" + +#: prefs.js:307 +msgid "Move up" +msgstr "Muovi verso l'alto" + +#: prefs.js:309 +msgid "Move down" +msgstr "Muovi verso il basso" + +#: prefs.js:311 +msgid "Visible" +msgstr "Visibile" + +#: prefs.js:312 +msgid "Select element position" +msgstr "Seleziona posizione dell'elemento" + +#: prefs.js:323 +msgid "Stacked to top" +msgstr "Allinea in alto" + +#: prefs.js:323 +msgid "Stacked to left" +msgstr "Allinea a sinistra" + +#: prefs.js:324 +msgid "Stacked to bottom" +msgstr "Allinea in basso" + +#: prefs.js:324 +msgid "Stacked to right" +msgstr "Allinea a destra" + +#: prefs.js:325 +msgid "Centered" +msgstr "Allinea al centro dello spazio disponibile" + +#: prefs.js:326 +msgid "Monitor Center" +msgstr "Allinea al centro dello schermo" + +#: prefs.js:345 +msgid "More options" +msgstr "Altre opzioni" + +#: prefs.js:369 +msgid "Show Applications options" +msgstr "Opzioni Mostra Applicazioni" + +#: prefs.js:376 prefs.js:433 prefs.js:576 prefs.js:894 prefs.js:1019 +#: prefs.js:1146 prefs.js:1405 prefs.js:1500 prefs.js:1565 prefs.js:1608 +#: prefs.js:1705 prefs.js:1739 prefs.js:1781 +msgid "Reset to defaults" +msgstr "Ripristina predefiniti" + +#: prefs.js:426 +msgid "Show Desktop options" +msgstr "Opzioni Mostra Desktop" + +#: prefs.js:569 +msgid "Running Indicator Options" +msgstr "Posizione indicatori di esecuzione" + +#: prefs.js:732 +msgid "Primary monitor" +msgstr "Schermo principale" + +#: prefs.js:732 +msgid "Monitor " +msgstr "Monitor " + +#: prefs.js:887 +msgid "Dynamic opacity options" +msgstr "Opzioni opacità dinamica" + +#: prefs.js:1012 +msgid "Intellihide options" +msgstr "Opzioni pannello Intellihide" + +#: prefs.js:1139 +msgid "Window preview options" +msgstr "Opzioni anteprima finestre" + +#: prefs.js:1398 +msgid "Ungrouped application options" +msgstr "Opzioni app non raggruppate" + +#: prefs.js:1493 +msgid "Customize middle-click behavior" +msgstr "Personalizza azioni clic centrale" + +#: prefs.js:1558 +msgid "Customize panel scroll behavior" +msgstr "Personalizza il comportamento di scorrimento sul pannello" + +#: prefs.js:1601 +msgid "Customize icon scroll behavior" +msgstr "Personalizza il comportamento di scorrimento sull'icona" + +#: prefs.js:1698 +msgid "Advanced hotkeys options" +msgstr "Opzioni avanzate scorciatoie" + +#: prefs.js:1732 +msgid "Secondary Menu Options" +msgstr "Opzioni menu secondario" + +#: prefs.js:1774 Settings.ui.h:226 +msgid "Advanced Options" +msgstr "Impostazioni avanzate" + +#: prefs.js:1877 msgid "Export settings" msgstr "Esporta impostazioni" -#: prefs.js:1802 +#: prefs.js:1894 msgid "Import settings" msgstr "Importa impostazioni" -#: appIcons.js:1420 +#: appIcons.js:1431 msgid "Show Details" msgstr "Mostra dettagli" -#: appIcons.js:1438 +#: appIcons.js:1449 msgid "New Window" msgstr "Nuova finestra" -#: appIcons.js:1438 appIcons.js:1498 appIcons.js:1500 Settings.ui.h:10 +#: appIcons.js:1449 appIcons.js:1509 appIcons.js:1511 Settings.ui.h:10 msgid "Quit" msgstr "Esci" -#: appIcons.js:1500 +#: appIcons.js:1511 msgid "Windows" msgstr "Finestre" -#: appIcons.js:1846 +#: appIcons.js:1860 msgid "Unlock taskbar" msgstr "Sblocca taskbar" -#: appIcons.js:1846 +#: appIcons.js:1860 msgid "Lock taskbar" msgstr "Blocca taskbar" -#: appIcons.js:1851 +#: appIcons.js:1865 msgid "Dash to Panel Settings" msgstr "Impostazioni Dash to Panel" -#: appIcons.js:1864 +#: appIcons.js:1878 msgid "Restore Windows" msgstr "Ripristina finestre" -#: appIcons.js:1864 +#: appIcons.js:1878 msgid "Show Desktop" msgstr "Mostra Desktop" @@ -263,7 +243,7 @@ msgstr "Già aggiornato" #: update.js:75 msgid "Error: " -msgstr "Errore:" +msgstr "Errore: " #: update.js:168 msgid "Update successful, please log out/in" @@ -434,14 +414,18 @@ msgid "Font color of the application titles" msgstr "Colore font dei titoli delle applicazioni" #: Settings.ui.h:38 +msgid "Font color of the minimized application titles" +msgstr "Colore font titoli delle applicazioni minimizzate" + +#: Settings.ui.h:39 msgid "Maximum width (px) of the application titles (default is 160)" msgstr "Larghezza massima (px) dei titoli delle app (predef. 160)" -#: Settings.ui.h:39 +#: Settings.ui.h:40 msgid "Use a fixed width for the application titles" msgstr "Usa larghezza fissa per i titoli delle app" -#: Settings.ui.h:40 +#: Settings.ui.h:41 msgid "" "The application titles all have the same width, even if their texts are " "shorter than the maximum width. The maximum width value is used as the fixed " @@ -451,259 +435,259 @@ msgstr "" "più corti della larghezza massima. Viene usato il valore di larghezza " "massima." -#: Settings.ui.h:41 +#: Settings.ui.h:42 msgid "Display running indicators on unfocused applications" msgstr "Mostra indicatori di esecuzione nelle app senza focus" -#: Settings.ui.h:42 +#: Settings.ui.h:43 msgid "Use the favorite icons as application launchers" msgstr "Usa le icone dei Preferiti come lanciatori delle app" -#: Settings.ui.h:43 +#: Settings.ui.h:44 msgid "Only hide the panel when it is obstructed by windows " msgstr "Nascondi pannello solo quando è ostruito dalle finestre " -#: Settings.ui.h:44 +#: Settings.ui.h:45 msgid "The panel hides from" msgstr "Il pannello si nasconde con" -#: Settings.ui.h:45 +#: Settings.ui.h:46 msgid "All windows" msgstr "Tutte le finestre" -#: Settings.ui.h:46 +#: Settings.ui.h:47 msgid "Focused windows" msgstr "Finestre con focus" -#: Settings.ui.h:47 +#: Settings.ui.h:48 msgid "Maximized windows" msgstr "Finestre massimizzate" -#: Settings.ui.h:48 +#: Settings.ui.h:49 msgid "Require pressure at the edge of the screen to reveal the panel" msgstr "Richiedi pressione a bordo schermo per mostrare il pannello" -#: Settings.ui.h:49 +#: Settings.ui.h:50 msgid "Required pressure threshold (px)" msgstr "Soglia di pressione richiesta (px)" -#: Settings.ui.h:50 +#: Settings.ui.h:51 msgid "Required pressure timeout (ms)" msgstr "Timeout pressione richiesta (ms)" -#: Settings.ui.h:51 +#: Settings.ui.h:52 msgid "Allow the panel to be revealed while in fullscreen mode" msgstr "Permetti al pannello di apparire quando in modalità fullscreen" -#: Settings.ui.h:52 +#: Settings.ui.h:53 msgid "Only hide secondary panels (requires multi-monitors option)" msgstr "Nascondi solo i pannelli secondari (richiede l'opzione multi-monitor)" -#: Settings.ui.h:53 +#: Settings.ui.h:54 msgid "e.g. i" msgstr "es. i" -#: Settings.ui.h:54 +#: Settings.ui.h:55 msgid "Keyboard shortcut to reveal and hold the panel" msgstr "Scorciatoie per mostrare e nascondere il pannello" -#: Settings.ui.h:55 +#: Settings.ui.h:56 msgid "Syntax: , , , " msgstr "Sintassi: , , , " -#: Settings.ui.h:56 +#: Settings.ui.h:57 msgid "Hide and reveal animation duration (ms)" msgstr "Durata animazione mostra/nascondi (ms)" -#: Settings.ui.h:57 +#: Settings.ui.h:58 msgid "Delay before hiding the panel (ms)" msgstr "Ritardo prima di nascondere il pannello (ms)" -#: Settings.ui.h:58 +#: Settings.ui.h:59 msgid "Delay before enabling intellihide on start (ms)" msgstr "Ritardo iniziale (ms) prima di abilitare intellihide" -#: Settings.ui.h:59 +#: Settings.ui.h:60 msgid "Time (ms) before showing (400 is default)" msgstr "" "Tempo (ms) prima della visualizzazione (400 è l'impostazione predefinita)" -#: Settings.ui.h:60 +#: Settings.ui.h:61 msgid "Animation time (ms)" msgstr "Durata animazione (ms)" -#: Settings.ui.h:61 +#: Settings.ui.h:62 msgid "Time (ms) before hiding (100 is default)" msgstr "Tempo (ms) prima di nascondersi (100 è l'impostazione predefinita)" -#: Settings.ui.h:62 +#: Settings.ui.h:63 msgid "Immediate on application icon click" msgstr "Immediatamente al clic sull'icona dell'applicazione" -#: Settings.ui.h:63 +#: Settings.ui.h:64 msgid "Middle click on the preview to close the window" msgstr "Clic centrale sull'anteprima per chiudere la finestra" -#: Settings.ui.h:64 +#: Settings.ui.h:65 msgid "Window previews preferred size (px)" msgstr "Dimensioni preferite delle anteprime delle finestre (px)" -#: Settings.ui.h:65 +#: Settings.ui.h:66 msgid "Window previews aspect ratio Y (height)" msgstr "Proporzioni anteprime delle finestre Y (altezza)" -#: Settings.ui.h:66 +#: Settings.ui.h:67 msgid "Window previews padding (px)" msgstr "Spaziatura anteprime finestre (px)" -#: Settings.ui.h:67 +#: Settings.ui.h:68 msgid "1" msgstr "1" -#: Settings.ui.h:68 +#: Settings.ui.h:69 msgid "2" msgstr "2" -#: Settings.ui.h:69 +#: Settings.ui.h:70 msgid "3" msgstr "3" -#: Settings.ui.h:70 +#: Settings.ui.h:71 msgid "4" msgstr "4" -#: Settings.ui.h:71 +#: Settings.ui.h:72 msgid "5" msgstr "5" -#: Settings.ui.h:72 +#: Settings.ui.h:73 msgid "6" msgstr "6" -#: Settings.ui.h:73 +#: Settings.ui.h:74 msgid "7" msgstr "7" -#: Settings.ui.h:74 +#: Settings.ui.h:75 msgid "8" msgstr "8" -#: Settings.ui.h:75 +#: Settings.ui.h:76 msgid "9" msgstr "9" -#: Settings.ui.h:76 +#: Settings.ui.h:77 msgid "10" msgstr "10" -#: Settings.ui.h:77 +#: Settings.ui.h:78 msgid "11" msgstr "11" -#: Settings.ui.h:78 +#: Settings.ui.h:79 msgid "12" msgstr "12" -#: Settings.ui.h:79 +#: Settings.ui.h:80 msgid "13" msgstr "13" -#: Settings.ui.h:80 +#: Settings.ui.h:81 msgid "14" msgstr "14" -#: Settings.ui.h:81 +#: Settings.ui.h:82 msgid "15" msgstr "15" -#: Settings.ui.h:82 +#: Settings.ui.h:83 msgid "16" msgstr "16" -#: Settings.ui.h:83 +#: Settings.ui.h:84 msgid "17" msgstr "17" -#: Settings.ui.h:84 +#: Settings.ui.h:85 msgid "18" msgstr "18" -#: Settings.ui.h:85 +#: Settings.ui.h:86 msgid "19" msgstr "19" -#: Settings.ui.h:86 +#: Settings.ui.h:87 msgid "20" msgstr "20" -#: Settings.ui.h:87 +#: Settings.ui.h:88 msgid "21" msgstr "21" -#: Settings.ui.h:88 +#: Settings.ui.h:89 msgid "Fixed" msgstr "Fisso" -#: Settings.ui.h:89 +#: Settings.ui.h:90 msgid "Window previews aspect ratio X (width)" msgstr "Proporzioni anteprime delle finestre X (larghezza)" -#: Settings.ui.h:90 +#: Settings.ui.h:91 msgid "Use custom opacity for the previews background" msgstr "Usa l'opacità personalizzata per lo sfondo delle anteprime" -#: Settings.ui.h:91 +#: Settings.ui.h:92 msgid "If disabled, the previews background have the same opacity as the panel" msgstr "" "Se disabilitato, lo sfondo delle anteprime ha la stessa opacità del pannello" -#: Settings.ui.h:92 +#: Settings.ui.h:93 msgid "Close button and header position" msgstr "Pulsante di chiusura e posizione dell'intestazione" -#: Settings.ui.h:93 +#: Settings.ui.h:94 msgid "Bottom" msgstr "Basso" -#: Settings.ui.h:94 +#: Settings.ui.h:95 msgid "Top" msgstr "Alto" -#: Settings.ui.h:95 +#: Settings.ui.h:96 msgid "Display window preview headers" msgstr "Visualizza le intestazioni di anteprima della finestra" -#: Settings.ui.h:96 +#: Settings.ui.h:97 msgid "Font size (px) of the preview titles" msgstr "Dimensione carattere (px) dei titoli di anteprima" -#: Settings.ui.h:97 +#: Settings.ui.h:98 msgid "Font weight of the preview titles" msgstr "Dimensione del carattere dei titoli dell'anteprima" -#: Settings.ui.h:98 +#: Settings.ui.h:99 msgid "Font color of the preview titles" msgstr "Colore del carattere dei titoli dell'anteprima" -#: Settings.ui.h:99 +#: Settings.ui.h:100 msgid "Enable window peeking" msgstr "Abilita separazione finestre" -#: Settings.ui.h:100 +#: Settings.ui.h:101 msgid "" "When hovering over a window preview for some time, the window gets " "distinguished." msgstr "Restando sulla finestra per qualche istante, la finestra si separa." -#: Settings.ui.h:101 +#: Settings.ui.h:102 msgid "Enter window peeking mode timeout (ms)" msgstr "Timeout ingresso modalità finestra separata (ms)" -#: Settings.ui.h:102 +#: Settings.ui.h:103 msgid "50" msgstr "50" -#: Settings.ui.h:103 +#: Settings.ui.h:104 msgid "" "Time of inactivity while hovering over a window preview needed to enter the " "window peeking mode." @@ -711,64 +695,73 @@ msgstr "" "Tempo di inattività sopra una finestra richiesto per entrare in modalità " "separata." -#: Settings.ui.h:104 +#: Settings.ui.h:105 msgid "Window peeking mode opacity" msgstr "Opacità modalità finestra separata" -#: Settings.ui.h:105 +#: Settings.ui.h:106 msgid "0" msgstr "0" -#: Settings.ui.h:106 +#: Settings.ui.h:107 msgid "" "All windows except for the peeked one have their opacity set to the same " "value." msgstr "" "Tutte le finestre, tranne quella visualizzata, hanno la stessa opacità." -#: Settings.ui.h:107 +#: Settings.ui.h:108 msgid "Delay between mouse scroll events (ms)" msgstr "Ritardo tra gli eventi di scorrimento del mouse (ms)" -#: Settings.ui.h:108 +#: Settings.ui.h:109 msgid "Use this value to limit the number of captured mouse scroll events." msgstr "" "Utilizzare questo valore per limitare il numero di eventi di scorrimento del " "mouse acquisiti." -#: Settings.ui.h:109 +#: Settings.ui.h:110 +msgid "Show popup when changing workspace" +msgstr "Mostra popup cambiando spazio di lavoro" + +#: Settings.ui.h:111 +msgid "This affects workspace popup when scrolling on the panel only." +msgstr "" +"Questo influisce sul popup spazi di lavoro solo quando si scorre sul pannello" + +#: Settings.ui.h:112 msgid "Super" msgstr "Super" -#: Settings.ui.h:110 +#: Settings.ui.h:113 msgid "Super + Alt" msgstr "Super + Alt" -#: Settings.ui.h:111 +#: Settings.ui.h:114 msgid "Hotkeys prefix" msgstr "Prefisso scorciatoie" -#: Settings.ui.h:112 +#: Settings.ui.h:115 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" msgstr "Le scorciatoie saranno Super+Numero o Super+Alt+Numero" -#: Settings.ui.h:113 +#: Settings.ui.h:116 msgid "Never" msgstr "Mai" -#: Settings.ui.h:114 +#: Settings.ui.h:117 msgid "Show temporarily" msgstr "Temporanea" -#: Settings.ui.h:115 +#: Settings.ui.h:118 msgid "Always visible" msgstr "Sempre visibile" -#: Settings.ui.h:116 +#: Settings.ui.h:119 msgid "Number overlay" msgstr "Sovrimpressione numero" -#: Settings.ui.h:117 +#: Settings.ui.h:120 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." @@ -776,148 +769,144 @@ msgstr "" "Mostra temporaneamente i numeri delle applicazioni sulle icone quando si " "usano le scorciatoie." -#: Settings.ui.h:118 +#: Settings.ui.h:121 msgid "Hide timeout (ms)" msgstr "Timeout visualizzazione (ms)" -#: Settings.ui.h:119 +#: Settings.ui.h:122 msgid "e.g. q" msgstr "es. q" -#: Settings.ui.h:120 +#: Settings.ui.h:123 msgid "Shortcut to show the overlay for 2 seconds" msgstr "Scorciatoia per la sovrapposizione di 2 secondi" -#: Settings.ui.h:121 +#: Settings.ui.h:124 msgid "Show window previews on hotkey" msgstr "Mostra anteprime finestre da hotkey" -#: Settings.ui.h:122 +#: Settings.ui.h:125 msgid "Show previews when the application have multiple instances" msgstr "Mostra anteprime quando l'applicazione ha più istanze" -#: Settings.ui.h:123 +#: Settings.ui.h:126 msgid "Number row" msgstr "Numero riga" -#: Settings.ui.h:124 +#: Settings.ui.h:127 msgid "Numeric keypad" msgstr "Tastierino numerico" -#: Settings.ui.h:125 +#: Settings.ui.h:128 msgid "Both" msgstr "Entrambi" -#: Settings.ui.h:126 +#: Settings.ui.h:129 msgid "Hotkeys are activated with" msgstr "I tasti di scelta rapida sono attivati con" -#: Settings.ui.h:127 +#: Settings.ui.h:130 msgid "Select which keyboard number keys are used to activate the hotkeys" msgstr "" "Seleziona la tipologia dei tasti numerici utilizzati per attivare i tasti di " "scelta rapida" -#: Settings.ui.h:128 +#: Settings.ui.h:131 msgid "Current Show Applications icon" msgstr "Icona Mostra Applicazioni attuale" -#: Settings.ui.h:129 +#: Settings.ui.h:132 msgid "Select a Show Applications image icon" msgstr "Seleziona icona per Mostra Applicazioni" -#: Settings.ui.h:130 +#: Settings.ui.h:133 msgid "Custom Show Applications image icon" msgstr "Icona Mostra Applicazioni personalizzata" -#: Settings.ui.h:131 +#: Settings.ui.h:134 msgid "Show Applications icon side padding (px)" msgstr "Spaziatura a lato dell'icona Mostra Applicazioni (px)" -#: Settings.ui.h:132 +#: Settings.ui.h:135 msgid "Override escape key and return to desktop" msgstr "" "Sostituisci il tasto escape e ritorna al desktop anziché alla panoramica" -#: Settings.ui.h:133 +#: Settings.ui.h:136 +msgid "Animate Show Applications." +msgstr "Animazione Mostra Applicazioni." + +#: Settings.ui.h:137 msgid "Reveal the desktop when hovering the Show Desktop button" msgstr "" "Rivela il desktop quando si passa il cursore sul pulsante Mostra desktop" -#: Settings.ui.h:134 +#: Settings.ui.h:138 msgid "Delay before revealing the desktop (ms)" msgstr "Ritardo prima di rivelare il desktop (ms)" -#: Settings.ui.h:135 +#: Settings.ui.h:139 msgid "Fade duration (ms)" msgstr "Durata dissolvenza (ms)" -#: Settings.ui.h:136 +#: Settings.ui.h:140 msgid "The panel background opacity is affected by" msgstr "L'opacità dello pannello è influenzato da" -#: Settings.ui.h:137 +#: Settings.ui.h:141 msgid "Change opacity when a window gets closer than (px)" msgstr "Cambia l'opacità quando una finestra è più vicina di (px)" -#: Settings.ui.h:139 +#: Settings.ui.h:143 #, no-c-format msgid "Change opacity to (%)" msgstr "Imposta opacità al (%)" -#: Settings.ui.h:140 +#: Settings.ui.h:144 msgid "Opacity change animation duration (ms)" msgstr "Durata animazione cambio opacità (ms)" -#: Settings.ui.h:141 -msgid "Panel screen position" -msgstr "Posizione pannello sullo schermo" - -#: Settings.ui.h:142 -msgid "Left" -msgstr "Sinistra" - -#: Settings.ui.h:143 -msgid "Right" -msgstr "Destra" - -#: Settings.ui.h:144 -msgid "Taskbar position" -msgstr "Posizione taskbar" - #: Settings.ui.h:145 -msgid "Clock location" -msgstr "Posizione orologio" - -#: Settings.ui.h:146 msgid "Display the main panel on" msgstr "Mostra pannello principale su" -#: Settings.ui.h:147 +#: Settings.ui.h:146 msgid "Display panels on all monitors" msgstr "Mostra pannelli su tutti i monitor" -#: Settings.ui.h:148 -msgid "" -"For the following 2 options, \"additional\" refers to panels that are " -"displayed in addition to the gnome-shell top panel." -msgstr "" -"Per le seguenti 2 opzioni, \"aggiuntivo\" si riferisce ai pannelli che " -"vengono visualizzati in aggiunta al pannello superiore di gnome-shell." - -#: Settings.ui.h:149 +#: Settings.ui.h:147 msgid "Panel Intellihide" msgstr "Pannello Intellihide" -#: Settings.ui.h:150 +#: Settings.ui.h:148 msgid "Hide and reveal the panel according to preferences" msgstr "Mostra e nascondi il pannello secondo le preferenze" +#: Settings.ui.h:149 +msgid "Order and positions on monitor" +msgstr "Ordinamento e posizione sullo schermo" + +#: Settings.ui.h:150 +msgid "Apply changes to all monitors" +msgstr "Applica a tutti gli schermi" + #: Settings.ui.h:151 +msgid "Panel screen position" +msgstr "Posizione pannello sullo schermo" + +#: Settings.ui.h:152 +msgid "Left" +msgstr "Sinistra" + +#: Settings.ui.h:153 +msgid "Right" +msgstr "Destra" + +#: Settings.ui.h:154 msgid "Position" msgstr "Posizione" -#: Settings.ui.h:152 +#: Settings.ui.h:155 msgid "" "Panel Size\n" "(default is 48)" @@ -925,7 +914,7 @@ msgstr "" "Dimensione pannello\n" "(predefinito 48)" -#: Settings.ui.h:154 +#: Settings.ui.h:157 msgid "" "App Icon Margin\n" "(default is 8)" @@ -933,7 +922,7 @@ msgstr "" "Margine icone app\n" "(predefinito 8)" -#: Settings.ui.h:156 +#: Settings.ui.h:159 msgid "" "App Icon Padding\n" "(default is 4)" @@ -941,195 +930,179 @@ msgstr "" "Spaziatura icone app\n" "(predefinito 4)" -#: Settings.ui.h:158 +#: Settings.ui.h:161 msgid "Running indicator position" msgstr "Posizione indicatore di esecuzione" -#: Settings.ui.h:159 +#: Settings.ui.h:162 msgid "Running indicator style (Focused app)" msgstr "Stile indicatore di esecuzione (app con focus)" -#: Settings.ui.h:160 +#: Settings.ui.h:163 msgid "Dots" msgstr "Puntini" -#: Settings.ui.h:161 +#: Settings.ui.h:164 msgid "Squares" msgstr "Quadrati" -#: Settings.ui.h:162 +#: Settings.ui.h:165 msgid "Dashes" msgstr "Trattini" -#: Settings.ui.h:163 +#: Settings.ui.h:166 msgid "Segmented" msgstr "Segmenti" -#: Settings.ui.h:164 +#: Settings.ui.h:167 msgid "Solid" msgstr "Solidi" -#: Settings.ui.h:165 +#: Settings.ui.h:168 msgid "Ciliora" msgstr "Ciliora" -#: Settings.ui.h:166 +#: Settings.ui.h:169 msgid "Metro" msgstr "Metro" -#: Settings.ui.h:167 +#: Settings.ui.h:170 msgid "Running indicator style (Unfocused apps)" msgstr "Stile indicatore di esecuzione (app senza focus)" -#: Settings.ui.h:168 +#: Settings.ui.h:171 msgid "Override panel theme background color " msgstr "Ignora il colore di sfondo del pannello " -#: Settings.ui.h:169 +#: Settings.ui.h:172 msgid "Override panel theme background opacity" msgstr "Ignora l'opacità del pannello" -#: Settings.ui.h:171 +#: Settings.ui.h:174 #, no-c-format msgid "Panel background opacity (%)" msgstr "Opacità di sfondo del pannello (%)" -#: Settings.ui.h:172 +#: Settings.ui.h:175 msgid "Dynamic background opacity" msgstr "Opacità di sfondo dinamica" -#: Settings.ui.h:173 +#: Settings.ui.h:176 msgid "Change opacity when a window gets close to the panel" msgstr "Cambia l'opacità quando una finestra è vicina al pannello" -#: Settings.ui.h:174 +#: Settings.ui.h:177 msgid "Override panel theme gradient " msgstr "Ignora gradiente del pannello " -#: Settings.ui.h:176 +#: Settings.ui.h:179 #, no-c-format msgid "Gradient top color and opacity (%)" msgstr "Colore superiore del gradiente e opacità (%)" -#: Settings.ui.h:178 +#: Settings.ui.h:181 #, no-c-format msgid "Gradient bottom color and opacity (%)" msgstr "Colore inferiore del gradiente e opacità (%)" -#: Settings.ui.h:179 +#: Settings.ui.h:182 msgid "Style" msgstr "Stile" -#: Settings.ui.h:180 +#: Settings.ui.h:183 msgid "Show favorite applications" msgstr "Mostra applicazioni preferite" -#: Settings.ui.h:181 +#: Settings.ui.h:184 msgid "Show running applications" msgstr "Mostra le applicazioni in esecuzione" -#: Settings.ui.h:182 +#: Settings.ui.h:185 msgid "Show favorite applications on secondary panels" msgstr "Mostra le applicazioni preferite sui pannelli secondari" -#: Settings.ui.h:183 -msgid "Show Applications icon" -msgstr "Mostra icona Applicazioni" - -#: Settings.ui.h:184 -msgid "Animate Show Applications." -msgstr "Animazione Mostra Applicazioni." - -#: Settings.ui.h:185 -msgid "Show Activities button" -msgstr "Mostra pulsante Attività" - #: Settings.ui.h:186 -msgid "Show Desktop button" -msgstr "Mostra pulsante Desktop" - -#: Settings.ui.h:187 msgid "Show AppMenu button" msgstr "Mostra pulsante AppMenu" -#: Settings.ui.h:188 +#: Settings.ui.h:187 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "In Estensioni deve essere abilitato il Menù dell'applicazione" -#: Settings.ui.h:189 +#: Settings.ui.h:188 msgid "Show window previews on hover" msgstr "Mostra anteprime finestre al passaggio" -#: Settings.ui.h:190 +#: Settings.ui.h:189 msgid "Show tooltip on hover" msgstr "Mostra suggerimento al passaggio" -#: Settings.ui.h:191 +#: Settings.ui.h:190 msgid "Isolate Workspaces" msgstr "Isola spazi di lavoro" -#: Settings.ui.h:192 +#: Settings.ui.h:191 msgid "Isolate monitors" msgstr "Isola monitor" -#: Settings.ui.h:193 +#: Settings.ui.h:192 msgid "Ungroup applications" msgstr "Non raggruppare applicazioni" -#: Settings.ui.h:194 +#: Settings.ui.h:193 msgid "Behavior" msgstr "Comportamento" -#: Settings.ui.h:195 +#: Settings.ui.h:194 msgid "Behaviour when clicking on the icon of a running application." msgstr "Comportamento al clic sull'icona di un'app in esecuzione." -#: Settings.ui.h:196 +#: Settings.ui.h:195 msgid "Click action" msgstr "Azione al clic" -#: Settings.ui.h:197 +#: Settings.ui.h:196 msgid "Toggle windows" msgstr "Commuta le finestre" -#: Settings.ui.h:198 +#: Settings.ui.h:197 msgid "Scroll panel action" msgstr "Azione scorrimento pannello" -#: Settings.ui.h:199 +#: Settings.ui.h:198 msgid "Behavior when mouse scrolling over the panel." msgstr "Comportamento durante lo scorrimento del mouse sul pannello." -#: Settings.ui.h:200 +#: Settings.ui.h:199 msgid "Scroll icon action" msgstr "Azione scorrimento icona" -#: Settings.ui.h:201 +#: Settings.ui.h:200 msgid "Behavior when mouse scrolling over an application icon." msgstr "" "Comportamento quando si scorre il mouse sopra l'icona di un'applicazione." -#: Settings.ui.h:202 +#: Settings.ui.h:201 msgid "Do nothing" msgstr "Nessuna azione" -#: Settings.ui.h:203 +#: Settings.ui.h:202 msgid "Switch workspace" msgstr "Cambia spazio di lavoro" -#: Settings.ui.h:204 +#: Settings.ui.h:203 msgid "Cycle windows" msgstr "Cicla le finestre" -#: Settings.ui.h:205 +#: Settings.ui.h:204 msgid "Change volume" msgstr "Cambia il volume" -#: Settings.ui.h:206 +#: Settings.ui.h:205 msgid "Same as panel" msgstr "Stesso del pannello" -#: Settings.ui.h:207 +#: Settings.ui.h:206 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." @@ -1137,15 +1110,15 @@ msgstr "" "Abilita Super+(0-9) come scorciatoia per attivare le app. Può essere usato " "assieme a Shift e Ctrl." -#: Settings.ui.h:208 +#: Settings.ui.h:207 msgid "Use hotkeys to activate apps" msgstr "Usa scorciatoie per attivare app" -#: Settings.ui.h:209 +#: Settings.ui.h:208 msgid "Action" msgstr "Azioni" -#: Settings.ui.h:210 +#: Settings.ui.h:209 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -1153,7 +1126,7 @@ msgstr "" "Dimens. Font Tray\n" "(0 = predefinito)" -#: Settings.ui.h:212 +#: Settings.ui.h:211 msgid "" "LeftBox Font Size\n" "(0 = theme default)" @@ -1161,7 +1134,7 @@ msgstr "" "Dimens. Font LeftBox\n" "(0 = predefinito)" -#: Settings.ui.h:214 +#: Settings.ui.h:213 msgid "" "Tray Item Padding\n" "(-1 = theme default)" @@ -1169,7 +1142,7 @@ msgstr "" "Spaziatura Icone Tray\n" "(-1 = predefinito)" -#: Settings.ui.h:216 +#: Settings.ui.h:215 msgid "" "Status Icon Padding\n" "(-1 = theme default)" @@ -1177,7 +1150,7 @@ msgstr "" "Spaziatura icone stato\n" "(-1 = predefinito)" -#: Settings.ui.h:218 +#: Settings.ui.h:217 msgid "" "LeftBox Padding\n" "(-1 = theme default)" @@ -1185,48 +1158,48 @@ msgstr "" "Spaziatura LeftBox\n" "(-1 = predefinito)" -#: Settings.ui.h:220 +#: Settings.ui.h:219 msgid "Animate switching applications" msgstr "Animazione passaggio tra applicazioni" -#: Settings.ui.h:221 +#: Settings.ui.h:220 msgid "Animate launching new windows" msgstr "Animazione apertura nuove finestre" -#: Settings.ui.h:222 +#: Settings.ui.h:221 msgid "Keep original gnome-shell dash (overview)" msgstr "Mantieni dash originale di gnome-shell (schermata panoramica)" -#: Settings.ui.h:223 +#: Settings.ui.h:222 msgid "Force Activities hot corner on primary monitor" msgstr "Forza angolo attivo delle attività sul monitor principale" -#: Settings.ui.h:224 +#: Settings.ui.h:223 msgid "Activate panel menu buttons (e.g. date menu) on click only" msgstr "" "Attiva i pulsanti del menu del pannello (ad es. Menu della data) solo al clic" -#: Settings.ui.h:225 +#: Settings.ui.h:224 msgid "Keep original gnome-shell top panel" msgstr "Mantieni il pannello superiore della gnome-shell originale" -#: Settings.ui.h:226 +#: Settings.ui.h:225 msgid "App icon secondary (right-click) menu" msgstr "Menu secondario (clic destro) delle icone" -#: Settings.ui.h:228 +#: Settings.ui.h:227 msgid "Fine-Tune" msgstr "Perfeziona" -#: Settings.ui.h:229 +#: Settings.ui.h:228 msgid "version: " msgstr "versione: " -#: Settings.ui.h:230 +#: Settings.ui.h:229 msgid "GitHub" msgstr "GitHub" -#: Settings.ui.h:231 +#: Settings.ui.h:230 msgid "" "Use the buttons below to create a settings file from your current " "preferences that can be imported on a different machine." @@ -1234,37 +1207,37 @@ msgstr "" "Usa i tasti qui sotto per salvare in un file le tue preferenze attuali che " "potranno essere importate su altri computer." -#: Settings.ui.h:232 +#: Settings.ui.h:231 msgid "Export and import settings" msgstr "Esporta e importa impostazioni" -#: Settings.ui.h:233 +#: Settings.ui.h:232 msgid "Export to file" msgstr "Esporta su file" -#: Settings.ui.h:234 +#: Settings.ui.h:233 msgid "Import from file" msgstr "Importa da file" -#: Settings.ui.h:235 +#: Settings.ui.h:234 msgid "" "This allows you to update the extension directly from the GitHub repository." msgstr "" "Ciò consente di aggiornare l'estensione direttamente dal repository GitHub." -#: Settings.ui.h:236 +#: Settings.ui.h:235 msgid "Updates" msgstr "Aggiornamenti" -#: Settings.ui.h:237 +#: Settings.ui.h:236 msgid "Periodically check for updates" msgstr "Controlla periodicamente per gli aggiornamenti" -#: Settings.ui.h:238 +#: Settings.ui.h:237 msgid "Check now" msgstr "Controlla ora" -#: Settings.ui.h:239 +#: Settings.ui.h:238 msgid "" "Be aware, these official Dash to " "Panel releases might not be reviewed yet on extensions.gnome.org! Leggi di più" -#: Settings.ui.h:240 +#: Settings.ui.h:239 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License, versione 2 o successive per dettagli." -#: Settings.ui.h:242 +#: Settings.ui.h:241 msgid "About" msgstr "Informazioni su" +msgid "Top, with plugin icons collapsed to bottom" +msgstr "In alto, con le icone dei plugin raggruppate in bassoa" + +msgid "Left, with plugin icons collapsed to right" +msgstr "A sinistra, con le icone dei plugin raggruppate a destra" + +msgid "Top, with fixed center plugin icons" +msgstr "In alto, con le icone dei plugin fisse al centro" + +msgid "Left, with fixed center plugin icons" +msgstr "A sinistra, con le icone dei plugin fisse al centro" + +msgid "Top, with floating center plugin icons" +msgstr "In cima, con le icone dei plugin flottanti al centro" + +msgid "Left, with floating center plugin icons" +msgstr "Sinistra, con le icone dei plugin flottanti al centro" + +msgid "Center, fixed in middle of monitor" +msgstr "Centrato, fisso al centro del monitor" + +msgid "Center, floating between top and bottom elements" +msgstr "Centrato, flottante tra elementi in cima e in basso" + +msgid "Center, floating between left and right elements" +msgstr "Centrato, flottante tra elementi a destra e sinistra" + +msgid "Top of plugin icons" +msgstr "In cima alle icone dei plugin" + +msgid "Left of plugin icons" +msgstr "Sinistra delle icone plugin" + +msgid "Bottom of plugin icons" +msgstr "In fondo alle icone dei plugin" + +msgid "Right of plugin icons" +msgstr "Destra delle icone plugin" + +msgid "Top of system indicators" +msgstr "In cima agli indicatori di sistema" + +msgid "Left of system indicators" +msgstr "Sinistra degli indicatori di sistema" + +msgid "Bottom of system indicators" +msgstr "In fondo agli indicatori di sistema" + +msgid "Right of system indicators" +msgstr "Destra degli indicatori di sistema" + +msgid "Left of taskbar" +msgstr "Sinistra della taskbar" + +msgid "Bottom of taskbar" +msgstr "In fondo alla taskbar" + +msgid "Right of taskbar" +msgstr "Destra della taskbar" + +msgid "Display the clock on additional panels" +msgstr "Mostra l'orologio su pannelli aggiuntivi" + +msgid "Display the clock on secondary panels" +msgstr "Visualizza l'orologio su pannelli secondari" + +msgid "Display the status menu on additional panels" +msgstr "Mostra il menu di stato su pannelli aggiuntivi" + +msgid "Display the status menu on secondary panels" +msgstr "Mostra il menu di stato su pannelli secondari" + +msgid "Taskbar position" +msgstr "Posizione taskbar" + +msgid "Clock location" +msgstr "Posizione orologio" + +msgid "" +"For the following 2 options, \"additional\" refers to panels that are " +"displayed in addition to the gnome-shell top panel." +msgstr "" +"Per le seguenti 2 opzioni, \"aggiuntivo\" si riferisce ai pannelli che " +"vengono visualizzati in aggiunta al pannello superiore di gnome-shell." + +msgid "Show Applications icon" +msgstr "Mostra icona Applicazioni" + msgid "Multi-monitors options" msgstr "Opzioni multi-monitor" -msgid "Power options" -msgstr "Opzioni energia" - msgid "Event logs" msgstr "Registro degli eventi" @@ -1311,9 +1369,6 @@ msgstr "Gestione disco" msgid "Terminal" msgstr "Terminale" -msgid "System monitor" -msgstr "Monitor di sistema" - msgid "Extensions" msgstr "Estensioni" diff --git a/prefs.js b/prefs.js index 3d7a783..7c575ec 100644 --- a/prefs.js +++ b/prefs.js @@ -988,6 +988,24 @@ const Settings = new Lang.Class({ dialog.show_all(); })); + + this._settings.bind('desktop-line-use-custom-color', + this._builder.get_object('override_show_desktop_line_color_switch'), + 'active', + Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('desktop-line-use-custom-color', + this._builder.get_object('override_show_desktop_line_color_colorbutton'), + 'sensitive', + Gio.SettingsBindFlags.DEFAULT); + + rgba.parse(this._settings.get_string('desktop-line-custom-color')); + this._builder.get_object('override_show_desktop_line_color_colorbutton').set_rgba(rgba); + this._builder.get_object('override_show_desktop_line_color_colorbutton').connect('notify::color', Lang.bind(this, function (button) { + let rgba = button.get_rgba(); + let css = rgba.to_string(); + this._settings.set_string('desktop-line-custom-color', css); + })); this._settings.bind('intellihide', @@ -1247,6 +1265,14 @@ const Settings = new Lang.Class({ this._builder.get_object('preview_custom_opacity_spinbutton'), 'sensitive', Gio.SettingsBindFlags.DEFAULT); + this._settings.bind('window-preview-use-custom-icon-size', + this._builder.get_object('preview_custom_icon_size_switch'), + 'active', + Gio.SettingsBindFlags.DEFAULT); + this._settings.bind('window-preview-use-custom-icon-size', + this._builder.get_object('preview_custom_icon_size_spinbutton'), + 'sensitive', + Gio.SettingsBindFlags.DEFAULT); this._builder.get_object('preview_custom_opacity_spinbutton').set_value(this._settings.get_int('preview-custom-opacity')); this._builder.get_object('preview_custom_opacity_spinbutton').connect('value-changed', Lang.bind (this, function(widget) { @@ -1270,6 +1296,10 @@ const Settings = new Lang.Class({ this._builder.get_object('preview_show_title_switch'), 'active', Gio.SettingsBindFlags.DEFAULT); + this._settings.bind('window-preview-show-title', + this._builder.get_object('grid_preview_custom_icon_size'), + 'sensitive', + Gio.SettingsBindFlags.DEFAULT); this._settings.bind('window-preview-show-title', this._builder.get_object('grid_preview_title_size'), 'sensitive', @@ -1332,6 +1362,11 @@ const Settings = new Lang.Class({ this._builder.get_object('preview_title_size_spinbutton').connect('value-changed', Lang.bind (this, function(widget) { this._settings.set_int('window-preview-title-font-size', widget.get_value()); })); + + this._builder.get_object('preview_custom_icon_size_spinbutton').set_value(this._settings.get_int('window-preview-custom-icon-size')); + this._builder.get_object('preview_custom_icon_size_spinbutton').connect('value-changed', Lang.bind (this, function(widget) { + this._settings.set_int('window-preview-custom-icon-size', widget.get_value()); + })); this._builder.get_object('grid_preview_title_weight_combo').set_active_id(this._settings.get_string('window-preview-title-font-weight')); this._builder.get_object('grid_preview_title_weight_combo').connect('changed', Lang.bind (this, function(widget) { @@ -1359,6 +1394,8 @@ const Settings = new Lang.Class({ this._builder.get_object('animation_time_spinbutton').set_value(this._settings.get_int('window-preview-animation-time')); this._settings.set_value('preview-use-custom-opacity', this._settings.get_default_value('preview-use-custom-opacity')); + + this._settings.set_value('window-preview-use-custom-icon-size', this._settings.get_default_value('window-preview-use-custom-icon-size')); this._settings.set_value('preview-custom-opacity', this._settings.get_default_value('preview-custom-opacity')); this._builder.get_object('preview_custom_opacity_spinbutton').set_value(this._settings.get_int('preview-custom-opacity')); @@ -1392,6 +1429,9 @@ const Settings = new Lang.Class({ this._settings.set_value('window-preview-title-font-size', this._settings.get_default_value('window-preview-title-font-size')); this._builder.get_object('preview_title_size_spinbutton').set_value(this._settings.get_int('window-preview-title-font-size')); + + this._settings.set_value('window-preview-custom-icon-size', this._settings.get_default_value('window-preview-custom-icon-size')); + this._builder.get_object('preview_custom_icon_size_spinbutton').set_value(this._settings.get_int('window-preview-custom-icon-size')); this._settings.set_value('window-preview-title-font-weight', this._settings.get_default_value('window-preview-title-font-weight')); this._builder.get_object('grid_preview_title_weight_combo').set_active_id(this._settings.get_string('window-preview-title-font-weight')); @@ -1423,6 +1463,11 @@ const Settings = new Lang.Class({ 'active', Gio.SettingsBindFlags.DEFAULT); + this._settings.bind('overview-click-to-exit', + this._builder.get_object('clicktoexit_switch'), + 'active', + Gio.SettingsBindFlags.DEFAULT); + this._settings.bind('group-apps', this._builder.get_object('group_apps_switch'), 'active', diff --git a/progress.js b/progress.js index 0b8c0e3..1e6b43b 100644 --- a/progress.js +++ b/progress.js @@ -289,7 +289,7 @@ var ProgressIndicator = Utils.defineClass({ this._notificationBadgeBin.hide(); this._source._dtpIconContainer.add_child(this._notificationBadgeBin); - this._source._dtpIconContainer.connect('allocation-changed', this.updateNotificationBadge.bind(this)); + this._source._dtpIconContainer.connect('notify::allocation', this.updateNotificationBadge.bind(this)); this._progressManagerEntries = []; this._progressManager.lookupById(this._source.app.id).forEach( diff --git a/proximity.js b/proximity.js index 5130da2..c298f84 100644 --- a/proximity.js +++ b/proximity.js @@ -46,7 +46,7 @@ var ProximityWatch = Utils.defineClass({ this.threshold = [xThreshold, yThreshold]; this.handler = handler; - this._allocationChangedId = actor.connect('allocation-changed', () => this._update()); + this._allocationChangedId = actor.connect('notify::allocation', () => this._update()); this._update(); }, @@ -155,7 +155,7 @@ var ProximityManager = Utils.defineClass({ let focusedWindowInfo = this._getFocusedWindowInfo(focusedWindow); if (focusedWindowInfo && this._checkIfHandledWindowType(focusedWindowInfo.metaWindow)) { - focusedWindowInfo.allocationId = focusedWindowInfo.window.connect('allocation-changed', () => this._queueUpdate()); + focusedWindowInfo.allocationId = focusedWindowInfo.window.connect('notify::allocation', () => this._queueUpdate()); focusedWindowInfo.destroyId = focusedWindowInfo.window.connect('destroy', () => this._disconnectFocusedWindow(true)); this._focusedWindowInfo = focusedWindowInfo; diff --git a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml index 7441df8..30967cf 100644 --- a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml +++ b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml @@ -107,6 +107,16 @@ Panel size Set the size of the panel. + + false + Override Show Desktop line color + Replace current Show Desktop button line color + + + "rgba(200,200,200,0.2)" + Custom Show Desktop line color + Custom Show Desktop button line color + 'BOTTOM' Dot position @@ -362,11 +372,6 @@ Intellihide enable start delay The delay before enabling intellihide on start - - true - Show applications button - Show appplications button in the dash - "" Custom Show Applications icon @@ -492,6 +497,16 @@ Window previews title font size This defines the window preview titles font size. + + false + Window previews use custom icon size + Window previews use custom application icon size. + + + 16 + Window previews custom icon size + Window previews custom application icon size. + 260 Window previews animation time @@ -541,6 +556,11 @@ false Provide workspace isolation Dash shows only windows from the current workspace + + + false + Close overview by clicking in empty space + Close overview or app grid by clicking in empty space true diff --git a/taskbar.js b/taskbar.js index 2133198..60bcb17 100644 --- a/taskbar.js +++ b/taskbar.js @@ -85,7 +85,7 @@ var taskbarActor = Utils.defineClass({ }, vfunc_allocate: function(box, flags)  { - this.set_allocation(box, flags); + Utils.setAllocation(this, box, flags); let panel = this._delegate.dtpPanel; let availFixedSize = box[panel.fixedCoord.c2] - box[panel.fixedCoord.c1]; @@ -100,7 +100,7 @@ var taskbarActor = Utils.defineClass({ childBox[panel.fixedCoord.c1] = box[panel.fixedCoord.c1]; childBox[panel.fixedCoord.c2] = box[panel.fixedCoord.c2]; - scrollview.allocate(childBox, flags); + Utils.allocate(scrollview, childBox, flags); let [value, , upper, , , pageSize] = scrollview[orientation[0] + 'scroll'].adjustment.get_values(); upper = Math.floor(upper); @@ -116,11 +116,11 @@ var taskbarActor = Utils.defineClass({ } childBox[panel.varCoord.c2] = childBox[panel.varCoord.c1] + (value > 0 ? scrollview._dtpFadeSize : 0); - leftFade.allocate(childBox, flags); + Utils.allocate(leftFade, childBox, flags); childBox[panel.varCoord.c1] = box[panel.varCoord.c2] - (value + pageSize < upper ? scrollview._dtpFadeSize : 0); childBox[panel.varCoord.c2] = box[panel.varCoord.c2]; - rightFade.allocate(childBox, flags); + Utils.allocate(rightFade, childBox, flags); }, // We want to request the natural size of all our children @@ -228,9 +228,6 @@ var taskbar = Utils.defineClass({ this.previewMenu = new WindowPreview.PreviewMenu(panel); this.previewMenu.enable(); - if (!Me.settings.get_boolean('show-show-apps-button')) - this.hideShowAppsButton(); - let rtl = Clutter.get_default_text_direction() == Clutter.TextDirection.RTL; this.actor = new St.Bin({ child: this._container, y_align: St.Align.START, x_align:rtl?St.Align.END:St.Align.START @@ -311,18 +308,6 @@ var taskbar = Utils.defineClass({ 'notify::checked', Lang.bind(this, this._syncShowAppsButtonToggled) ], - [ - Me.settings, - 'changed::show-show-apps-button', - Lang.bind(this, function() { - if (Me.settings.get_boolean('show-show-apps-button')) - this.showShowAppsButton(); - else - this.hideShowAppsButton(); - - this.resetAppIcons(); - }) - ], [ Me.settings, [ @@ -963,20 +948,18 @@ var taskbar = Utils.defineClass({ return DND.DragMotionResult.NO_DROP; let sourceActor = source instanceof St.Widget ? source : source.actor; + let isVertical = this.dtpPanel.checkIfVertical(); if (!this._box.contains(sourceActor) && !source._dashItemContainer) { //not an appIcon of the taskbar, probably from the applications view - source._dashItemContainer = new DragPlaceholderItem(source, this.iconSize); + source._dashItemContainer = new DragPlaceholderItem(source, this.iconSize, isVertical); this._box.insert_child_above(source._dashItemContainer, null); } - - let isVertical = this.dtpPanel.checkIfVertical(); + let sizeProp = isVertical ? 'height' : 'width'; let posProp = isVertical ? 'y' : 'x'; let pos = isVertical ? y : x; - pos -= this.showAppsButton[sizeProp]; - let currentAppIcons = this._getAppIcons(); let sourceIndex = currentAppIcons.indexOf(source); let hoveredIndex = Utils.findIndex(currentAppIcons, @@ -1098,7 +1081,7 @@ var taskbar = Utils.defineClass({ if (selector._showAppsButton.checked !== this.showAppsButton.checked) { // find visible view let visibleView; - Main.overview.viewSelector.appDisplay._views.every(function(v, index) { + Utils.getAppDisplayViews().every(function(v, index) { if (v.view.actor.visible) { visibleView = index; return false; @@ -1125,7 +1108,7 @@ var taskbar = Utils.defineClass({ // runs if we are already inside the overview. if (!Main.overview._shown) { this.forcedOverview = true; - let grid = Main.overview.viewSelector.appDisplay._views[visibleView].view._grid; + let grid = Utils.getAppDisplayViews()[visibleView].view._grid; let onShownCb; let overviewShownId = Main.overview.connect('shown', () => { Main.overview.disconnect(overviewShownId); @@ -1179,7 +1162,7 @@ var taskbar = Utils.defineClass({ // Manually trigger springout animation without activating the // workspaceView to avoid the zoomout animation. Hide the appPage // onComplete to avoid ugly flashing of original icons. - let view = Main.overview.viewSelector.appDisplay._views[visibleView].view; + let view = Utils.getAppDisplayViews()[visibleView].view; view.animate(IconGrid.AnimationDirection.OUT, Lang.bind(this, function() { Main.overview.viewSelector._appsPage.hide(); Main.overview.hide(); @@ -1212,12 +1195,6 @@ var taskbar = Utils.defineClass({ this.showAppsButton.set_height(-1); }, - hideShowAppsButton: function() { - this.showAppsButton.hide(); - this.showAppsButton.set_width(0); - this.showAppsButton.set_height(0); - }, - popupFocusedAppSecondaryMenu: function() { let appIcons = this._getAppIcons(); let tracker = Shell.WindowTracker.get_default(); @@ -1243,8 +1220,8 @@ var DragPlaceholderItem = Utils.defineClass({ Name: 'DashToPanel-DragPlaceholderItem', Extends: St.Widget, - _init: function(appIcon, iconSize) { - this.callParent('_init', { style: appIcon.getIconContainerStyle(), layout_manager: new Clutter.BinLayout() }); + _init: function(appIcon, iconSize, isVertical) { + this.callParent('_init', { style: AppIcons.getIconContainerStyle(isVertical), layout_manager: new Clutter.BinLayout() }); this.child = { _delegate: appIcon }; diff --git a/utils.js b/utils.js index 73486cf..8081fca 100644 --- a/utils.js +++ b/utils.js @@ -302,6 +302,11 @@ var getScaleFactor = function() { return getStageTheme().scale_factor || 1; }; +var getAppDisplayViews = function() { + //gnome-shell 3.38 only has one view and it is now the appDisplay + return Main.overview.viewSelector.appDisplay._views || [{ view: Main.overview.viewSelector.appDisplay }]; +}; + var findIndex = function(array, predicate) { if (Array.prototype.findIndex) { return array.findIndex(predicate); @@ -353,6 +358,38 @@ var wrapActor = function(actor) { } }; +var getTransformedAllocation = function(actor) { + if (Config.PACKAGE_VERSION < '3.37') { + return Shell.util_get_transformed_allocation(actor); + } + + let extents = actor.get_transformed_extents(); + let topLeft = extents.get_top_left(); + let bottomRight = extents.get_bottom_right(); + + return { x1: topLeft.x, x2: bottomRight.x, y1: topLeft.y, y2: bottomRight.y }; +}; + +var allocate = function(actor, box, flags, useParent) { + let allocateObj = useParent ? actor.__proto__ : actor; + + allocateObj.allocate.apply(actor, getAllocationParams(box, flags)); +}; + +var setAllocation = function(actor, box, flags) { + actor.set_allocation.apply(actor, getAllocationParams(box, flags)); +}; + +var getAllocationParams = function(box, flags) { + let params = [box]; + + if (Config.PACKAGE_VERSION < '3.37') { + params.push(flags); + } + + return params; +}; + var setClip = function(actor, x, y, width, height) { actor.set_clip(0, 0, width, height); actor.set_position(x, y); @@ -377,14 +414,18 @@ var removeKeybinding = function(key) { } }; +var getrgbColor = function(color) { + color = typeof color === 'string' ? Clutter.color_from_string(color)[1] : color; + + return { red: color.red, green: color.green, blue: color.blue }; +}; + var getrgbaColor = function(color, alpha, offset) { if (alpha <= 0) { return 'transparent; '; } - color = typeof color === 'string' ? Clutter.color_from_string(color)[1] : color; - - let rgb = { red: color.red, green: color.green, blue: color.blue }; + let rgb = getrgbColor(color); if (offset) { ['red', 'green', 'blue'].forEach(k => { @@ -399,6 +440,13 @@ var getrgbaColor = function(color, alpha, offset) { return 'rgba(' + rgb.red + ',' + rgb.green + ',' + rgb.blue + ',' + (Math.floor(alpha * 100) * 0.01) + '); ' ; }; +var checkIfColorIsBright = function(color) { + let rgb = getrgbColor(color); + let brightness = 0.2126 * rgb.red + 0.7152 * rgb.green + 0.0722 * rgb.blue; + + return brightness > 128; +}; + var getMouseScrollDirection = function(event) { let direction; diff --git a/windowPreview.js b/windowPreview.js index 71f380d..ab35af9 100644 --- a/windowPreview.js +++ b/windowPreview.js @@ -24,7 +24,6 @@ const Mainloop = imports.mainloop; const Meta = imports.gi.Meta; const PopupMenu = imports.ui.popupMenu; const Signals = imports.signals; -const Shell = imports.gi.Shell; const St = imports.gi.St; const WindowManager = imports.ui.windowManager; const Workspace = imports.ui.workspace; @@ -464,7 +463,7 @@ var PreviewMenu = Utils.defineClass({ _updatePosition: function() { let sourceNode = this.currentAppIcon.actor.get_theme_node(); let sourceContentBox = sourceNode.get_content_box(this.currentAppIcon.actor.get_allocation_box()); - let sourceAllocation = Shell.util_get_transformed_allocation(this.currentAppIcon.actor); + let sourceAllocation = Utils.getTransformedAllocation(this.currentAppIcon.actor); let [previewsWidth, previewsHeight] = this._getPreviewsSize(); let appIconMargin = Me.settings.get_int('appicon-margin') / scaleFactor; let x = 0, y = 0; @@ -706,7 +705,7 @@ var Preview = Utils.defineClass({ this._previewDimensions = this._getPreviewDimensions(); this.animatingOut = false; - let box = new St.Widget({ layout_manager: new Clutter.BoxLayout({ vertical: true }), y_expand: true }); + let box = new St.Widget({ layout_manager: new Clutter.BoxLayout({ orientation: Clutter.Orientation.VERTICAL }), y_expand: true }); let [previewBinWidth, previewBinHeight] = this._getBinSize(); let closeButton = new St.Button({ style_class: 'window-close', accessible_name: 'Close window' }); @@ -875,13 +874,16 @@ var Preview = Utils.defineClass({ }, _onCloseBtnClick: function() { - this.window.delete(global.get_current_time()); this._hideOrShowCloseButton(true); this.reactive = false; if (!Me.settings.get_boolean('group-apps')) { this._previewMenu.close(); + } else { + this._previewMenu.endPeekHere(); } + + this.window.delete(global.get_current_time()); }, _onButtonReleaseEvent: function(e) { @@ -948,7 +950,9 @@ var Preview = Utils.defineClass({ _updateHeader: function() { if (headerHeight) { - let iconTextureSize = headerHeight / scaleFactor * .6; + let iconTextureSize = Me.settings.get_boolean('window-preview-use-custom-icon-size') ? + Me.settings.get_int('window-preview-custom-icon-size') : + headerHeight / scaleFactor * .6; let icon = this._previewMenu.getCurrentAppIcon().app.create_icon_texture(iconTextureSize); let workspaceIndex = ''; let workspaceStyle = null; @@ -1125,7 +1129,7 @@ var WindowCloneLayout = Utils.defineClass({ height + (this.bufferRect.height - this.frameRect.height) * this.ratio ); - actor.get_first_child().allocate(box, flags); + Utils.allocate(actor.get_first_child(), box, flags); } }); @@ -1142,4 +1146,4 @@ function getTweenOpts(opts) { }; return Utils.mergeObjects(opts || {}, defaults); -} \ No newline at end of file +}