Skip to content
  • Federico Mena Quintero's avatar
    Take a shortcut position, not a ShortcutsIndex, to make the function more · 1155f0b3
    Federico Mena Quintero authored
    2005-10-04  Federico Mena Quintero  <federico@ximian.com>
    
    	* gtk/gtkfilechooserdefault.c (switch_to_shortcut): Take a
    	shortcut position, not a ShortcutsIndex, to make the function more
    	generic.
    	(home_folder_handler): Pass the resolved index to
    	switch_to_shortcut(), rather than just SHORTCUTS_HOME.
    	(desktop_folder_handler): Likewise for SHORTCUTS_DESKTOP.
    	(gtk_file_chooser_default_class_init): Add a "quick-bookmark"
    	binding signal, and bind it to Alt-1, Alt-2. ..., Alt-0.  These
    	make the respective key switch to the first, second, ..., tenth
    	bookmark.
    	(quick_bookmark_handler): Implement.
    1155f0b3
To find the state of this project's repository at the time of any of these versions, check out the tags.