diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-01-10 17:20:45 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-01-10 17:21:48 -0500 |
commit | 927e49ed86607a5031ca1e8f34deba09dc3179ed (patch) | |
tree | 1a4ae5382c816bdba45986f93b6aab97459aab70 /gtk/gtkswitch.c | |
parent | d55fc8b7b151cbd8210a4229b611c95a15d3ea88 (diff) | |
download | gtk+-927e49ed86607a5031ca1e8f34deba09dc3179ed.tar.gz |
switch: Always use I/O
This allows for smaller switches, and goes better with
modern themes that have round switches.
Diffstat (limited to 'gtk/gtkswitch.c')
-rw-r--r-- | gtk/gtkswitch.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index a1a1bcdc9b..0426fc1997 100644 --- a/gtk/gtkswitch.c +++ b/gtk/gtkswitch.c @@ -639,17 +639,10 @@ gtk_switch_init (GtkSwitch *self) gtk_widget_add_controller (GTK_WIDGET (self), GTK_EVENT_CONTROLLER (gesture)); priv->pan_gesture = gesture; - /* 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_label = gtk_label_new (C_("switch", "ON")); + priv->on_label = gtk_label_new ("❙"); gtk_widget_set_parent (priv->on_label, GTK_WIDGET (self)); - /* 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_label = gtk_label_new (C_("switch", "OFF")); + priv->off_label = gtk_label_new ("○"); gtk_widget_set_parent (priv->off_label, GTK_WIDGET (self)); priv->slider = gtk_gizmo_new ("slider", NULL, NULL, NULL); |