[gtk+/gtk-style-context: 328/540] GtkStyle: Transform menu accelerators string
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 328/540] GtkStyle: Transform menu accelerators string
- Date: Fri, 3 Dec 2010 03:03:42 +0000 (UTC)
commit 312ac5f4085162ee79600e209a529f8408f1ef3a
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]