summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorUnknown <kunda@scribus.net>2017-11-07 18:55:26 +0000
committerUnknown <kunda@scribus.net>2017-11-07 18:55:26 +0000
commit2659ce5a325688a3db9900d6d662e92048f0539e (patch)
treef55a967bd07fcef78b1834ea9c21f6bd93b00cb0 /src/ui
parentSet primitive filter area in feComposite and feMerge. Needed for tiling. (diff)
downloadinkscape-2659ce5a325688a3db9900d6d662e92048f0539e.tar.gz
inkscape-2659ce5a325688a3db9900d6d662e92048f0539e.zip
Misc. typos
Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/clipboard.cpp2
-rw-r--r--src/ui/dialog/align-and-distribute.cpp2
-rw-r--r--src/ui/dialog/align-and-distribute.h2
-rw-r--r--src/ui/dialog/dock-behavior.h2
-rw-r--r--src/ui/dialog/document-properties.cpp2
-rw-r--r--src/ui/dialog/extension-editor.cpp2
-rw-r--r--src/ui/dialog/filedialog.h2
-rw-r--r--src/ui/dialog/filedialogimpl-gtkmm.cpp6
-rw-r--r--src/ui/dialog/filedialogimpl-gtkmm.h2
-rw-r--r--src/ui/dialog/filedialogimpl-win32.cpp4
-rw-r--r--src/ui/dialog/font-substitution.cpp2
-rw-r--r--src/ui/dialog/grid-arrange-tab.cpp2
-rw-r--r--src/ui/dialog/input.cpp2
-rw-r--r--src/ui/dialog/ocaldialogs.cpp4
-rw-r--r--src/ui/dialog/polar-arrange-tab.cpp2
-rw-r--r--src/ui/dialog/print-colors-preview-dialog.cpp2
-rw-r--r--src/ui/dialog/styledialog.cpp4
-rw-r--r--src/ui/dialog/xml-tree.cpp4
-rw-r--r--src/ui/tool/node.cpp12
-rw-r--r--src/ui/tool/path-manipulator.cpp2
-rw-r--r--src/ui/tools/gradient-tool.cpp2
-rw-r--r--src/ui/tools/measure-tool.cpp2
-rw-r--r--src/ui/widget/color-notebook.cpp2
-rw-r--r--src/ui/widget/font-variants.cpp2
-rw-r--r--src/ui/widget/object-composite-settings.cpp2
-rw-r--r--src/ui/widget/panel.h2
26 files changed, 37 insertions, 37 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index 33ad4401c..dbeee644c 100644
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
@@ -656,7 +656,7 @@ Glib::ustring ClipboardManagerImpl::getShapeOrTextObjectId(SPDesktop *desktop)
/**
* Get all objects id from the clipboard.
* @return A vector containing all IDs or empty if no shape or text item was found.
- * type. Set to "*" to retrive all elements of the types vector inside, feel free to populate more
+ * type. Set to "*" to retrieve all elements of the types vector inside, feel free to populate more
*/
std::vector<Glib::ustring> ClipboardManagerImpl::getElementsOfType(SPDesktop *desktop, gchar const* type)
{
diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp
index 27bfa681f..52f31e046 100644
--- a/src/ui/dialog/align-and-distribute.cpp
+++ b/src/ui/dialog/align-and-distribute.cpp
@@ -275,7 +275,7 @@ public :
private :
virtual void on_button_click() {
- //Retreive selected objects
+ //Retrieve selected objects
SPDesktop *desktop = _dialog.getDesktop();
if (!desktop) return;
diff --git a/src/ui/dialog/align-and-distribute.h b/src/ui/dialog/align-and-distribute.h
index acb3d02ed..ce45fcccd 100644
--- a/src/ui/dialog/align-and-distribute.h
+++ b/src/ui/dialog/align-and-distribute.h
@@ -185,7 +185,7 @@ private :
virtual void on_button_click() {
- //Retreive selected objects
+ //Retrieve selected objects
SPDesktop *desktop = _dialog.getDesktop();
if (!desktop) return;
diff --git a/src/ui/dialog/dock-behavior.h b/src/ui/dialog/dock-behavior.h
index de7386ad9..15429f1c9 100644
--- a/src/ui/dialog/dock-behavior.h
+++ b/src/ui/dialog/dock-behavior.h
@@ -70,7 +70,7 @@ private:
/** Internal helpers */
Gtk::Paned *_getPaned(); //< gives the parent pane, if the dock item has one
- void _requestHeight(int height); //< tries to resize the dock item to the requested hieght
+ void _requestHeight(int height); //< tries to resize the dock item to the requested height
/** Internal signal handlers */
void _onHide();
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp
index 2765e63f4..baf70ea82 100644
--- a/src/ui/dialog/document-properties.cpp
+++ b/src/ui/dialog/document-properties.cpp
@@ -1217,7 +1217,7 @@ void DocumentProperties::changeEmbeddedScript(){
//XML Tree being used directly here while it shouldn't be.
SPObject* child = obj->firstChild();
- //TODO: shouldnt we get all children instead of simply the first child?
+ //TODO: shouldn't we get all children instead of simply the first child?
if (child && child->getRepr()){
const gchar* content = child->getRepr()->content();
diff --git a/src/ui/dialog/extension-editor.cpp b/src/ui/dialog/extension-editor.cpp
index 248f4f67f..a710a2fb4 100644
--- a/src/ui/dialog/extension-editor.cpp
+++ b/src/ui/dialog/extension-editor.cpp
@@ -116,7 +116,7 @@ ExtensionEditor::setExtensionIter(const Gtk::TreeModel::iterator &iter)
}
/**
- * Called every time a new extention is selected
+ * Called every time a new extension is selected
*
* This function is set up to handle the signal for a changed extension
* from the tree view in the left pane. It figure out which extension
diff --git a/src/ui/dialog/filedialog.h b/src/ui/dialog/filedialog.h
index 175031bcf..8ee63e654 100644
--- a/src/ui/dialog/filedialog.h
+++ b/src/ui/dialog/filedialog.h
@@ -352,7 +352,7 @@ public:
virtual Glib::ustring getDestinationUnits() = 0;
/**
- * Return the destination DPI image resulution, if bitmap
+ * Return the destination DPI image resolution, if bitmap
*/
virtual double getDestinationDPI() = 0;
diff --git a/src/ui/dialog/filedialogimpl-gtkmm.cpp b/src/ui/dialog/filedialogimpl-gtkmm.cpp
index 64f6c98c6..86ad8649d 100644
--- a/src/ui/dialog/filedialogimpl-gtkmm.cpp
+++ b/src/ui/dialog/filedialogimpl-gtkmm.cpp
@@ -694,7 +694,7 @@ FileOpenDialogImplGtk::FileOpenDialogImplGtk(Gtk::Window &parentWindow, const Gl
set_local_only(false);
- /* Initalize to Autodetect */
+ /* Initialize to Autodetect */
extension = NULL;
/* No filename to start out with */
myFilename = "";
@@ -956,7 +956,7 @@ FileSaveDialogImplGtk::FileSaveDialogImplGtk(Gtk::Window &parentWindow, const Gl
set_local_only(false);
- /* Initalize to Autodetect */
+ /* Initialize to Autodetect */
extension = NULL;
/* No filename to start out with */
myFilename = "";
@@ -1438,7 +1438,7 @@ FileExportDialogImpl::FileExportDialogImpl(Gtk::Window &parentWindow, const Glib
set_local_only(false);
- /* Initalize to Autodetect */
+ /* Initialize to Autodetect */
extension = NULL;
/* No filename to start out with */
myFilename = "";
diff --git a/src/ui/dialog/filedialogimpl-gtkmm.h b/src/ui/dialog/filedialogimpl-gtkmm.h
index 7501b5e14..82ca75065 100644
--- a/src/ui/dialog/filedialogimpl-gtkmm.h
+++ b/src/ui/dialog/filedialogimpl-gtkmm.h
@@ -446,7 +446,7 @@ public:
{ return destUnitsSpinner.getUnitAbbr(); }
/**
- * Return the destination DPI image resulution, if bitmap
+ * Return the destination DPI image resolution, if bitmap
*/
double getDestinationDPI()
{ return destDPISpinner.getValue(); }
diff --git a/src/ui/dialog/filedialogimpl-win32.cpp b/src/ui/dialog/filedialogimpl-win32.cpp
index 7f0bf58c5..7aca8e242 100644
--- a/src/ui/dialog/filedialogimpl-win32.cpp
+++ b/src/ui/dialog/filedialogimpl-win32.cpp
@@ -146,7 +146,7 @@ FileOpenDialogImplWin32::FileOpenDialogImplWin32(Gtk::Window &parent,
const gchar *title) :
FileDialogBaseWin32(parent, dir, title, fileTypes, "dialogs.open")
{
- // Initalize to Autodetect
+ // Initialize to Autodetect
_extension = NULL;
// Set our dialog type (open, import, etc...)
@@ -1329,7 +1329,7 @@ void FileOpenDialogImplWin32::render_preview()
GetBValue(background) / 255.0);
context->paint();
- //----- Draw the drop shaddow -----//
+ //----- Draw the drop shadow -----//
// Left Edge
x = frameX + shaddowOffsetX - halfBlurRadius;
diff --git a/src/ui/dialog/font-substitution.cpp b/src/ui/dialog/font-substitution.cpp
index abae8ea70..ad035aa8d 100644
--- a/src/ui/dialog/font-substitution.cpp
+++ b/src/ui/dialog/font-substitution.cpp
@@ -130,7 +130,7 @@ FontSubstitution::show(Glib::ustring out, std::vector<SPItem*> &l)
*
* Return a list of SPItems where fonts have been substituted.
*
- * Walk thru all the objects ...
+ * Walk through all the objects ...
* a. Build up a list of the objects with fonts defined in the style attribute
* b. Build up a list of the objects rendered fonts - taken for the objects layout/spans
* If there are fonts in a. that are not in b. then those fonts have been substituted.
diff --git a/src/ui/dialog/grid-arrange-tab.cpp b/src/ui/dialog/grid-arrange-tab.cpp
index c16e60c5f..96e6acb3c 100644
--- a/src/ui/dialog/grid-arrange-tab.cpp
+++ b/src/ui/dialog/grid-arrange-tab.cpp
@@ -215,7 +215,7 @@
}
- /// Make sure the top and left of the grid dont move by compensating for align values.
+ /// Make sure the top and left of the grid don't move by compensating for align values.
if (RowHeightButton.get_active()){
grid_top = grid_top - (((row_height - row_heights[0]) / 2)*(VertAlign));
}
diff --git a/src/ui/dialog/input.cpp b/src/ui/dialog/input.cpp
index 5b316936d..5a27056f3 100644
--- a/src/ui/dialog/input.cpp
+++ b/src/ui/dialog/input.cpp
@@ -559,7 +559,7 @@ Glib::RefPtr<Gdk::Pixbuf> InputDialogImpl::getPix(PixId id)
}
-// Now that we've defined the *Impl class, we can do the method to aquire one.
+// Now that we've defined the *Impl class, we can do the method to acquire one.
InputDialog &InputDialog::getInstance()
{
InputDialog *dialog = new InputDialogImpl();
diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp
index 72a2814ed..13ce4e4cd 100644
--- a/src/ui/dialog/ocaldialogs.cpp
+++ b/src/ui/dialog/ocaldialogs.cpp
@@ -84,7 +84,7 @@ ExportDialog::ExportDialog(Gtk::Window &parentWindow,
* and a Entry to take the filename
* Later put the extension selection and checkbox (?)
*/
- /* Initalize to Autodetect */
+ /* Initialize to Autodetect */
/*
extension = NULL;
*/
@@ -1063,7 +1063,7 @@ ImportDialog::ImportDialog(Gtk::Window& parent_window, FileDialogType file_types
const Glib::ustring &title) :
FileDialogBase(title, parent_window)
{
- // Initalize to Autodetect
+ // Initialize to Autodetect
extension = NULL;
// No filename to start out with
Glib::ustring search_keywords = "";
diff --git a/src/ui/dialog/polar-arrange-tab.cpp b/src/ui/dialog/polar-arrange-tab.cpp
index 75e1a56b8..2f18d5c0d 100644
--- a/src/ui/dialog/polar-arrange-tab.cpp
+++ b/src/ui/dialog/polar-arrange-tab.cpp
@@ -183,7 +183,7 @@ static Geom::Point calcPoint(float cx, float cy, float rx, float ry, float angle
/**
* Returns the selected anchor point in document coordinates. If anchor
- * is 0 to 8, then a bounding box point has been choosen. If it is 9 however
+ * is 0 to 8, then a bounding box point has been chosen. If it is 9 however
* the rotational center is chosen.
* @todo still using a hack to get the real coordinate space (subtracting document height
* and inverting axes)
diff --git a/src/ui/dialog/print-colors-preview-dialog.cpp b/src/ui/dialog/print-colors-preview-dialog.cpp
index ef5c1b6f6..5e96a8e61 100644
--- a/src/ui/dialog/print-colors-preview-dialog.cpp
+++ b/src/ui/dialog/print-colors-preview-dialog.cpp
@@ -19,7 +19,7 @@ namespace UI {
namespace Dialog {
//Yes, I know we shouldn't hardcode CMYK. This class needs to be refactored
-// in order to accomodate spot colors and color components defined using
+// in order to accommodate spot colors and color components defined using
// ICC colors. --Juca
void PrintColorsPreviewDialog::toggle_cyan(){
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp
index 60138fa89..5ca085094 100644
--- a/src/ui/dialog/styledialog.cpp
+++ b/src/ui/dialog/styledialog.cpp
@@ -191,7 +191,7 @@ StyleDialog::TreeStore::row_draggable_vfunc(const Gtk::TreeModel::Path& path) co
/**
- * Allow dropping only inbetween other selectors.
+ * Allow dropping only in between other selectors.
*/
bool
StyleDialog::TreeStore::row_drop_possible_vfunc(const Gtk::TreeModel::Path& dest,
@@ -750,7 +750,7 @@ void StyleDialog::_removeFromSelector(Gtk::TreeModel::Row row)
/**
* @brief StyleDialog::_getIdList
* @param sel
- * @return This function returns a comma seperated list of ids for objects in input vector.
+ * @return This function returns a comma separated list of ids for objects in input vector.
* It is used in creating an 'id' selector. It relies on objects having 'id's.
*/
Glib::ustring StyleDialog::_getIdList(std::vector<SPObject*> sel)
diff --git a/src/ui/dialog/xml-tree.cpp b/src/ui/dialog/xml-tree.cpp
index c245890bc..5747c7726 100644
--- a/src/ui/dialog/xml-tree.cpp
+++ b/src/ui/dialog/xml-tree.cpp
@@ -1004,7 +1004,7 @@ void XmlTree::cmd_delete_attr()
SPObject *updated = current_document->getObjectByRepr(selected_repr);
if (updated) {
- // force immediate update of dependant attributes
+ // force immediate update of dependent attributes
updated->updateRepr();
}
@@ -1028,7 +1028,7 @@ void XmlTree::cmd_set_attr()
SPObject *updated = current_document->getObjectByRepr(selected_repr);
if (updated) {
- // force immediate update of dependant attributes
+ // force immediate update of dependent attributes
updated->updateRepr();
}
diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp
index 4f42400d4..67768571d 100644
--- a/src/ui/tool/node.cpp
+++ b/src/ui/tool/node.cpp
@@ -168,7 +168,7 @@ void Handle::move(Geom::Point const &new_pos)
}
setPosition(new_pos);
- //move the handler and its oposite the same proportion
+ //move the handler and its opposite the same proportion
if(_pm()._isBSpline()){
setPosition(_pm()._bsplineHandleReposition(this, false));
bspline_weight = _pm()._bsplineHandlePosition(this, false);
@@ -186,7 +186,7 @@ void Handle::move(Geom::Point const &new_pos)
/ Geom::L2sq(direction)) * direction;
setRelativePos(new_delta);
- //move the handler and its oposite the same proportion
+ //move the handler and its opposite the same proportion
if(_pm()._isBSpline()){
setPosition(_pm()._bsplineHandleReposition(this, false));
bspline_weight = _pm()._bsplineHandlePosition(this, false);
@@ -213,7 +213,7 @@ void Handle::move(Geom::Point const &new_pos)
}
setPosition(new_pos);
- // moves the handler and its oposite the same proportion
+ // moves the handler and its opposite the same proportion
if(_pm()._isBSpline()){
setPosition(_pm()._bsplineHandleReposition(this, false));
bspline_weight = _pm()._bsplineHandlePosition(this, false);
@@ -307,7 +307,7 @@ bool Handle::_eventHandler(Inkscape::UI::Tools::ToolBase *event_context, GdkEven
return ControlPoint::_eventHandler(event_context, event);
}
-//this function moves the handler and its oposite to the default proportion of DEFAULT_START_POWER
+//this function moves the handler and its opposite to the default proportion of DEFAULT_START_POWER
void Handle::handle_2button_press(){
if(_pm()._isBSpline()){
setPosition(_pm()._bsplineHandleReposition(this, DEFAULT_START_POWER));
@@ -364,7 +364,7 @@ void Handle::dragged(Geom::Point &new_pos, GdkEventMotion *event)
ctrl_constraint = Inkscape::Snapper::SnapConstraint(parent_pos, parent_pos - perp_pos);
}
new_pos = result;
- // moves the handler and its oposite in X fixed positions depending on parameter "steps with control"
+ // moves the handler and its opposite in X fixed positions depending on parameter "steps with control"
// by default in live BSpline
if(_pm()._isBSpline()){
setPosition(new_pos);
@@ -478,7 +478,7 @@ Glib::ustring Handle::_getTip(unsigned state) const
{
char const *more;
// a trick to mark as bspline if the node has no strength, we are going to use it later
- // to show the appropiate messages. We cannot do it in any different way becasue the function is constant
+ // to show the appropriate messages. We cannot do it in any different way because the function is constant
Handle *h = const_cast<Handle *>(this);
bool isBSpline = _pm()._isBSpline();
bool can_shift_rotate = _parent->type() == NODE_CUSP && !other()->isDegenerate();
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 2c99e7fc8..f39afb8c4 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1688,7 +1688,7 @@ void PathManipulator::_updateOutlineOnZoomChange()
if (_show_path_direction) _updateOutline();
}
-/** Compute the radius from the edge of the path where clicks chould initiate a curve drag
+/** Compute the radius from the edge of the path where clicks should initiate a curve drag
* or segment selection, in window coordinates. */
double PathManipulator::_getStrokeTolerance()
{
diff --git a/src/ui/tools/gradient-tool.cpp b/src/ui/tools/gradient-tool.cpp
index 1735a78df..81d2f6a5b 100644
--- a/src/ui/tools/gradient-tool.cpp
+++ b/src/ui/tools/gradient-tool.cpp
@@ -636,7 +636,7 @@ bool GradientTool::root_handler(GdkEvent* event) {
}
} else if (this->item_to_select) {
if (over_line && line) {
- // Clicked on an existing gradient line, dont change selection. This stops
+ // Clicked on an existing gradient line, don't change selection. This stops
// possible change in selection during a double click with overlapping objects
} else {
// no dragging, select clicked item if any
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp
index 24295e7cf..bd2964d94 100644
--- a/src/ui/tools/measure-tool.cpp
+++ b/src/ui/tools/measure-tool.cpp
@@ -1236,7 +1236,7 @@ void MeasureTool::showCanvasItems(bool to_guides, bool to_item, bool to_phantom,
sp_canvas_item_destroy(measure_tmp_items[idx]);
}
measure_tmp_items.clear();
- //TODO:Calculate the measure area for current lenght and origin
+ //TODO:Calculate the measure area for current length and origin
// and use canvas->requestRedraw. In the calculation need a gap for outside text
// maybe this remove the trash lines on measure use
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
diff --git a/src/ui/widget/color-notebook.cpp b/src/ui/widget/color-notebook.cpp
index ba333d0ed..bd4b21bdb 100644
--- a/src/ui/widget/color-notebook.cpp
+++ b/src/ui/widget/color-notebook.cpp
@@ -289,7 +289,7 @@ void ColorNotebook::_updateICCButtons()
/* Some literature states that when the sum of paint values exceed 320%, it is considered to be a satured
color,
- which means the paper can get too wet due to an excessive ammount of ink. This may lead to several
+ which means the paper can get too wet due to an excessive amount of ink. This may lead to several
issues
such as misalignment and poor quality of printing in general.*/
if (ink_sum > 3.2)
diff --git a/src/ui/widget/font-variants.cpp b/src/ui/widget/font-variants.cpp
index d1755a6d5..f6c81df3b 100644
--- a/src/ui/widget/font-variants.cpp
+++ b/src/ui/widget/font-variants.cpp
@@ -563,7 +563,7 @@ namespace Widget {
if( (it = table_copy.find("zero")) != table_copy.end() ) table_copy.erase( it );
std::string ott_list = "OpenType tables not included above: ";
for(it = table_copy.begin(); it != table_copy.end(); ++it) {
- // std::cout << "Other: " << it->first << " Occurances: " << it->second << std::endl;
+ // std::cout << "Other: " << it->first << " Occurrences: " << it->second << std::endl;
ott_list += it->first;
ott_list += ", ";
}
diff --git a/src/ui/widget/object-composite-settings.cpp b/src/ui/widget/object-composite-settings.cpp
index ca33a845c..5f5b801d1 100644
--- a/src/ui/widget/object-composite-settings.cpp
+++ b/src/ui/widget/object-composite-settings.cpp
@@ -67,7 +67,7 @@ ObjectCompositeSettings::ObjectCompositeSettings(unsigned int verb_code, char co
show_all_children();
- // These signals dont properly detect change in desktop, rely on owner dialog to call setSubject() from setTargetDesktop()
+ // These signals don't properly detect change in desktop, rely on owner dialog to call setSubject() from setTargetDesktop()
//_desktop_activated = g_signal_connect ( G_OBJECT (INKSCAPE), "activate_desktop", G_CALLBACK (&ObjectCompositeSettings::_on_desktop_activate), this );
//_desktop_activated = g_signal_connect ( G_OBJECT (INKSCAPE), "deactivate_desktop", G_CALLBACK (&ObjectCompositeSettings::_on_desktop_deactivate), this );
}
diff --git a/src/ui/widget/panel.h b/src/ui/widget/panel.h
index b5498498d..06b65dfbc 100644
--- a/src/ui/widget/panel.h
+++ b/src/ui/widget/panel.h
@@ -104,7 +104,7 @@ public:
void setDefaultResponse(int response_id);
void setResponseSensitive(int response_id, bool setting);
- /* Return signals. Signals emited by PanelDialog. */
+ /* Return signals. Signals emitted by PanelDialog. */
virtual sigc::signal<void, SPDesktop *, SPDocument *> &signalDocumentReplaced();
virtual sigc::signal<void, SPDesktop *> &signalActivateDesktop();
virtual sigc::signal<void, SPDesktop *> &signalDeactiveDesktop();