Skip to content

Commit

Permalink
Make codespell happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwebster committed Jul 25, 2024
1 parent 44aaa48 commit f54ad03
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions libcscreensaver/cs-auth-pam.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ cs_auth_run_message_handler (struct pam_closure *c,
g_idle_add ((GSourceFunc) cs_auth_queued_message_handler, &data);

if (cs_auth_get_verbose ()) {
DEBUG ("cs-auth-pam (pid %i): Waiting for respose to message style %d: '%s'\n", getpid (), style, msg);
DEBUG ("cs-auth-pam (pid %i): Waiting for response to message style %d: '%s'\n", getpid (), style, msg);
}

/* Wait for the response
Expand All @@ -244,7 +244,7 @@ cs_auth_run_message_handler (struct pam_closure *c,
g_mutex_unlock (message_handler_mutex);

if (cs_auth_get_verbose ()) {
DEBUG ("cs-auth-pam (pid %i): Got respose to message style %d: interrupt:%d\n", getpid (), style, data.should_interrupt_stack);
DEBUG ("cs-auth-pam (pid %i): Got response to message style %d: interrupt:%d\n", getpid (), style, data.should_interrupt_stack);
}

return data.should_interrupt_stack == FALSE;
Expand Down
2 changes: 1 addition & 1 deletion libcscreensaver/cs-event-grabber.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ cs_event_grabber_grab_window (CsEventGrabber *grab,
is that both a keyboard grab and a mouse grab are mandatory
- If we don't have a keyboard grab, then we won't be able to
read a password to unlock, so the kbd grab is manditory.
read a password to unlock, so the kbd grab is mandatory.
- If we don't have a mouse grab, then we might not see mouse
clicks as a signal to unblank, on-screen widgets won't work ideally,
Expand Down
8 changes: 4 additions & 4 deletions libcscreensaver/org.mpris.MediaPlayer2.Player.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</tp:enumvalue>
<tp:enumvalue suffix="Track" value="Track">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The current track will start again from the begining once it has finished playing</p>
<p>The current track will start again from the beginning once it has finished playing</p>
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="Playlist" value="Playlist">
Expand Down Expand Up @@ -328,7 +328,7 @@
<p>May be:
<ul>
<li>"None" if the playback will stop when there are no more tracks to play</li>
<li>"Track" if the current track will start again from the begining once it has finished playing</li>
<li>"Track" if the current track will start again from the beginning once it has finished playing</li>
<li>"Playlist" if the playback loops through a list of tracks</li>
</ul>
</p>
Expand Down Expand Up @@ -440,9 +440,9 @@
setting this property has no effect and can raise an error.
</p>
<p>
If the playback progresses in a way that is inconstistant with the
If the playback progresses in a way that is inconsistent with the
<tp:member-ref>Rate</tp:member-ref> property, the
<tp:member-ref>Seeked</tp:member-ref> signal is emited.
<tp:member-ref>Seeked</tp:member-ref> signal is emitted.
</p>
</tp:docstring>
</property>
Expand Down
2 changes: 1 addition & 1 deletion src/singletons.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# clients that the screensaver initializes, that can never fail. The actual connection
# business to the various dbus address is performed asynchronously from within each client.
# The following clients can fail to establish with their respective dbus interfaces without
# competely breaking the program (or at least that's what we're after) - it just means that
# completely breaking the program (or at least that's what we're after) - it just means that
# depending on what fails, you may end up without keyboard shortcut support, or a battery
# widget, etc...
from dbusdepot.cinnamonClient import CinnamonClient as _CinnamonClient
Expand Down
4 changes: 2 additions & 2 deletions src/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Stage(Gtk.Window):
It is Gtk.WindowType.POPUP to avoid being managed/composited by muffin,
and to prevent animation during its creation and destruction.
The Stage reponds pretty much only to the instructions of the
The Stage responds pretty much only to the instructions of the
ScreensaverManager.
"""
__gsignals__ = {
Expand Down Expand Up @@ -876,7 +876,7 @@ def position_overlay_child(self, overlay, child, allocation):
unlock_mw, unlock_nw = self.unlock_dialog.get_preferred_width()
"""
If, for whatever reason, we need more than 1/3 of the screen to fully display
the unlock dialog, reduce our available region width to accomodate it, reducing
the unlock dialog, reduce our available region width to accommodate it, reducing
the allocation for the floating widgets as required.
"""
if unlock_nw > region_w:
Expand Down
2 changes: 1 addition & 1 deletion src/util/eventHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def on_user_activity(self):
def on_motion_event(self, event):
"""
Any mouse movement is sent here - there is a threshold to reach when
asleep, so that inadvertant motion doesn't wake the system unintentionally.
asleep, so that inadvertent motion doesn't wake the system unintentionally.
"""
if status.Awake:
self.on_user_activity()
Expand Down

0 comments on commit f54ad03

Please sign in to comment.