[gtk+] Translate detail strings for radio buttons



commit 69f91fed94b52fabc8e07dd1c8225af189474dd5
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 16 21:50:04 2010 -0500

    Translate detail strings for radio buttons

 gtk/gtkstyle.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 6733792..8981613 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");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]