summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-11-16 21:50:04 -0500
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:39:14 +0100
commit69f91fed94b52fabc8e07dd1c8225af189474dd5 (patch)
treea9b586109d713ea28ba72e89c587c49179fed299 /gtk/gtkstyle.c
parent25b6945971da2d09e041329d49134041c3f3de81 (diff)
downloadgtk+-69f91fed94b52fabc8e07dd1c8225af189474dd5.tar.gz
Translate detail strings for radio buttons
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 67337924cd..8981613a67 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -1735,6 +1735,10 @@ transform_detail_string (const gchar *detail,
gtk_style_context_add_class (context, "check");
gtk_style_context_add_class (context, "menu");
}
+ else if (strcmp (detail, "radiobutton") == 0)
+ {
+ gtk_style_context_add_class (context, "radio");
+ }
else if (strcmp (detail, "option") == 0)
{
gtk_style_context_add_class (context, "radio");