*: Fix spelling mistakes found by codespell

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1416
This commit is contained in:
Björn Daase
2020-08-19 11:26:11 +02:00
committed by Florian Müllner
parent 6ad9c99040
commit 2fc6384bca
60 changed files with 212 additions and 212 deletions

View File

@ -716,7 +716,7 @@ class AppSwitcher extends SwitcherPopup.SwitcherList {
let iconSpacing = labelNaturalHeight + iconPadding + iconBorder;
let totalSpacing = this._list.spacing * (this._items.length - 1);
// We just assume the whole screen here due to weirdness happing with the passed width
// We just assume the whole screen here due to weirdness happening with the passed width
let primary = Main.layoutManager.primaryMonitor;
let parentPadding = this.get_parent().get_theme_node().get_horizontal_padding();
let availWidth = primary.width - parentPadding - this.get_theme_node().get_horizontal_padding();

View File

@ -171,7 +171,7 @@ class TelepathyClient extends Tp.BaseClient {
this.add_approver_filter(filter);
this.add_handler_filter(filter);
// Allow other clients (such as Empathy) to pre-empt our channels if
// Allow other clients (such as Empathy) to preempt our channels if
// needed
this.set_delegated_channels_callback(
this._delegatedChannelsCb.bind(this));

View File

@ -220,7 +220,7 @@ var MessageDialogContent = GObject.registerClass({
this._updateTitleStyleLater = Meta.later_add(Meta.LaterType.BEFORE_REDRAW, () => {
this._updateTitleStyleLater = 0;
this._title.add_style_class_name('leightweight');
this._title.add_style_class_name('lightweight');
return GLib.SOURCE_REMOVE;
});
}
@ -233,7 +233,7 @@ var MessageDialogContent = GObject.registerClass({
_setLabel(this._title, title);
this._title.remove_style_class_name('leightweight');
this._title.remove_style_class_name('lightweight');
this._updateTitleStyle();
this.notify('title');

View File

@ -233,7 +233,7 @@ class SlidingControl extends St.Widget {
// When pageEmpty is received, there's no visible view in the
// selector; this means we can now safely set the full slide for
// the next page, since slideIn or slideOut might have been called,
// changing the visiblity
// changing the visibility
this.remove_transition('@layout.slide-x');
this.layout.slide_x = this._getSlide();
this._updateTranslation();

View File

@ -208,7 +208,7 @@ var PopupBaseMenuItem = GObject.registerClass({
// Remove the CSS active state if the user press the button and
// while holding moves to another menu item, so we don't paint all items.
// The correct behaviour would be to set the new item with the CSS
// active state as well, but button-press-event is not trigered,
// active state as well, but button-press-event is not triggered,
// so we should track it in our own, which would involve some work
// in the container
this.remove_style_pseudo_class('active');