Commit 325b9685 authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'io-switch' into 'gtk-3-24'

switch: Always use I/O

See merge request !501
parents 32b21ee9 45ee476e
Pipeline #50581 passed with stage
in 6 minutes and 35 seconds
......@@ -299,18 +299,10 @@ gtk_switch_create_pango_layouts (GtkSwitch *self)
GtkSwitchPrivate *priv = self->priv;
g_clear_object (&priv->on_layout);
/* Translators: if the "on" state label requires more than three
* glyphs then use MEDIUM VERTICAL BAR (U+2759) as the text for
* the state
*/
priv->on_layout = gtk_widget_create_pango_layout (GTK_WIDGET (self), C_("switch", "ON"));
priv->on_layout = gtk_widget_create_pango_layout (GTK_WIDGET (self), "❙");
g_clear_object (&priv->off_layout);
/* Translators: if the "off" state label requires more than three
* glyphs then use WHITE CIRCLE (U+25CB) as the text for the state
*/
priv->off_layout = gtk_widget_create_pango_layout (GTK_WIDGET (self), C_("switch", "OFF"));
priv->off_layout = gtk_widget_create_pango_layout (GTK_WIDGET (self), "○");
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment