From c59f76fda2560273d7ee3255db9b697a7077ac38 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 20 Dec 2009 03:04:52 -0500 Subject: Only show the mnemonic underline when pressing Alt ...and show them in menus when navigating the menu with the keyboard. This is similar to what other platforms do, and reduces visual clutter. There is a setting to control this. Most of the work on this patch was done by Thomas Wood. See bug 588554. --- gtk/gtklabel.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk/gtklabel.h') diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h index d44b142fad..88a9db7ddf 100644 --- a/gtk/gtklabel.h +++ b/gtk/gtklabel.h @@ -197,6 +197,11 @@ guint gtk_label_parse_uline (GtkLabel *label, #endif /* GTK_DISABLE_DEPRECATED */ +/* private */ + +void _gtk_label_mnemonics_visible_apply_recursively (GtkWidget *widget, + gboolean mnemonics_visible); + G_END_DECLS #endif /* __GTK_LABEL_H__ */ -- cgit v1.2.1