mirror of
https://github.com/elementary/gala.git
synced 2024-11-26 00:04:27 +03:00
Fix various typos (#1310)
* Fix various typos Found via `codespell -q 3 -S *.po` * Fix deamon->daemon Co-authored-by: Jeremy Wootten <jeremy@elementaryos.org>
This commit is contained in:
parent
276fc7b533
commit
faac78782c
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
6
HACKING
6
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.
|
||||
|
@ -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.
|
||||
</description>
|
||||
</key>
|
||||
<key type="b" name="edge-tiling">
|
||||
|
@ -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; }
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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 ();
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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 {
|
||||
|
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user