summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2019-03-21 02:37:06 +0000
committerluz.paz <luzpaz@users.noreply.github.com>2019-03-21 02:37:06 +0000
commitd8480e53803e8971673f879ec6895971e991a09f (patch)
treed30213bd55148b1bb4a2c13a028a10a9b68662ef /src/ui
parentFix #116: Wrong element names shown in XML editor for circles and ellipses (diff)
downloadinkscape-d8480e53803e8971673f879ec6895971e991a09f.tar.gz
inkscape-d8480e53803e8971673f879ec6895971e991a09f.zip
Misc. typos and whitespace fixes
Found via `codespell -q 3 -I ../inkscape-whitelist.txt -S *.svg,*.po,./src/3rdparty`
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/cssdialog.cpp2
-rw-r--r--src/ui/widget/font-variations.cpp6
-rw-r--r--src/ui/widget/spin-button-tool-item.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/dialog/cssdialog.cpp b/src/ui/dialog/cssdialog.cpp
index 7c8312301..ea1b0d044 100644
--- a/src/ui/dialog/cssdialog.cpp
+++ b/src/ui/dialog/cssdialog.cpp
@@ -129,7 +129,7 @@ CssDialog::CssDialog()
_sheetCol->set_sort_column(_cssColumns._styleSheetVal);
}
- // Set the inital sort column (and direction) to place real attributes at the top.
+ // Set the initial sort column (and direction) to place real attributes at the top.
_store->set_sort_column(_cssColumns.deleteButton, Gtk::SORT_DESCENDING);
_getContents()->pack_start(*_scrolledWindow, Gtk::PACK_EXPAND_WIDGET);
diff --git a/src/ui/widget/font-variations.cpp b/src/ui/widget/font-variations.cpp
index 20012b381..f585710c4 100644
--- a/src/ui/widget/font-variations.cpp
+++ b/src/ui/widget/font-variations.cpp
@@ -76,7 +76,7 @@ FontVariations::update (Glib::ustring& font_spec) {
remove ( *child );
}
axes.clear();
-
+
for (auto a: res->openTypeVarAxes) {
// std::cout << "Creating axis: " << a.first << std::endl;
FontVariationAxis* axis = Gtk::manage( new FontVariationAxis( a.first, a.second ));
@@ -110,7 +110,7 @@ FontVariations::get_css_string() {
// Translate the "named" axes. (Additional names in 'stat' table, may need to handle them.)
if (name == "Width") name = "wdth"; // 'font-stretch'
if (name == "Weight") name = "wght"; // 'font-weight'
- if (name == "Optical size") name = "opsz"; // 'font-optical-sizing' Can trigger glyph substition.
+ if (name == "Optical size") name = "opsz"; // 'font-optical-sizing' Can trigger glyph substitution.
if (name == "Slant") name = "slnt"; // 'font-style'
if (name == "Italic") name = "ital"; // 'font-style' Toggles from Roman to Italic.
@@ -138,7 +138,7 @@ FontVariations::get_pango_string() {
// Translate the "named" axes. (Additional names in 'stat' table, may need to handle them.)
if (name == "Width") name = "wdth"; // 'font-stretch'
if (name == "Weight") name = "wght"; // 'font-weight'
- if (name == "Optical size") name = "opsz"; // 'font-optical-sizing' Can trigger glyph substition.
+ if (name == "Optical size") name = "opsz"; // 'font-optical-sizing' Can trigger glyph substitution.
if (name == "Slant") name = "slnt"; // 'font-style'
if (name == "Italic") name = "ital"; // 'font-style' Toggles from Roman to Italic.
diff --git a/src/ui/widget/spin-button-tool-item.cpp b/src/ui/widget/spin-button-tool-item.cpp
index b5eefdbb1..f8c285344 100644
--- a/src/ui/widget/spin-button-tool-item.cpp
+++ b/src/ui/widget/spin-button-tool-item.cpp
@@ -174,7 +174,7 @@ SpinButtonToolItem::process_tab(int increment)
// If the increment is zero, do nothing
if(increment == 0) return true;
- // Here, we're working through the widget heirarchy:
+ // Here, we're working through the widget hierarchy:
// Toolbar
// |- ToolItem (*this)
// |-> Box