[gnome-shell] cleanup: Fix spelling errors



commit b197a1affb9812578fac0bca3578f8ff115f103d
Author: Veerasamy Sevagen <sevagenv gmail com>
Date:   Wed May 15 19:32:29 2019 +0000

    cleanup: Fix spelling errors
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/515

 js/gdm/loginDialog.js               | 2 +-
 js/ui/appDisplay.js                 | 6 +++---
 js/ui/components/telepathyClient.js | 2 +-
 js/ui/dash.js                       | 2 +-
 js/ui/iconGrid.js                   | 2 +-
 js/ui/magnifier.js                  | 2 +-
 js/ui/main.js                       | 2 +-
 js/ui/modalDialog.js                | 4 ++--
 js/ui/status/network.js             | 4 ++--
 js/ui/tweener.js                    | 2 +-
 js/ui/windowManager.js              | 2 +-
 js/ui/workspace.js                  | 8 ++++----
 js/ui/workspacesView.js             | 2 +-
 src/shell-keyring-prompt.c          | 2 +-
 14 files changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index b6f499014..3592b14df 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -652,7 +652,7 @@ var LoginDialog = GObject.registerClass({
                      bannerAllocation.x2 = Math.floor(centerX - centerGap / 2);
                      bannerAllocation.x1 = Math.floor(bannerAllocation.x2 - wideBannerWidth);
 
-                     // figure out how tall it would like to be and try to accomodate
+                     // figure out how tall it would like to be and try to accommodate
                      // but don't let it get too close to the logo
                      let [wideMinHeight, wideBannerHeight] = 
this._bannerView.get_preferred_height(wideBannerWidth);
 
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 8981bbc96..d069a1e82 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -414,7 +414,7 @@ var AllView = class AllView extends BaseAppView {
         this._refilterApps();
     }
 
-    // Overriden from BaseAppView
+    // Overridden from BaseAppView
     animate(animationDirection, onComplete) {
         this._scrollView.reactive = false;
         let completionFunc = () => {
@@ -1017,7 +1017,7 @@ var FolderView = class FolderView extends BaseAppView {
         Util.ensureActorVisibleInScrollView(this.actor, actor);
     }
 
-    // Overriden from BaseAppView
+    // Overridden from BaseAppView
     animate(animationDirection) {
         this._grid.animatePulse(animationDirection);
     }
@@ -1081,7 +1081,7 @@ var FolderView = class FolderView extends BaseAppView {
 
         let contentBox = this.actor.get_theme_node().get_content_box(pageBox);
         // We only can show icons inside the collection view boxPointer
-        // so we have to substract the required padding etc of the boxpointer
+        // so we have to subtract the required padding etc of the boxpointer
         return [(contentBox.x2 - contentBox.x1) - 2 * this._offsetForEachSide, (contentBox.y2 - 
contentBox.y1) - 2 * this._offsetForEachSide];
     }
 
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index 1df865f30..1017ca562 100644
--- a/js/ui/components/telepathyClient.js
+++ b/js/ui/components/telepathyClient.js
@@ -401,7 +401,7 @@ var ChatSource = class extends MessageTray.Source {
         if (this._client.is_handling_channel(this._channel)) {
             // We are handling the channel, try to pass it to Empathy or Polari
             // (depending on the channel type)
-            // We don't check if either app is availble - mission control will
+            // We don't check if either app is available - mission control will
             // fallback to something else if activation fails
 
             let target;
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 6b5aeffb1..0032c912e 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -899,7 +899,7 @@ var Dash = class Dash {
                 favPos++;
         }
 
-        // No drag placeholder means we don't wan't to favorite the app
+        // No drag placeholder means we don't want to favorite the app
         // and we are dragging it to its original position
         if (!this._dragPlaceholder)
             return true;
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index fea6970dd..77e871028 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -840,7 +840,7 @@ var PaginatedIconGrid = GObject.registerClass({
         }
     }
 
-    // Overriden from IconGrid
+    // Overridden from IconGrid
     _getChildrenToAnimate() {
         let children = this._getVisibleChildren();
         let firstIndex = this._childrenPerPage * this.currentPage;
diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js
index 021dbd812..289cd1898 100644
--- a/js/ui/magnifier.js
+++ b/js/ui/magnifier.js
@@ -1272,7 +1272,7 @@ var ZoomRegion = class ZoomRegion {
 
     /**
      * getContrast:
-     * Retreive the contrast of the magnified view.
+     * Retrieve the contrast of the magnified view.
      * @return  Object containing the contrast for the red, green,
      *          and blue channels.
      */
diff --git a/js/ui/main.js b/js/ui/main.js
index 061303cf3..a6444a79a 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -636,7 +636,7 @@ function _queueBeforeRedraw(workId) {
  * initialization as well, under the assumption that new actors
  * will need it.
  *
- * Returns: A string work identifer
+ * Returns: A string work identifier
  */
 function initializeDeferredWork(actor, callback, props) {
     // Turn into a string so we can use as an object property
diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js
index 258e3b0a1..0a7cd30be 100644
--- a/js/ui/modalDialog.js
+++ b/js/ui/modalDialog.js
@@ -224,10 +224,10 @@ var ModalDialog = class {
     // can be dismissed by a close call.
     //
     // The main point of this method is to give some indication to the user
-    // that the dialog reponse has been acknowledged but will take a few
+    // that the dialog response has been acknowledged but will take a few
     // moments before being processed.
     // e.g., if a user clicked "Log Out" then the dialog should go away
-    // imediately, but the lightbox should remain until the logout is
+    // immediately, but the lightbox should remain until the logout is
     // complete.
     _fadeOutDialog(timestamp) {
         if (this.state == State.CLOSED || this.state == State.CLOSING)
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 8c5fb976b..24e612b4f 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -235,14 +235,14 @@ var NMConnectionSection = class NMConnectionSection {
         if (!this._connectionValid(connection))
             return;
 
-        // This function is called everytime connection is added or updated
+        // This function is called every time the connection is added or updated.
         // In the usual case, we already added this connection and UUID
         // didn't change. So we need to check if we already have an item,
         // and update it for properties in the connection that changed
         // (the only one we care about is the name)
         // But it's also possible we didn't know about this connection
         // (eg, during coldplug, or because it was updated and suddenly
-        // it's valid for this device), in which case we add a new item
+        // it's valid for this device), in which case we add a new item.
 
         let item = this._connectionItems.get(connection.get_uuid());
         if (item)
diff --git a/js/ui/tweener.js b/js/ui/tweener.js
index bb9ea557c..946506a3a 100644
--- a/js/ui/tweener.js
+++ b/js/ui/tweener.js
@@ -152,7 +152,7 @@ function registerSpecialPropertySplitter(name, splitFunction, parameters) {
 // Tweener to a Clutter.TimeLine. Now, Clutter.Timeline itself isn't a
 // whole lot more sophisticated than a simple timeout at a fixed frame
 // rate, but at least it knows how to drop frames. (See
-// HippoAnimationManager for a more sophisticated view of continous
+// HippoAnimationManager for a more sophisticated view of continuous
 // time updates; even better is to pay attention to the vertical
 // vblank and sync to that when possible.)
 //
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index e80cfd483..599790677 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -59,7 +59,7 @@ var DisplayChangeDialog = class extends ModalDialog.ModalDialog {
                                { x_fill: true,
                                  y_fill: true });
 
-        /* Translators: this and the following message should be limited in lenght,
+        /* Translators: this and the following message should be limited in length,
            to avoid ellipsizing the labels.
         */
         this._cancelButton = this.addButton({ label: _("Revert Settings"),
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index cf52684c0..175fedce9 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -813,7 +813,7 @@ var LayoutStrategy = class {
     }
 
     // Computes and returns an individual scaling factor for @window,
-    // to be applied in addition to the overal layout scale.
+    // to be applied in addition to the overall layout scale.
     _computeWindowScale(window) {
         // Since we align windows next to each other, the height of the
         // thumbnails is much more important to preserve than the width of
@@ -1266,7 +1266,7 @@ var Workspace = class {
         }
 
         // We will reposition windows anyway when enter again overview or when ending the windows
-        // animations whith fade animation.
+        // animations with fade animation.
         // In this way we avoid unwanted animations of windows repositioning while
         // animating overview.
         if (this.leavingOverview || this._animatingWindowsFade)
@@ -1886,10 +1886,10 @@ var Workspace = class {
             // Win win -- better scale and better space
             return true;
         } else if (newLayout.scale > oldLayout.scale && newLayout.space <= oldLayout.space) {
-            // Keep new layout only if scale gain outweights aspect space loss
+            // Keep new layout only if scale gain outweighs aspect space loss
             return scalePower > spacePower;
         } else if (newLayout.scale <= oldLayout.scale && newLayout.space > oldLayout.space) {
-            // Keep new layout only if aspect space gain outweights scale loss
+            // Keep new layout only if aspect space gain outweighs scale loss
             return spacePower > scalePower;
         } else {
             // Lose -- worse scale and space
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index fe06d9dae..bd2734a27 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -84,7 +84,7 @@ var WorkspacesView = class extends WorkspacesViewBase {
         this._animating = false; // tweening
         this._scrolling = false; // swipe-scrolling
         this._gestureActive = false; // touch(pad) gestures
-        this._animatingScroll = false; // programatically updating the adjustment
+        this._animatingScroll = false; // programmatically updating the adjustment
 
         let activeWorkspaceIndex = workspaceManager.get_active_workspace_index();
         this.scrollAdjustment = new St.Adjustment({ value: activeWorkspaceIndex,
diff --git a/src/shell-keyring-prompt.c b/src/shell-keyring-prompt.c
index 7ab061c67..1a8cb3ba0 100644
--- a/src/shell-keyring-prompt.c
+++ b/src/shell-keyring-prompt.c
@@ -117,7 +117,7 @@ remove_mnemonics (const GValue *value)
   label = g_value_get_string (value);
   g_return_val_if_fail (label != NULL, NULL);
 
-  /* Stripped label will have the original label lenght at most */
+  /* Stripped label will have the original label length at most */
   stripped_label = temp = g_new (gchar, strlen(label) + 1);
   g_assert (stripped_label != NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]