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:
committed by
Havoc Pennington
parent
4b6bc02f66
commit
1773d81558
@ -3776,6 +3776,8 @@ cursor_blinks (GtkTextView *text_view)
|
||||
#ifdef DEBUG_VALIDATION_AND_SCROLLING
|
||||
return FALSE;
|
||||
#endif
|
||||
if (gtk_debug_flags & GTK_DEBUG_UPDATES)
|
||||
return FALSE;
|
||||
|
||||
g_object_get (G_OBJECT (settings), "gtk-cursor-blink", &blink, NULL);
|
||||
return blink;
|
||||
|
||||
Reference in New Issue
Block a user