Skip to content

Commit 7b29697

Browse files
committed
Lint and other cleanup
1 parent d2d2db0 commit 7b29697

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Widgets/HeaderBar.vala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public class Scratch.HeaderBar : Hdy.HeaderBar {
329329
scheme = sssm.get_scheme (style_id);
330330
// We currently ship and hard-code the style schemes so can assume the "text" key
331331
// is present but if in future we permit the user to specify their own default
332-
// schemes(e.g. through separate settings keys) then this may not be the case.
332+
// schemes (e.g. through separate settings keys) then this may not be the case.
333333
// so do a certain amount of validity checking
334334
var text_style = scheme.get_style ("text");
335335
var background_pattern_style = scheme.get_style ("background-pattern");
@@ -355,11 +355,11 @@ public class Scratch.HeaderBar : Hdy.HeaderBar {
355355

356356
//Fallback to white and grey if necessary
357357
if (background == "" || background.contains ("rgba")) {
358-
background ="";
358+
background = "";
359359
}
360360

361361
if (foreground == "" || foreground.contains ("rgba")) {
362-
foreground ="";
362+
foreground = "";
363363
}
364364
}
365365

@@ -386,7 +386,7 @@ public class Scratch.HeaderBar : Hdy.HeaderBar {
386386
style_context.add_provider (css_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
387387
color_button.tooltip_text = scheme.name;
388388
} else if (scheme != null || background == "" || foreground == "") {
389-
//Fallback to standard radio buttons (shouldnt happen)
389+
//Fallback to standard radio buttons (should not happen)
390390
switch (style_id) {
391391
case STYLE_SCHEME_LIGHT:
392392
color_button.label = _("Light");

0 commit comments

Comments
 (0)