add demo of passing non-stock label in to gtk_dialog_new_with_buttons

2001-09-26  Havoc Pennington  <hp@redhat.com>

	* demos/gtk-demo/dialog.c (interactive_dialog_clicked): add demo
	of passing non-stock label in to gtk_dialog_new_with_buttons

	* gtk/gtktextview.c (cursor_blinks): disable cursor blink when
	debugging updates

	* gtk/gtktextiter.h: comment about how GtkTextIter struct contents
	are private

	* gtk/gtkbutton.c (gtk_button_new_from_stock): if stock ID doesn't
	exist, fall back to mnemonic label, not plain label, bug #61184
This commit is contained in:
Havoc Pennington
2001-09-27 00:11:23 +00:00
committed by Havoc Pennington
parent 4b6bc02f66
commit 1773d81558
11 changed files with 118 additions and 3 deletions

View File

@ -46,6 +46,8 @@ interactive_dialog_clicked (GtkButton *button,
GTK_DIALOG_MODAL| GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_OK,
GTK_RESPONSE_OK,
"_Non-stock Button",
GTK_RESPONSE_CANCEL,
NULL);
hbox = gtk_hbox_new (FALSE, 8);