From eac8eb4d99f1a05eaea049887442167a14ee8f03 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 28 Oct 2005 14:04:04 +0000 Subject: [PATCH] Add the little stars. (#319985, Bastien Nocera) 2005-10-28 Matthias Clasen * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little stars. (#319985, Bastien Nocera) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ gtk/gtkaboutdialog.c | 6 ++++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 75bd3c8e88..aba50aa90e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-10-28 Matthias Clasen + * 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) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 75bd3c8e88..aba50aa90e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-10-28 Matthias Clasen + * 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) diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 54303c4460..ad228d3f29 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -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);