Files
gtk3/gtk
Federico Mena Quintero 65ddedd1ae Merged from 2.4:
2004-08-18  Federico Mena Quintero  <federico@ximian.com>

	Merged from 2.4:

	Fixes #149251:

	* gtk/gtkfilechooserdefault.c: Renamed SHORTCUTS_COL_PATH to
	SHORTCUTS_COL_DATA.  Add SHORTCUTS_COL_IS_VOLUME, to determine
	easily whether the SHORTCUTS_COL_DATA points to a GtkFilePath or a
	GtkFileSystemVolume.
	(shortcuts_model_create): Create a boolean column for
	SHORTCUTS_COL_IS_VOLUME.
	(shortcuts_reload_icons): Simplify with the use of the
	SHORTCUTS_COL_IS_VOLUME column.  Don't leak the pixbuf.
	(shortcuts_insert_path): Add the SHORTCUTS_COL_IS_VOLUME data.
	(shortcuts_free_row_data): New helper function; frees the data
	columns for an iter.
	(shortcuts_remove_rows): Don't take a callback for freeing the
	data; free everything here instead.  Use
	shortcuts_free_row_data().
	(volume_remove_cb): Removed.
	(remove_bookmark_cb): Removed.
	(remove_row_cb): Make this a single generic function to delete
	rows.
	(shortcuts_add_volumes): Use remove_row_cb().
	(shortcuts_add_bookmarks): Likewise.
	(struct _GtkFileChooserDefault): Removed the
	shortcuts_current_folder_is_volume field.
	(shortcuts_add_current_folder): Oops, don't free the volume.
	(remove_current_folder_cb): Removed.
	(shortcut_find_position): Simplify through the use of the
	SHORTCUTS_COL_IS_VOLUME column.
	(remove_selected_bookmarks): Assert that we don't get a volume.
	(shortcuts_reorder): Likewise; also, plug a leak.
	(gtk_file_chooser_default_remove_shortcut_folder): Simplify
	through the use of shortcuts_remove_rows().
	(gtk_file_chooser_default_list_shortcut_folders): Assert that we
	don't get a volume.
	(shortcuts_activate_iter): Simplify.
	(home_folder_handler): Simplify by using
	shortcuts_activate_iter().
	(shortcuts_free): New function; frees all the data columns.
	(gtk_file_chooser_default_finalize): Unref the
	shortcuts_filter_model and the shortcuts model data first.
2004-08-18 16:30:58 +00:00
..
2004-08-18 15:38:21 +00:00
2002-10-11 22:57:11 +00:00
2004-08-13 13:48:20 +00:00
2002-10-09 22:25:18 +00:00
2002-10-10 22:00:09 +00:00
2002-10-04 23:50:27 +00:00
2003-07-18 23:08:51 +00:00
2002-10-04 23:50:27 +00:00
2004-03-02 22:57:40 +00:00
2002-10-13 17:17:14 +00:00
2004-08-16 05:43:50 +00:00
2003-05-08 00:25:51 +00:00
2003-12-19 22:47:20 +00:00
2002-10-07 01:38:40 +00:00
2004-05-17 02:33:18 +00:00
2002-10-07 01:38:40 +00:00
2002-10-07 01:38:40 +00:00
2002-10-11 22:57:11 +00:00
2003-09-30 22:48:10 +00:00
2004-05-18 20:56:54 +00:00
2002-10-11 22:57:11 +00:00
2003-10-10 17:18:34 +00:00
2004-08-16 05:43:50 +00:00
2004-08-16 05:43:50 +00:00
2002-10-07 04:29:52 +00:00
2002-10-05 23:15:39 +00:00
2002-10-09 23:55:27 +00:00
2004-08-14 15:59:39 +00:00
2004-08-18 16:30:58 +00:00
2004-03-08 22:21:47 +00:00
2003-07-23 15:31:10 +00:00
2004-03-29 19:52:16 +00:00
2004-07-09 00:53:48 +00:00
2003-07-16 21:07:38 +00:00
2003-12-08 23:13:14 +00:00
2002-10-10 01:02:25 +00:00
2003-09-30 22:48:10 +00:00
2002-10-09 22:11:08 +00:00
2002-10-04 23:50:27 +00:00
2002-10-13 20:44:18 +00:00
2004-08-13 04:42:10 +00:00
2002-10-11 22:57:11 +00:00
2002-10-04 22:49:28 +00:00
2002-10-07 04:29:52 +00:00
2002-10-08 23:07:02 +00:00
2002-10-04 23:50:27 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-10-09 22:25:18 +00:00
2004-08-16 18:38:55 +00:00
2002-10-05 23:15:39 +00:00
2002-10-05 01:51:16 +00:00
2002-10-10 22:20:48 +00:00
2002-10-10 22:20:48 +00:00
2002-10-11 22:57:11 +00:00
2002-10-10 22:00:09 +00:00
2002-10-09 22:11:08 +00:00
2002-10-13 20:44:18 +00:00
2004-08-14 15:59:39 +00:00
2004-08-14 15:59:39 +00:00
2004-07-13 14:49:02 +00:00
2004-07-26 14:47:17 +00:00
2002-10-05 01:51:16 +00:00
2002-10-05 01:51:16 +00:00
2002-10-05 23:15:39 +00:00
2003-10-10 17:18:34 +00:00
2004-04-02 00:35:07 +00:00
2004-06-02 17:46:21 +00:00
2002-10-08 23:07:02 +00:00
2002-12-12 23:02:40 +00:00
2002-10-04 23:50:27 +00:00
2004-02-12 23:58:46 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2004-08-16 18:33:35 +00:00
2004-08-14 15:59:39 +00:00
2002-10-09 23:55:27 +00:00
2002-10-10 01:02:25 +00:00
2002-10-09 00:38:22 +00:00
2002-10-10 01:02:25 +00:00
2002-10-10 21:45:41 +00:00
2002-10-11 22:57:11 +00:00
2003-12-29 10:55:53 +00:00
2003-12-29 10:55:53 +00:00
2002-10-07 19:10:39 +00:00
2002-10-07 19:10:39 +00:00
2002-10-07 19:10:39 +00:00
2003-03-03 04:51:42 +00:00
2003-09-03 19:57:05 +00:00
2002-10-04 22:49:28 +00:00
2002-10-07 04:29:52 +00:00
2002-10-09 00:38:22 +00:00
2002-10-08 23:07:02 +00:00
2002-10-04 23:50:27 +00:00
2002-10-04 22:49:28 +00:00
2002-10-04 08:02:14 +00:00
2002-10-04 08:02:14 +00:00
2004-08-16 18:38:55 +00:00
2004-07-17 03:55:07 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00
2004-08-09 21:32:58 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00
2002-12-10 21:39:53 +00:00