From c62cf92cb8baaaaef0f8f2ab7de2eb6168736f4a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 23 Jun 2007 19:59:32 +0000 Subject: add shortcuts to add/remove desktops in the client list menus. also make it so &-specified shortcuts are always underlined --- openbox/menu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/menu.h') diff --git a/openbox/menu.h b/openbox/menu.h index 5e5e859e..09938fcd 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -64,6 +64,8 @@ struct _ObMenu gunichar shortcut; /*! The shortcut's position in the string */ guint shortcut_position; + /*! If the shortcut was specified by & and should always be drawn */ + gboolean shortcut_always_show; /*! If the shortcut key should be shown in menu entries even when it is the first character in the string */ @@ -105,6 +107,8 @@ struct _ObNormalMenuEntry { gunichar shortcut; /*! The shortcut's position in the string */ guint shortcut_position; + /*! If the shortcut was specified by & and should always be drawn */ + gboolean shortcut_always_show; /* state */ gboolean enabled; -- cgit v1.2.3