From 8d7110f761f03fc7a52daff8819d2f0d944567ac Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Tue, 1 Jan 2019 11:19:44 +0200 Subject: [PATCH] Fix minor typos Summary: Fix minor typos in messages and comments Test Plan: No major changes to prevent compilation and usage Reviewers: mvourlakos Reviewed By: mvourlakos Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D17894 --- app/lattecorona.cpp | 2 +- app/layout.cpp | 14 +++++++------- app/layoutmanager.h | 2 +- app/settings/settingsdialog.cpp | 2 +- app/settings/universalsettings.cpp | 2 +- app/view/effects.cpp | 2 +- app/view/screenedgeghostwindow.h | 4 ++-- app/view/view.cpp | 8 ++++---- app/view/visibilitymanager.cpp | 8 ++++---- app/wm/xwindowinterface.cpp | 2 +- .../package/contents/code/AppletIdentifier.js | 2 +- .../package/contents/ui/applet/AppletItem.qml | 2 +- .../contents/ui/applet/AppletItemWrapper.qml | 2 +- .../ui/applet/communicator/LatteBridge.qml | 4 ++-- containment/package/contents/ui/main.qml | 6 +++--- liblatte2/quickwindowsystem.cpp | 2 +- plasmoid/package/contents/ui/MouseHandler.qml | 2 +- plasmoid/package/contents/ui/main.qml | 4 ++-- plasmoid/package/contents/ui/task/TaskDelegate.qml | 8 ++++---- plasmoid/package/contents/ui/task/TaskIconItem.qml | 4 ++-- plasmoid/package/contents/ui/task/TaskWindows.qml | 2 +- plasmoid/package/contents/ui/task/TaskWrapper.qml | 2 +- .../task/animations/TaskRealRemovalAnimation.qml | 2 +- .../configuration/pages/BehaviorConfig.qml | 4 ++-- .../contents/configuration/pages/EffectsConfig.qml | 2 +- 25 files changed, 47 insertions(+), 47 deletions(-) diff --git a/app/lattecorona.cpp b/app/lattecorona.cpp index 1b80eaf36..843cf42b6 100644 --- a/app/lattecorona.cpp +++ b/app/lattecorona.cpp @@ -828,7 +828,7 @@ void Corona::alternativesVisibilityChanged(bool visible) void Corona::loadDefaultLayout() { qDebug() << "loading default layout"; - //! Settting mutable for create a containment + //! Setting mutable for create a containment setImmutability(Plasma::Types::Mutable); QVariantList args; auto defaultContainment = createContainmentDelayed("org.kde.latte.containment", args); diff --git a/app/layout.cpp b/app/layout.cpp index 34399c298..48e63d697 100644 --- a/app/layout.cpp +++ b/app/layout.cpp @@ -195,7 +195,7 @@ void Layout::initToCorona(Latte::Corona *corona) } } - qDebug() << "Layout ::::: " << name() << " added contaiments ::: " << m_containments.size(); + qDebug() << "Layout ::::: " << name() << " added containments ::: " << m_containments.size(); connect(m_corona->universalSettings(), &UniversalSettings::canDisableBordersChanged, this, [&]() { if (m_corona->universalSettings()->canDisableBorders()) { @@ -282,7 +282,7 @@ void Layout::setDisableBordersForMaximizedWindows(bool disable) bool Layout::kwin_disabledMaximizedBorders() const { - //! Indentify Plasma Desktop version + //! Identify Plasma Desktop version QProcess process; process.start("kreadconfig5 --file kwinrc --group Windows --key BorderlessMaximizedWindows"); process.waitForFinished(); @@ -618,7 +618,7 @@ bool Layout::layoutIsBroken() const } } - qDebug() << "Contaiments :: " << conts; + qDebug() << "Containments :: " << conts; qDebug() << "Applets :: " << applets; foreach (QString c, conts) { @@ -1031,7 +1031,7 @@ void Layout::copyView(Plasma::Containment *containment) return; qDebug() << "copying containment layout"; - //! Settting mutable for create a containment + //! Setting mutable for create a containment m_corona->setImmutability(Plasma::Types::Mutable); QString temp1File = QDir::homePath() + "/.config/lattedock.copy1.bak"; @@ -1204,14 +1204,14 @@ void Layout::importToCorona() return; } - //! Settting mutable for create a containment + //! Setting mutable for create a containment m_corona->setImmutability(Plasma::Types::Mutable); QString temp1FilePath = QDir::homePath() + "/.config/lattedock.copy1.bak"; //! we need to copy first the layout file because the kde cache //! may not have yet been updated (KSharedConfigPtr) //! this way we make sure at the latest changes stored in the layout file - //! will be also available when changing to Myltiple Layouts + //! will be also available when changing to Multiple Layouts QString tempLayoutFilePath = QDir::homePath() + "/.config/lattedock.layout.bak"; //! WE NEED A WAY TO COPY A CONTAINMENT!!!! @@ -1373,7 +1373,7 @@ QString Layout::newUniqueIdsLayoutFromFile(QString file) qDebug() << "FIXED FULL ASSIGNMENTS ::: " << assigned; - //! update applet ids in their contaiment order and in MultipleLayouts update also the layoutId + //! update applet ids in their containment order and in MultipleLayouts update also the layoutId foreach (auto cId, investigate_conts.groupList()) { //! Update (appletOrder) and (lockedZoomApplets) for (int i = 1; i <= 2; ++i) { diff --git a/app/layoutmanager.h b/app/layoutmanager.h index 39265bff8..e9c6e6ed9 100644 --- a/app/layoutmanager.h +++ b/app/layoutmanager.h @@ -107,7 +107,7 @@ public: QStringList activities(); QStringList runningActivities(); - QStringList orphanedActivities(); //! These are activities that havent been assigned to specific layout + QStringList orphanedActivities(); //! These are activities that haven't been assigned to specific layout void importDefaultLayout(bool newInstanceIfPresent = false); void importPresets(bool includeDefault = false); diff --git a/app/settings/settingsdialog.cpp b/app/settings/settingsdialog.cpp index 129e3e4b6..2401db6c4 100644 --- a/app/settings/settingsdialog.cpp +++ b/app/settings/settingsdialog.cpp @@ -873,7 +873,7 @@ void SettingsDialog::loadSettings() Layout multipleHiddenLayouts(this, multipleLayoutPath, "Multiple Layouts File"); if (multipleHiddenLayouts.layoutIsBroken()) { - qDebug() << "Intergrity Error ::: Multiple Layouts Hidden file is broken!!!!"; + qDebug() << "Integrity Error ::: Multiple Layouts Hidden file is broken!!!!"; brokenLayouts.append(multipleHiddenLayouts.name()); } }*/ diff --git a/app/settings/universalsettings.cpp b/app/settings/universalsettings.cpp index 0f1113cfb..550168fc9 100644 --- a/app/settings/universalsettings.cpp +++ b/app/settings/universalsettings.cpp @@ -331,7 +331,7 @@ void UniversalSettings::setAutostart(bool state) emit autostartChanged(); } else if (state && metaFile.exists()) { metaFile.copy(autostartFile.fileName()); - //! I havent added the flag "OnlyShowIn=KDE;" into the autostart file + //! I haven't added the flag "OnlyShowIn=KDE;" into the autostart file //! because I fall onto a Plasma 5.8 case that this flag //! didn't let the plasma desktop to start emit autostartChanged(); diff --git a/app/view/effects.cpp b/app/view/effects.cpp index 340feaf8a..ff85a3e10 100644 --- a/app/view/effects.cpp +++ b/app/view/effects.cpp @@ -201,7 +201,7 @@ void Effects::setMask(QRect area) //! the correct way for the mask to be painted in order for //! rounded corners to be shown correctly //! the enabledBorders check was added because there was cases - //! that the mask region wasnt calculated correctly after location changes + //! that the mask region wasn't calculated correctly after location changes if (!m_background || m_background->enabledBorders() != m_enabledBorders) { m_background = new Plasma::FrameSvg(this); } diff --git a/app/view/screenedgeghostwindow.h b/app/view/screenedgeghostwindow.h index 43fbbcc0a..a27a0777f 100644 --- a/app/view/screenedgeghostwindow.h +++ b/app/view/screenedgeghostwindow.h @@ -41,12 +41,12 @@ namespace ViewPart { //! What is the importance of this class? //! //! Plasma is activating the screen edges for the main panel window -//! unfortunately this isnt possible for the Latte case. +//! unfortunately this isn't possible for the Latte case. //! When a window is hidden at an edge it becomes NOT visible //! unfortunately that means that all the animations are //! stopped (Qt behaviour) and that creates confusion to the user after the window //! reappears because various animations are played (adding-removing tasks/launchers) -//! that arent relevant any more. +//! that aren't relevant any more. //! //! In order to workaround the above behaviour Latte is using a //! fake window to communicate with KWin and the MAIN Latte::View window diff --git a/app/view/view.cpp b/app/view/view.cpp index dd690e932..8757354fe 100644 --- a/app/view/view.cpp +++ b/app/view/view.cpp @@ -63,7 +63,7 @@ View::View(Plasma::Corona *corona, QScreen *targetScreen, bool byPassWM) : PlasmaQuick::ContainmentView(corona), m_contextMenu(new ViewPart::ContextMenu(this)), m_effects(new ViewPart::Effects(this)), - m_positioner(new ViewPart::Positioner(this)) //needs to be created after Effects becuase it catches some of its signals + m_positioner(new ViewPart::Positioner(this)) //needs to be created after Effects because it catches some of its signals { setTitle(corona->kPackage().metadata().name()); setIcon(qGuiApp->windowIcon()); @@ -155,7 +155,7 @@ View::~View() delete m_contextMenu; } - //needs to be deleted before Effects becuase it catches some of its signals + //needs to be deleted before Effects because it catches some of its signals if (m_positioner) { delete m_positioner; } @@ -354,7 +354,7 @@ void View::showConfigurationInterface(Plasma::Applet *applet) //m_configView.data()->show(); } else { //add a timer for showing the configuration window the first time it is - //created in order to give the containmnent's layouts the time to + //created in order to give the containment's layouts the time to //calculate the window's height if (!KWindowSystem::isPlatformWayland()) { QTimer::singleShot(150, m_configView, SLOT(show())); @@ -386,7 +386,7 @@ void View::updateAbsDockGeometry(bool bypassChecks) { //! there was a -1 in height and width here. The reason of this //! if I remember correctly was related to multi-screen but I cant - //! remember exactly the reason, something related to rigth edge in + //! remember exactly the reason, something related to right edge in //! multi screen environment. BUT this was breaking the entire AlwaysVisible //! experience with struts. Removing them in order to restore correct //! behavior and keeping this comment in order to check for diff --git a/app/view/visibilitymanager.cpp b/app/view/visibilitymanager.cpp index 4f9aeb536..2804b0524 100644 --- a/app/view/visibilitymanager.cpp +++ b/app/view/visibilitymanager.cpp @@ -498,14 +498,14 @@ void VisibilityManager::dodgeActive(WindowId wid) winfo = wm->requestInfo(wm->activeWindow()); if (!winfo.isValid()) { - //! very rare case that window manager doesnt have any active window at all + //! very rare case that window manager doesn't have any active window at all raiseView(true); return; } } //! don't send false raiseView signal when containing mouse, // Johan comment - //! I dont know why that wasnt winfo.wid() //active window, but just wid//the window that made the call + //! I don't know why that wasn't winfo.wid() //active window, but just wid//the window that made the call if (wm->isOnCurrentDesktop(winfo.wid()) && wm->isOnCurrentActivity(winfo.wid())) { bool overlaps{intersects(winfo)}; raiseView(!overlaps); @@ -529,7 +529,7 @@ void VisibilityManager::dodgeMaximized(WindowId wid) winfo = wm->requestInfo(wm->activeWindow()); if (!winfo.isValid()) { - //! very rare case that window manager doesnt have any active window at all + //! very rare case that window manager doesn't have any active window at all raiseView(true); return; } @@ -548,7 +548,7 @@ void VisibilityManager::dodgeMaximized(WindowId wid) }; //! don't send false raiseView signal when containing mouse, // Johan comment - //! I dont know why that wasnt winfo.wid() //active window, but just wid//the window that made the call + //! I don't know why that wasn't winfo.wid() //active window, but just wid//the window that made the call if (wm->isOnCurrentDesktop(winfo.wid()) && wm->isOnCurrentActivity(winfo.wid())) { bool overlapsMaximized{m_latteView->formFactor() == Plasma::Types::Vertical ? intersectsMaxHoriz() : intersectsMaxVert()}; raiseView(!overlapsMaximized); diff --git a/app/wm/xwindowinterface.cpp b/app/wm/xwindowinterface.cpp index 28f03cd16..352be2235 100644 --- a/app/wm/xwindowinterface.cpp +++ b/app/wm/xwindowinterface.cpp @@ -415,7 +415,7 @@ void XWindowInterface::windowChangedProxy(WId wid, NET::Properties prop1, NET::P return; } - //! accepty only the following NET:Properties changed signals + //! accept only the following NET:Properties changed signals //! NET::WMState, NET::WMGeometry, NET::ActiveWindow if (!((prop1 & NET::WMState) || (prop1 & NET::WMGeometry) || (prop1 & NET::ActiveWindow))) { return; diff --git a/containment/package/contents/code/AppletIdentifier.js b/containment/package/contents/code/AppletIdentifier.js index 2ef1d19a3..8b3fa5b24 100644 --- a/containment/package/contents/code/AppletIdentifier.js +++ b/containment/package/contents/code/AppletIdentifier.js @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -//! applets that havent identified properly their Latte behavior and +//! applets that haven't identified properly their Latte behavior and //! create broken results when used in Latte var blacklistedApplets = []; diff --git a/containment/package/contents/ui/applet/AppletItem.qml b/containment/package/contents/ui/applet/AppletItem.qml index 841097ba9..7d3b2a708 100644 --- a/containment/package/contents/ui/applet/AppletItem.qml +++ b/containment/package/contents/ui/applet/AppletItem.qml @@ -418,7 +418,7 @@ Item { Communicator.Engine{ id: communicator - //set up the overlaied containers and properties for when a overlaiedIconItem must be presented to the user + //set up the overlayed containers and properties for when a overlaiedIconItem must be presented to the user //because the plasma widgets specific implementation breaks the Latte experience onOverlayLatteIconIsActiveChanged:{ if (!overlayLatteIconIsActive && applet.opacity===0) { diff --git a/containment/package/contents/ui/applet/AppletItemWrapper.qml b/containment/package/contents/ui/applet/AppletItemWrapper.qml index 73a1f599f..1ac3f5662 100644 --- a/containment/package/contents/ui/applet/AppletItemWrapper.qml +++ b/containment/package/contents/ui/applet/AppletItemWrapper.qml @@ -768,7 +768,7 @@ Item{ var distanceFromHovered = Math.abs(index - layoutsContainer.hoveredIndex); - // A new algorithm tryig to make the zoom calculation only once + // A new algorithm trying to make the zoom calculation only once // and at the same time fixing glitches if ((distanceFromHovered == 0)&& (currentMousePosition > 0) ){ diff --git a/containment/package/contents/ui/applet/communicator/LatteBridge.qml b/containment/package/contents/ui/applet/communicator/LatteBridge.qml index e4ffb6d95..828b47bfb 100644 --- a/containment/package/contents/ui/applet/communicator/LatteBridge.qml +++ b/containment/package/contents/ui/applet/communicator/LatteBridge.qml @@ -39,7 +39,7 @@ Item{ // NAME: palette // USAGE: read-only // EXPLANATION: Latte updates it to its coloring palette in order for the applet - // to take resposibility of its coloring. + // to take responsibility of its coloring. // USE CASE: when Latte is transparent and applets colors need to be adjusted in order // to look consistent with the underlying desktop background // @since: 0.9 @@ -75,7 +75,7 @@ Item{ // USAGE: writable through actions.setProperty // EXPLANATION: when is TRUE, Latte is not overlaying any icons above // the applet or alters the applet visual in any sense. - // That means that the applet is responsible to provide a conherent + // That means that the applet is responsible to provide a coherent // parabolic effect experience. // @since: 0.9 } diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index 8696f6912..db15cf4dd 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -141,7 +141,7 @@ DragDrop.DropArea { : (layoutsContainer.hoveredIndex !== -1) //|| wholeArea.containsMouse property bool mouseWheelActions: plasmoid.configuration.mouseWheelActions property bool normalState : false - property bool onlyAddingStarup: true //is used for the initialization phase in startup where there arent removals, this variable provides a way to grow icon size + property bool onlyAddingStarup: true //is used for the initialization phase in startup where there aren't removals, this variable provides a way to grow icon size property bool shrinkThickMargins: plasmoid.configuration.shrinkThickMargins property bool showAppletsNumbers: false property bool showMetaBadge: false @@ -246,7 +246,7 @@ DragDrop.DropArea { property int totalPanelEdgeSpacing: 0 //this is set by PanelBox //FIXME: this is not needed any more probably - property int previousAllTasks: -1 //is used to forbit updateAutomaticIconSize when hovering + property int previousAllTasks: -1 //is used to forbid updateAutomaticIconSize when hovering property int offset: { /*if (behaveAsPlasmaPanel) { return 0; @@ -877,7 +877,7 @@ DragDrop.DropArea { applet.visible = true; - // don't show applet if it choses to be hidden but still make it + // don't show applet if it chooses to be hidden but still make it // accessible in the panelcontroller container.visible = Qt.binding(function() { return applet.status !== PlasmaCore.Types.HiddenStatus || (!plasmoid.immutable && plasmoid.userConfiguring) diff --git a/liblatte2/quickwindowsystem.cpp b/liblatte2/quickwindowsystem.cpp index 748deecd0..c1d5d0aa5 100644 --- a/liblatte2/quickwindowsystem.cpp +++ b/liblatte2/quickwindowsystem.cpp @@ -93,7 +93,7 @@ uint QuickWindowSystem::makeVersion(uint major, uint minor, uint release) const uint QuickWindowSystem::identifyPlasmaDesktopVersion() { - //! Indentify Plasma Desktop version + //! Identify Plasma Desktop version QProcess process; process.start("plasmashell", QStringList() << "-v"); process.waitForFinished(); diff --git a/plasmoid/package/contents/ui/MouseHandler.qml b/plasmoid/package/contents/ui/MouseHandler.qml index c1ef872b9..79607b1fb 100644 --- a/plasmoid/package/contents/ui/MouseHandler.qml +++ b/plasmoid/package/contents/ui/MouseHandler.qml @@ -129,7 +129,7 @@ Item { // TODO: This restriction (minus the timer, which improves things) // has been proven out in the EITM fork, but could be improved later // by tracking the cursor movement vector and allowing the drag if - // the movement direction has reversed, etablishing user intent to + // the movement direction has reversed, establishing user intent to // move back. if (root.dragSource == null && ignoredItem == above) diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml index 93e5d5e22..8ce41fb5b 100644 --- a/plasmoid/package/contents/ui/main.qml +++ b/plasmoid/package/contents/ui/main.qml @@ -1005,7 +1005,7 @@ Item { onTriggered: inDraggingPhase = false; } - ///Red Liner!!! show the upper needed limit for annimations + ///Red Liner!!! show the upper needed limit for animations Rectangle{ anchors.horizontalCenter: !root.vertical ? parent.horizontalCenter : undefined anchors.verticalCenter: root.vertical ? parent.verticalCenter : undefined @@ -1278,7 +1278,7 @@ Item { Timer { id: iconGeometryTimer - // INVESTIGATE: such big interval but unfortunately it doesnot work otherwise + // INVESTIGATE: such big interval but unfortunately it does not work otherwise interval: 500 repeat: false diff --git a/plasmoid/package/contents/ui/task/TaskDelegate.qml b/plasmoid/package/contents/ui/task/TaskDelegate.qml index b8a61d0dc..e45bfaad4 100644 --- a/plasmoid/package/contents/ui/task/TaskDelegate.qml +++ b/plasmoid/package/contents/ui/task/TaskDelegate.qml @@ -615,7 +615,7 @@ MouseArea{ }*/ } - // IMPORTANT: This must be improved ! even for small miliseconds it reduces performance + // IMPORTANT: This must be improved ! even for small milliseconds it reduces performance onExited: { mainItemContainer.scalesUpdatedOnce = false; @@ -657,7 +657,7 @@ MouseArea{ if(root.showPreviews && !windowsPreviewDlg.visible && windowsPreviewDlg.activeItem !== mainItemContainer){ if (hoveredTimerObj) { //! don't delay showing preview in normal states, - //! that is when the dock wasnt hidden + //! that is when the dock wasn't hidden if (!hoveredTimerObj.running) { hoveredTimerObj.start(); } @@ -1471,14 +1471,14 @@ MouseArea{ ///Based on the animations, windows are shown directly, startups ///are shown after 5secs of existence, and launchers after 200ms ///for launchers this is set in order to give to a window the time - ///to desappear and then show the launcher... + ///to disappear and then show the launcher... // property int mainDelay: IsLauncher ? 800 : 400 // property int mainDelay: icList.delayingRemoval ? 2*showWindowAnimation.speed : 450 //BE CAREFUL: this interval (e.g. 700ms) must be lower from the removal animation - //duration e.g.(800ms) because there are situattions that because of this some + //duration e.g.(800ms) because there are situations that because of this some //launchers delay A LOT to reappear, e.g google-chrome //I will blacklist google-chrome as I have not found any other case for this bug //to appear, but even this way there are cases that still appears... diff --git a/plasmoid/package/contents/ui/task/TaskIconItem.qml b/plasmoid/package/contents/ui/task/TaskIconItem.qml index c92d03677..c2930203f 100644 --- a/plasmoid/package/contents/ui/task/TaskIconItem.qml +++ b/plasmoid/package/contents/ui/task/TaskIconItem.qml @@ -48,7 +48,7 @@ Item{ property bool firstDrawed: true property bool toBeDestroyed: false - // three intervals in order to create the necessarty buffers from the + // three intervals in order to create the necessary buffers from the // PlasmaCore.IconItem, one big interval for the first creation of the // plasmoid, a second one for the first creation of a task and a small one // for simple updates. @@ -196,7 +196,7 @@ Item{ } //! try to show the correct icon when a window is removed... libtaskmanager when a window is removed - //! sends an unknow pixmap as icon + //! sends an unknown pixmap as icon Connections { target: mainItemContainer onInRemoveStageChanged: { diff --git a/plasmoid/package/contents/ui/task/TaskWindows.qml b/plasmoid/package/contents/ui/task/TaskWindows.qml index 4141c3980..35365ebfe 100644 --- a/plasmoid/package/contents/ui/task/TaskWindows.qml +++ b/plasmoid/package/contents/ui/task/TaskWindows.qml @@ -22,7 +22,7 @@ import QtQuick 2.0 import QtQml.Models 2.2 //trying to do a very simple thing to count how many windows does -//a task instace has... +//a task instance has... //Workaround the mess with launchers, startups, windows etc. Item{ diff --git a/plasmoid/package/contents/ui/task/TaskWrapper.qml b/plasmoid/package/contents/ui/task/TaskWrapper.qml index fcb6b229e..f4115aa2e 100644 --- a/plasmoid/package/contents/ui/task/TaskWrapper.qml +++ b/plasmoid/package/contents/ui/task/TaskWrapper.qml @@ -236,7 +236,7 @@ Item{ var distanceFromHovered = Math.abs(index - icList.hoveredIndex); - // A new algorithm tryig to make the zoom calculation only once + // A new algorithm trying to make the zoom calculation only once // and at the same time fixing glitches if ((distanceFromHovered === 0) && //! IMPORTANT: IS FIXING A BUG THAT NEGATIVE VALUES ARE SENT onEntered EVENT OF MOUSEAREA diff --git a/plasmoid/package/contents/ui/task/animations/TaskRealRemovalAnimation.qml b/plasmoid/package/contents/ui/task/animations/TaskRealRemovalAnimation.qml index 0a6ff084c..550328563 100644 --- a/plasmoid/package/contents/ui/task/animations/TaskRealRemovalAnimation.qml +++ b/plasmoid/package/contents/ui/task/animations/TaskRealRemovalAnimation.qml @@ -105,7 +105,7 @@ SequentialAnimation { to: 1 //this duration must be a bit less than the bouncing animation. Otherwise the - //smooth trasition between removals is breaking + //smooth transition between removals is breaking duration: mainItemContainer.inBouncingAnimation && !mainItemContainer.isSeparator? 4*launcherSpeedStep + 50 : 0 easing.type: Easing.InQuad diff --git a/shell/package/contents/configuration/pages/BehaviorConfig.qml b/shell/package/contents/configuration/pages/BehaviorConfig.qml index dd46c3535..af140bb9c 100644 --- a/shell/package/contents/configuration/pages/BehaviorConfig.qml +++ b/shell/package/contents/configuration/pages/BehaviorConfig.qml @@ -139,13 +139,13 @@ PlasmaComponents.Page { Component.onCompleted: screenRow.updateScreens(); //they are used to restore the index when the screen edge - //is occuppied + //is occupied property bool acceptedIndex: true property int previousIndex: -1 onCurrentIndexChanged: { //it is used to restore the index when the screen edge - //is occuppied + //is occupied if (!acceptedIndex) { acceptedIndex = true; currentIndex = previousIndex; diff --git a/shell/package/contents/configuration/pages/EffectsConfig.qml b/shell/package/contents/configuration/pages/EffectsConfig.qml index 646f96d98..bf30192d7 100644 --- a/shell/package/contents/configuration/pages/EffectsConfig.qml +++ b/shell/package/contents/configuration/pages/EffectsConfig.qml @@ -232,7 +232,7 @@ PlasmaComponents.Page { checked: plasmoid.configuration.shadowColorType === Latte.Types.ThemeColorShadow checkable: true exclusiveGroup: shadowColorGroup - tooltip: i18n("Shadow from theme color pallete") + tooltip: i18n("Shadow from theme color palette") } //overlayed button