mirror of
https://github.com/labwc/labwc.git
synced 2026-04-18 06:46:46 -04:00
tree-wide: use markup only when an accelerator is defined with _
This commit is contained in:
parent
58fa089749
commit
c6681876b5
8 changed files with 23 additions and 23 deletions
|
|
@ -58,8 +58,8 @@ create_fields_scene(struct view *view,
|
|||
struct scaled_font_buffer *font_buffer =
|
||||
scaled_font_buffer_create(parent);
|
||||
scaled_font_buffer_update(font_buffer,
|
||||
buf.data, field_width,
|
||||
&rc.font_osd, text_color, bg_color);
|
||||
buf.data, field_width, &rc.font_osd,
|
||||
text_color, bg_color, false);
|
||||
node = &font_buffer->scene_buffer->node;
|
||||
height = font_height(&rc.font_osd);
|
||||
}
|
||||
|
|
@ -143,7 +143,7 @@ cycle_osd_classic_init(struct cycle_osd_output *osd_output)
|
|||
wlr_scene_node_set_position(&font_buffer->scene_buffer->node,
|
||||
x, y + (switcher_theme->item_height - font_height(&font)) / 2);
|
||||
scaled_font_buffer_update(font_buffer, workspace_name, 0,
|
||||
&font, text_color, bg_color);
|
||||
&font, text_color, bg_color, false);
|
||||
y += switcher_theme->item_height;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue