[gtk+/gtk-style-context: 339/540] GtkStyle: translate a few more detail strings.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 339/540] GtkStyle: translate a few more detail strings.
- Date: Fri, 3 Dec 2010 03:04:38 +0000 (UTC)
commit 36b7c5c724a79784dc21fd6f102df1b6c801c4fa
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]