Add the little stars. (#319985, Bastien Nocera)

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
	stars.  (#319985, Bastien Nocera)
This commit is contained in:
Matthias Clasen 2005-10-28 14:04:04 +00:00 committed by Matthias Clasen
parent cfaa87847a
commit eac8eb4d99
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2005-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
stars. (#319985, Bastien Nocera)
* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return
FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)

View File

@ -1,5 +1,8 @@
2005-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
stars. (#319985, Bastien Nocera)
* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return
FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)

View File

@ -436,7 +436,7 @@ static void
gtk_about_dialog_init (GtkAboutDialog *about)
{
GtkAboutDialogPrivate *priv;
GtkWidget *vbox, *hbox, *button;
GtkWidget *vbox, *hbox, *button, *image;
/* Data */
priv = GTK_ABOUT_DIALOG_GET_PRIVATE (about);
@ -504,7 +504,9 @@ gtk_about_dialog_init (GtkAboutDialog *about)
gtk_dialog_set_default_response (GTK_DIALOG (about), GTK_RESPONSE_CLOSE);
/* Add the credits button */
button = gtk_button_new_from_stock (_("C_redits"));
button = gtk_button_new_from_mnemonic (_("C_redits"));
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);
gtk_box_pack_end (GTK_BOX (GTK_DIALOG (about)->action_area),
button, FALSE, TRUE, 0);