Fix various typos (#6332)
* Fix various typos Found via `codespell -q 3 -S ./rtdata/languages -L ba,bord,childs,hist,fo,reall,bloc,alph,dof,inout,thre,makro,chang,currentry,preserv,portugues,struc,trough,vektor` * Fix source typo * Added requested revisions
This commit is contained in:
@@ -1003,7 +1003,7 @@ MyScrolledToolbar::MyScrolledToolbar ()
|
||||
set_policy (Gtk::POLICY_EXTERNAL, Gtk::POLICY_NEVER);
|
||||
get_style_context()->add_class("scrollableToolbar");
|
||||
|
||||
// Works fine with Gtk 3.22, but a a custom made get_preferred_height had to be created as a workaround
|
||||
// Works fine with Gtk 3.22, but a custom made get_preferred_height had to be created as a workaround
|
||||
// taken from the official Gtk3.22 source code
|
||||
//set_propagate_natural_height(true);
|
||||
}
|
||||
@@ -1213,7 +1213,7 @@ bool MySpinButton::on_key_press_event (GdkEventKey* event)
|
||||
} else {
|
||||
if (event->keyval == GDK_KEY_comma || event->keyval == GDK_KEY_KP_Decimal) {
|
||||
set_text(get_text() + ".");
|
||||
set_position(get_text().length()); // When setting text, cursor position is reseted at text start. Avoiding this with this code
|
||||
set_position(get_text().length()); // When setting text, cursor position is reset at text start. Avoiding this with this code
|
||||
return true; // Event is not propagated further
|
||||
}
|
||||
|
||||
|
||||
@@ -232,7 +232,7 @@ public:
|
||||
*/
|
||||
MyExpander(bool useEnabled, Glib::ustring titleLabel);
|
||||
|
||||
/** Create a custom expander with a a custom - and responsive - widget
|
||||
/** Create a custom expander with a custom - and responsive - widget
|
||||
* @param useEnabled Set whether to handle an enabled/disabled toggle button and display the appropriate image
|
||||
* @param titleWidget A widget to display in the header. Warning: you won't be able to switch to a string label.
|
||||
*/
|
||||
|
||||
@@ -270,7 +270,7 @@ bool LabGridArea::on_draw(const ::Cairo::RefPtr<Cairo::Context> &crf)
|
||||
// this graph is not accurate...I replace curve by polygon or parabolic
|
||||
float xa = 0.2653f / (0.7347f - 0.17f);
|
||||
float xb = -0.17f * xa;
|
||||
//linaer values
|
||||
//linear values
|
||||
// float ax = (0.1f - 0.6f) / 0.08f;
|
||||
// float bx = 0.6f;
|
||||
// float ax0 = -0.1f / (0.17f - 0.08f);
|
||||
|
||||
@@ -1275,7 +1275,7 @@ Gtk::Widget* Preferences::getGeneralPanel()
|
||||
vb = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
vb->pack_start(*hb);
|
||||
hb = Gtk::manage(new Gtk::Box());
|
||||
//I disabled these 2 functionnalities...easy to enable
|
||||
//I disabled these 2 functionalities...easy to enable
|
||||
// hb->pack_start(*editor_float32, Gtk::PACK_SHRINK);
|
||||
// hb->pack_start(*editor_bypass_output_profile, Gtk::PACK_SHRINK, 4);
|
||||
vb->pack_start(*hb, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
@@ -446,7 +446,7 @@ void ThumbBrowserEntryBase::getTextSizes (int& infow, int& infoh)
|
||||
Glib::RefPtr<Pango::Layout> fn = w->create_pango_layout(dispname);
|
||||
fn->get_pixel_size (fnlabw, fnlabh);
|
||||
|
||||
// calculate cummulated height of all info fields
|
||||
// calculate cumulated height of all info fields
|
||||
infoh = fnlabh;
|
||||
infow = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user