Skip to content
  • Federico Mena Quintero's avatar
    Merged from gtk-2-6: · ab44ea2b
    Federico Mena Quintero authored
    2005-06-10  Federico Mena Quintero  <federico@ximian.com>
    
    	Merged from gtk-2-6:
    
    	Fixes #162358:
    
    	* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't return
    	immediately if we are in CREATE_FOLDER mode, so that we can fill
    	the entry with the newly-selected folder.
    	(gtk_file_chooser_default_set_property): Warn against turning on
    	multiple selection for CREATE_FOLDER mode, or about setting that
    	action while multiple selection is on.
    	(update_chooser_entry): Change the entry's contents as well if we
    	are in CREATE_FOLDER mode.  If nothing is selected, clear the
    	chooser entry.
    	(trap_activate_cb): Don't trap enter/space if modifiers are
    	pressed.  This lets one use Ctrl-space to toggle rows in multiple
    	selection mode.
    	(gtk_file_chooser_default_should_respond): Clean up the if-chain
    	mess of special cases by using an array to determine what to do.
    	Also, for the save-entry case in CREATE_FOLDER mode, actually fix
    	the bug where the file chooser would switch to an existing f...
    ab44ea2b