From d1f5b0cf2a8c7c093438714ee2263aff016976ae Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 5 Apr 2005 22:37:02 +0000 Subject: [PATCH] Protect the license and credits buttons from being affected by 2005-04-05 Matthias Clasen * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect the license and credits buttons from being affected by gtk_widget_show_all(). (#172724) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkaboutdialog.c | 2 ++ 4 files changed, 20 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4aacbe5ca2..2412a6c9ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-04-05 Matthias Clasen + + * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect + the license and credits buttons from being affected by + gtk_widget_show_all(). (#172724) + 2005-04-05 Matthias Clasen * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 4aacbe5ca2..2412a6c9ef 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2005-04-05 Matthias Clasen + + * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect + the license and credits buttons from being affected by + gtk_widget_show_all(). (#172724) + 2005-04-05 Matthias Clasen * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 4aacbe5ca2..2412a6c9ef 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2005-04-05 Matthias Clasen + + * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect + the license and credits buttons from being affected by + gtk_widget_show_all(). (#172724) + 2005-04-05 Matthias Clasen * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 6c4e75bca1..59eaeac7f2 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -489,6 +489,7 @@ gtk_about_dialog_init (GtkAboutDialog *about) /* Add the credits button */ button = gtk_button_new_from_stock (_("C_redits")); + gtk_widget_set_no_show_all (button, TRUE); gtk_box_pack_end (GTK_BOX (GTK_DIALOG (about)->action_area), button, FALSE, TRUE, 0); gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (GTK_DIALOG (about)->action_area), button, TRUE); @@ -498,6 +499,7 @@ gtk_about_dialog_init (GtkAboutDialog *about) /* Add the license button */ button = gtk_button_new_from_stock (_("_License")); + gtk_widget_set_no_show_all (button, TRUE); gtk_box_pack_end (GTK_BOX (GTK_DIALOG (about)->action_area), button, FALSE, TRUE, 0); gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (GTK_DIALOG (about)->action_area), button, TRUE);