• Owen Taylor's avatar
    Fixing popup menus to have "Paste" sensitized correctly. Original patches · 92d2dc0b
    Owen Taylor authored
    Mon Oct 22 16:25:12 2001  Owen Taylor  <otaylor@redhat.com>
    
    	Fixing popup menus to have "Paste" sensitized correctly. Original
    	patches from Damian Ivereigh, much mangled.
    
    	* gtk/gtkselection.c: Add functions gtk_selection_data_get_targets(),
    	gtk_selection_data_targets_include_text(). (#60854)
    
    	* gtk/gtkclipboard.c: Add a simple do-it-all non-async "check if
    	the clipboard has text" function gtk_clipboard_wait_is_text_available.
    	(#60854)
    
    	* gtk/gtkentry.c: Only enable the paste item if the clipboard
    	contains text. (#60973)
    
    	* gtk/gtktextview.c: Only enable the paste item if the clipboard
    	contains text. (#60975)
    92d2dc0b
gtktextview.c 200 KB