[gtk+/gtk-style-context: 387/490] Translate detail strings for radio buttons
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 387/490] Translate detail strings for radio buttons
- Date: Wed, 24 Nov 2010 14:12:13 +0000 (UTC)
commit 0e4cbe5dc35914f942bc35cfc63549a4114ada87
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]