[shotwell] Fix several typos in comments
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Fix several typos in comments
- Date: Fri, 15 Mar 2019 12:05:53 +0000 (UTC)
commit 2077c722a76820e16e7ba82b94e5fba0f09d978d
Author: Jens Georg <mail jensge org>
Date: Fri Mar 15 13:05:10 2019 +0100
Fix several typos in comments
As noted by Richard Kreckel
src/LibraryMonitor.vala | 2 +-
src/Photo.vala | 2 +-
src/SearchFilter.vala | 2 +-
src/Upgrades.vala | 2 +-
src/core/DataCollection.vala | 2 +-
src/data_imports/DataImportsUI.vala | 2 +-
src/faces/FacesTool.vala | 2 +-
src/library/LibraryWindow.vala | 4 ++--
src/util/system.vala | 2 +-
src/util/ui.vala | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/LibraryMonitor.vala b/src/LibraryMonitor.vala
index f9291d78..9e6016e0 100644
--- a/src/LibraryMonitor.vala
+++ b/src/LibraryMonitor.vala
@@ -996,7 +996,7 @@ public class LibraryMonitor : DirectoryMonitor {
}
if (!known) {
- // ressurrect tombstone if deleted
+ // ressurect tombstone if deleted
Tombstone? tombstone = Tombstone.global.locate(file);
if (tombstone != null) {
debug("Resurrecting tombstoned file %s", file.get_path());
diff --git a/src/Photo.vala b/src/Photo.vala
index 51ca57e1..5fcfb5f9 100644
--- a/src/Photo.vala
+++ b/src/Photo.vala
@@ -832,7 +832,7 @@ public abstract class Photo : PhotoSource, Dateable, Positionable {
if (!developments.has_key(d))
return; // we tried!
- // Disgard changes.
+ // Discard changes.
revert_to_master(false);
// Switch master to the new photo.
diff --git a/src/SearchFilter.vala b/src/SearchFilter.vala
index 02584360..e6bf0bc2 100644
--- a/src/SearchFilter.vala
+++ b/src/SearchFilter.vala
@@ -1194,7 +1194,7 @@ public class SearchFilterToolbar : Gtk.Revealer {
bool has_flagged) {
if (has_photos || has_raw)
// As a user, I would expect, that a raw photo is still a photo.
- // Let's enable the photo button even if there ar only raw photos.
+ // Let's enable the photo button even if there are only raw photos.
toolbtn_photos.set_icon_name("filter-photos-symbolic");
else
toolbtn_photos.set_icon_name("filter-photos-disabled-symbolic");
diff --git a/src/Upgrades.vala b/src/Upgrades.vala
index 85349aeb..b06ccadb 100644
--- a/src/Upgrades.vala
+++ b/src/Upgrades.vala
@@ -62,7 +62,7 @@ private interface UpgradeTask : Object{
// Deletes the mimics folder, if it still exists.
// Note: for the step count to be consistent, files cannot be written
-// to the mimcs folder for the duration of this task.
+// to the mimics folder for the duration of this task.
private class MimicsRemovalTask : Object, UpgradeTask {
// Mimics folder (to be deleted, if present)
private File mimic_dir = AppDirs.get_data_dir().get_child("mimics");
diff --git a/src/core/DataCollection.vala b/src/core/DataCollection.vala
index 83a216d8..044f7b67 100644
--- a/src/core/DataCollection.vala
+++ b/src/core/DataCollection.vala
@@ -559,7 +559,7 @@ public class DataCollection {
if (!properties.unset(name))
return;
- // only notify if the propery was unset (that is, was set to begin with)
+ // only notify if the property was unset (that is, was set to begin with)
notify_property_cleared(name);
// notify all items
diff --git a/src/data_imports/DataImportsUI.vala b/src/data_imports/DataImportsUI.vala
index 29791a47..928bfa95 100644
--- a/src/data_imports/DataImportsUI.vala
+++ b/src/data_imports/DataImportsUI.vala
@@ -285,7 +285,7 @@ public class DataImportsDialog : Gtk.Dialog {
}
}
- // Intall the central area in all cases
+ // Install the central area in all cases
central_area_layouter = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
((Gtk.Box) get_content_area()).pack_start(central_area_layouter, true, true, 0);
diff --git a/src/faces/FacesTool.vala b/src/faces/FacesTool.vala
index a5d6ac00..1d1db106 100644
--- a/src/faces/FacesTool.vala
+++ b/src/faces/FacesTool.vala
@@ -788,7 +788,7 @@ public class FacesTool : EditingTools.EditingTool {
private void delete_face(string face_name) {
face_shapes.unset(face_name);
- // It is posible to have two visible faces at the same time, this happens
+ // It is possible to have two visible faces at the same time, this happens
// if you are editing one face and you move the pointer around the
// FaceWidgets area in FacesToolWindow. And you can delete one of that
// faces, so the other visible face must be repainted.
diff --git a/src/library/LibraryWindow.vala b/src/library/LibraryWindow.vala
index 34052fc6..ed83c1a2 100644
--- a/src/library/LibraryWindow.vala
+++ b/src/library/LibraryWindow.vala
@@ -144,7 +144,7 @@ public class LibraryWindow : AppWindow {
private Gtk.ProgressBar background_progress_bar = new Gtk.ProgressBar();
private bool background_progress_displayed = false;
- // Instantiate later in constructor becase the map support loads its icons in there and we need
+ // Instantiate later in constructor because the map support loads its icons in there and we need
// to have the global app instance available for that
private BasicProperties basic_properties;
private ExtendedProperties extended_properties = new ExtendedProperties();
@@ -292,7 +292,7 @@ public class LibraryWindow : AppWindow {
{ "CommonFind", on_find },
{ "CommonNewSearch", on_new_search },
- // Toogle actions
+ // Toggle actions
{ "CommonDisplayBasicProperties", on_action_toggle, null, "false", on_display_basic_properties },
{ "CommonDisplayExtendedProperties", on_action_toggle, null, "false", on_display_extended_properties
},
diff --git a/src/util/system.vala b/src/util/system.vala
index 1e693044..8563573e 100644
--- a/src/util/system.vala
+++ b/src/util/system.vala
@@ -6,7 +6,7 @@
// Return the directory in which Shotwell is installed, or null if uninstalled.
File? get_sys_install_dir(File exec_dir) {
- // Assume that if the ui folder lives next to the binary, we runn in-tree
+ // Assume that if the ui folder lives next to the binary, we run in-tree
File child = exec_dir.get_child("ui");
if (!FileUtils.test(child.get_path(), FileTest.IS_DIR | FileTest.EXISTS)) {
diff --git a/src/util/ui.vala b/src/util/ui.vala
index 8568c6bc..c8638ca6 100644
--- a/src/util/ui.vala
+++ b/src/util/ui.vala
@@ -60,7 +60,7 @@ public Gdk.Rectangle get_adjustment_page(Gtk.Adjustment hadj, Gtk.Adjustment vad
}
// Verifies that only the mask bits are set in the modifier field, disregarding mouse and
-// key modifers that are not normally of concern (i.e. Num Lock, Caps Lock, etc.). Mask can be
+// key modifiers that are not normally of concern (i.e. Num Lock, Caps Lock, etc.). Mask can be
// one or more bits set, but should only consist of these values:
// * Gdk.ModifierType.SHIFT_MASK
// * Gdk.ModifierType.CONTROL_MASK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]