testheaderbar: fix a mmemonic

This commit is contained in:
Matthias Clasen 2013-06-28 16:08:15 -04:00
parent c6d7540508
commit 860197a7d2

View File

@ -121,6 +121,7 @@ change_header (GtkButton *button, gpointer data)
gtk_header_bar_set_title (GTK_HEADER_BAR (header), "Example header");
widget = gtk_button_new_with_label ("_Close");
gtk_button_set_use_underline (GTK_BUTTON (widget), TRUE);
gtk_style_context_add_class (gtk_widget_get_style_context (widget), "suggested-action");
g_signal_connect (widget, "clicked", G_CALLBACK (gtk_main_quit), NULL);