• Federico Mena Quintero's avatar
    Added fields for the shortcuts tree and its model. (create_file_list): · 39e208d8
    Federico Mena Quintero authored
    2003-09-30  Federico Mena Quintero  <federico@ximian.com>
    
    	* gtkfilechooserimpldefault.c (struct _GtkFileChooserImplDefault):
    	Added fields for the shortcuts tree and its model.
    	(create_file_list): Don't call
    	gtk_tree_view_column_set_sort_column_id() twice.
    	(create_shortcuts_model): New function.
    	(list_icon_data_func): Use an ICON_SIZE macro instead of a
    	hardcoded value.
    	(list_row_activated): Use _gtk_file_chooser_set_current_folder_path()
    	to avoid converting the GtkFilePath to a URI string.
    	(gtk_file_chooser_impl_default_set_current_folder): Select the
    	appropriate item from the shortcuts list when the current folder
    	changes, to let the user know where he is.
    	(tree_selection_changed): Likewise.
    
    	* gtkfilesystem.h (struct _GtkFileSystemIface): Added methods for
    	::supports_shortcuts(), ::list_shortcuts(), ::set_shortcuts().
    39e208d8
gtkfilesystem.h 11.5 KB