[gtk+/gtk-style-context: 386/540] Translate detail strings for radio buttons
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 386/540] Translate detail strings for radio buttons
- Date: Fri, 3 Dec 2010 03:08:35 +0000 (UTC)
commit b0084658fdfef64592349e839f2feff1f8510330
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]