Protect the license and credits buttons from being affected by

2005-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
	the license and credits buttons from being affected by
	gtk_widget_show_all().  (#172724)
This commit is contained in:
Matthias Clasen
2005-04-05 22:34:23 +00:00
committed by Matthias Clasen
parent 19384c9b59
commit 7eb1d7a0af
4 changed files with 15 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2005-04-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
the license and credits buttons from being affected by
gtk_widget_show_all(). (#172724)
* gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a
reference to the item. (#167920, Hazael Maldonado Torres)

View File

@@ -1,5 +1,9 @@
2005-04-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
the license and credits buttons from being affected by
gtk_widget_show_all(). (#172724)
* gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a
reference to the item. (#167920, Hazael Maldonado Torres)

View File

@@ -1,5 +1,9 @@
2005-04-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
the license and credits buttons from being affected by
gtk_widget_show_all(). (#172724)
* gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a
reference to the item. (#167920, Hazael Maldonado Torres)

View File

@@ -489,6 +489,7 @@ gtk_about_dialog_init (GtkAboutDialog *about)
/* Add the credits button */
button = gtk_button_new_from_stock (_("_Credits"));
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);
@@ -2217,7 +2219,7 @@ gtk_show_about_dialog (GtkWindow *parent,
global_about_dialog = dialog;
}
gtk_window_present (GTK_WINDOW (dialog));
}