From faac78782c32f056e01c664c8b83ee41b4d97e00 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sat, 20 Nov 2021 11:56:53 -0500 Subject: [PATCH] Fix various typos (#1310) * Fix various typos Found via `codespell -q 3 -S *.po` * Fix deamon->daemon Co-authored-by: Jeremy Wootten --- .github/workflows/main.yml | 2 +- HACKING | 6 +++--- data/gala.gschema.xml | 2 +- lib/WindowManager.vala | 2 +- plugins/template/Main.vala | 2 +- plugins/template/README | 2 +- src/Background/BackgroundSource.vala | 2 +- src/DBus.vala | 2 +- src/NotificationStack.vala | 2 +- src/WindowManager.vala | 2 +- src/WorkspaceManager.vala | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6eb985b8..b5deff3f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v2 - name: Lint run: | - io.elementary.vala-lint -d deamon + io.elementary.vala-lint -d daemon io.elementary.vala-lint -d lib io.elementary.vala-lint -d plugins io.elementary.vala-lint -d src diff --git a/HACKING b/HACKING index b298e244..e6479ddb 100644 --- a/HACKING +++ b/HACKING @@ -85,7 +85,7 @@ Mutter works with plugins, although they are not implemented in the way you would maybe expect. In fact, you should better only load a single plugin at a time. This plugin will then be queried by mutter for animating windows or workspaces and defining a few other things. The plugin also has the oppurtinity -to add arbitrary ClutterActors to the stage or registring handlers for shortcuts. +to add arbitrary ClutterActors to the stage or registering handlers for shortcuts. ===== Adding a new shell component ==== @@ -212,7 +212,7 @@ To see the last 5 revisions in the current branch: git log -5 -In the case you added something wrong or want to ammend it: +In the case you added something wrong or want to amend it: git reset HEAD file @@ -231,7 +231,7 @@ command and 'git help' lists all available commands. ====== Push proposed changes ====== -After you have commited your patch(es), just push it to your fork +After you have committed your patch(es), just push it to your fork on Github and you can propose it for merging into master by creating a pull request. This will automatically request a review from other developers who can then comment on it and provide feedback. diff --git a/data/gala.gschema.xml b/data/gala.gschema.xml index 53bab004..97ba140f 100644 --- a/data/gala.gschema.xml +++ b/data/gala.gschema.xml @@ -57,7 +57,7 @@ 'custom-command'. If you instead use the pattern 'hotcorner-topleft:command;;hotcorner-bottomright:command' the specific commands will be used per hotcorner. Possible identifiers are 'hotcorner-[topleft; topright; bottomleft; bottomright]' - followed by a ':' and then the command. ';;' is used as delimiter between command defintions. + followed by a ':' and then the command. ';;' is used as delimiter between command definitions. diff --git a/lib/WindowManager.vala b/lib/WindowManager.vala index 1b9e851a..1e7ad5cf 100644 --- a/lib/WindowManager.vala +++ b/lib/WindowManager.vala @@ -92,7 +92,7 @@ namespace Gala { public abstract Clutter.Stage stage { get; protected set; } /** - * A group containting all 'usual' windows + * A group containing all 'usual' windows * @see top_window_group */ public abstract Clutter.Actor window_group { get; protected set; } diff --git a/plugins/template/Main.vala b/plugins/template/Main.vala index 68a53c27..3da560dd 100644 --- a/plugins/template/Main.vala +++ b/plugins/template/Main.vala @@ -65,7 +65,7 @@ namespace Gala.Plugins.Template { track_actor (red_box); // now we'll add our box into the ui_group. This is where all the shell - // elements and also the windows and backgrouds are located. + // elements and also the windows and backgrounds are located. wm.ui_group.add_child (red_box); } diff --git a/plugins/template/README b/plugins/template/README index 01cd116a..4ba522f0 100644 --- a/plugins/template/README +++ b/plugins/template/README @@ -57,7 +57,7 @@ void destroy () Overriding default keybindings ------------------------------ -Libmutter allows you to override exisiting shortcuts, which is a lot easier than +Libmutter allows you to override existing shortcuts, which is a lot easier than adding new ones. All you have to do is: Keybinding.set_custom_handler ("shortcut-name", my_handler); diff --git a/src/Background/BackgroundSource.vala b/src/Background/BackgroundSource.vala index 662e62ac..15fbcd21 100644 --- a/src/Background/BackgroundSource.vala +++ b/src/Background/BackgroundSource.vala @@ -48,7 +48,7 @@ namespace Gala { Meta.MonitorManager.@get ().monitors_changed.connect (monitors_changed); // unfortunately the settings sometimes tend to fire random changes even though - // nothing actually happend. The code below is used to prevent us from spamming + // nothing actually happened. The code below is used to prevent us from spamming // new actors all the time, which lead to some problems in other areas of the code for (int i = 0; i < OPTIONS.length; i++) { hash_cache[i] = settings.get_value (OPTIONS[i]).hash (); diff --git a/src/DBus.vala b/src/DBus.vala index 1caa01b6..9c9449bc 100644 --- a/src/DBus.vala +++ b/src/DBus.vala @@ -113,7 +113,7 @@ namespace Gala { } /** - * Emitted when the background change occured and the transition ended. + * Emitted when the background change occurred and the transition ended. * You can safely call get_optimal_panel_alpha then. It is not guaranteed * that this signal will be emitted only once per group of changes as often * done by GUIs. The change may not be visible to the user. diff --git a/src/NotificationStack.vala b/src/NotificationStack.vala index 92b4218f..cfb19c67 100644 --- a/src/NotificationStack.vala +++ b/src/NotificationStack.vala @@ -78,7 +78,7 @@ public class Gala.NotificationStack : Object { } /** - * We will make space for the incomming notification + * We will make space for the incoming notification * by shifting all current notifications by height * and then add it to the notifications list. */ diff --git a/src/WindowManager.vala b/src/WindowManager.vala index da839b3d..86f6c68d 100644 --- a/src/WindowManager.vala +++ b/src/WindowManager.vala @@ -468,7 +468,7 @@ namespace Gala { if (neighbor != active_workspace) { neighbor.activate (display.get_current_time ()); } else { - // if we didnt switch, show a nudge-over animation if one is not already in progress + // if we didn't switch, show a nudge-over animation if one is not already in progress if (workspace_view.is_opened () && workspace_view is MultitaskingView) { ((MultitaskingView) workspace_view).play_nudge_animation (direction); } else { diff --git a/src/WorkspaceManager.vala b/src/WorkspaceManager.vala index 21572515..6455e442 100644 --- a/src/WorkspaceManager.vala +++ b/src/WorkspaceManager.vala @@ -245,7 +245,7 @@ namespace Gala { /** * If workspaces are dynamic, checks if there are empty workspaces that should - * be removed. Particularily useful in conjunction with freeze/thaw_remove to + * be removed. Particularly useful in conjunction with freeze/thaw_remove to * cleanup after an operation that required stable workspace/window indices */ public void cleanup () {