[gtk+/gtk-style-context: 329/490] GtkStyle: Transform menu accelerators string
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 329/490] GtkStyle: Transform menu accelerators string
- Date: Wed, 24 Nov 2010 14:07:20 +0000 (UTC)
commit 69f2970573af0a5d8df2f875bb216143c9f5f5e4
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Nov 8 01:52:25 2010 +0100
GtkStyle: Transform menu accelerators string
gtk/gtkstyle.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 9aba0fa..3a44de6 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -1786,6 +1786,8 @@ transform_detail_string (const gchar *detail,
}
else if (strcmp (detail, "menuitem") == 0)
gtk_style_context_add_class (context, "menu");
+ else if (strcmp (detail, "accellabel") == 0)
+ gtk_style_context_add_class (context, "accelerator");
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]