[gtk+/gtk-style-context: 339/533] GtkStyle: translate a few more detail strings.



commit 47deec295d5f0caaad334c9171abef9df90b2359
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Nov 9 18:27:13 2010 +0100

    GtkStyle: translate a few more detail strings.

 gtk/gtkstyle.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 9acc49c..3eca201 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -1792,6 +1792,14 @@ transform_detail_string (const gchar     *detail,
     gtk_style_context_add_class (context, "menubar");
   else if (strcmp (detail, "base") == 0)
     gtk_style_context_add_class (context, "background");
+  else if (strcmp (detail, "bar") == 0)
+    gtk_style_context_add_class (context, "progressbar");
+  else if (strcmp (detail, "toolbar") == 0)
+    gtk_style_context_add_class (context, "toolbar");
+  else if (strcmp (detail, "handlebox_bin") == 0)
+    gtk_style_context_add_class (context, "dock");
+  else if (strcmp (detail, "notebook") == 0)
+    gtk_style_context_add_class (context, "notebook");
   else if (g_str_has_prefix (detail, "cell"))
     {
       GtkRegionFlags row, col;



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