mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Set CAN_DEFAULT on all buttons. (#168737, fix proposed by Benjamin Berg)
2006-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Set CAN_DEFAULT on all buttons. (#168737, fix proposed by Benjamin Berg)
This commit is contained in:
parent
83e9b96337
commit
76b4844e62
@ -1,5 +1,8 @@
|
||||
2006-08-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Set CAN_DEFAULT
|
||||
on all buttons. (#168737, fix proposed by Benjamin Berg)
|
||||
|
||||
* gtk/gtkentryprivate.h:
|
||||
* gtk/gtkentry.c (_gtk_entry_effective_inner_border): Export
|
||||
privately. Adjust all callers.
|
||||
|
@ -1,5 +1,8 @@
|
||||
2006-08-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Set CAN_DEFAULT
|
||||
on all buttons. (#168737, fix proposed by Benjamin Berg)
|
||||
|
||||
* gtk/gtkentryprivate.h:
|
||||
* gtk/gtkentry.c (_gtk_entry_effective_inner_border): Export
|
||||
privately. Adjust all callers.
|
||||
|
@ -501,6 +501,7 @@ gtk_about_dialog_init (GtkAboutDialog *about)
|
||||
|
||||
/* Add the credits button */
|
||||
button = gtk_button_new_with_mnemonic (_("C_redits"));
|
||||
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
|
||||
image = gtk_image_new_from_stock (GTK_STOCK_ABOUT, GTK_ICON_SIZE_BUTTON);
|
||||
gtk_button_set_image (GTK_BUTTON (button), image);
|
||||
gtk_widget_set_no_show_all (button, TRUE);
|
||||
@ -513,6 +514,7 @@ gtk_about_dialog_init (GtkAboutDialog *about)
|
||||
|
||||
/* Add the license button */
|
||||
button = gtk_button_new_from_stock (_("_License"));
|
||||
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
|
||||
gtk_widget_set_no_show_all (button, TRUE);
|
||||
gtk_box_pack_end (GTK_BOX (GTK_DIALOG (about)->action_area),
|
||||
button, FALSE, TRUE, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user