[gtk+/gtk-style-context: 386/533] 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/533] Translate detail strings for radio buttons
- Date: Wed, 1 Dec 2010 02:38:16 +0000 (UTC)
commit 74a20b5229841b312f83aa12b27f0a22bbfcd3d4
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]