gtk2/tests
Federico Mena Quintero b49a5ec5b4 Removed. (gtk_file_system_gnome_vfs_set_bookmarks): Removed.
2003-10-17  Federico Mena Quintero  <federico@ximian.com>

	* gtkfilesystemgnomevfs.c
	(gtk_file_system_gnome_vfs_get_supports_bookmarks): Removed.
	(gtk_file_system_gnome_vfs_set_bookmarks): Removed.
	(gtk_file_system_gnome_vfs_add_bookmark): Implement.
	(gtk_file_system_gnome_vfs_remove_bookmark): Implement.

	* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Replaced
	the ::set_shortcut_folders() method with :;add_shortcut_folder()
	and ::remove_shortcut_folder().

	* gtkfilechooserutils.c (delegate_add_shortcut_folder): New function.
	(delegate_remove_shortcut_folder): New function.
	(delegate_list_shortcut_folders): New function.

	* gtkfilechooserimpldefault.c (create_shortcuts_model): Insert the
	Desktop directory as well.
	(shortcuts_insert_path): Renamed from shortcuts_append_path; now
	takes a position index instead of a parent node iter.  Also takes
	a GError argument.
	(struct _GtkFileChooserImplDefault): Removed the shortcuts_folder
	list.  It is all kept in the model now.
	(shortcuts_append_home): Save whether adding a shortcut for the
	home directory was successful.
	(shortcuts_append_desktop): Likewise for the desktop.
	(shortcuts_append_file_system_roots): Count and save the number of
	roots added.
	(shortcuts_append_shortcut_folders): Removed.
	(gtk_file_chooser_impl_default_add_shortcut_folder): Implement.
	(shortcuts_append_bookmarks): Now that we don't have a bookmarks
	parent node, don't expand the tree.
	(add_bookmark_button_clicked_cb): Use gtk_file_system_add_bookmark().
	(remove_bookmark_button_clicked_cb): Use gtk_file_system_remove_bookmark().
	(gtk_file_chooser_impl_default_list_shortcut_folders): Get the
	folders from the shortcuts model; we no longer keep a separate list.

	* gtkfilesystem.h (struct _GtkFileSystemIface): Oops, there
	shouldn't be shortcuts-related virtual methods here.

	* gtkfilechooser.c (file_paths_to_strings): New helper function.
	(gtk_file_chooser_get_filenames): Use file_paths_to_strings().
	(gtk_file_chooser_get_uris): Likewise.
	(gtk_file_chooser_set_shortcut_folders): Removed.
	(gtk_file_chooser_list_shortcut_folders): Return a list of
	strings, not of GtkFilePath*.
	(gtk_file_chooser_list_shortcut_folder_uris): New function.
	(gtk_file_chooser_add_shortcut_folder): New function.
	(gtk_file_chooser_remove_shortcut_folder): New function.
	(gtk_file_chooser_add_shortcut_folder_uri): New function.
	(gtk_file_chooser_remove_shortcut_folder_uri): New function.
	(_gtk_file_chooser_add_shortcut_folder): New function.
	(_gtk_file_chooser_remove_shortcut_folder): New function.

	* gtkfilechooser.h: New enum.

	* gtkfilechooser.c (gtk_file_chooser_error_quark): New function.

	* gtkfilesystem.c (gtk_file_system_get_supports_bookmarks): Removed.
	(gtk_file_system_set_bookmarks): Removed.
	(gtk_file_system_add_bookmark): New function.
	(gtk_file_system_remove_bookmark): New function.

	* gtkfilesystemunix.c
	(gtk_file_system_unix_get_supports_bookmarks): Removed.
	(gtk_file_system_unix_set_bookmarks): Removed.
	(gtk_file_system_unix_add_bookmark): Just a stub for now.
	(gtk_file_system_unix_remove_bookmark): Likewise.

	* testfilechooser.c (main): Add a shortcut for testing purposes.
2003-10-18 04:29:40 +00:00
..
test-images image files for testing pixbuf loaders the old test-loaders.c split into 2002-05-05 00:59:42 +00:00
.cvsignore Add stresstest-toolbar 2003-07-18 07:50:54 +00:00
3DRings.xpm Initial revision 1997-11-24 22:37:52 +00:00
apple-red.png Insert cast to fix warning. Assign something to old_value to quiet gcc 2003-07-03 01:02:04 +00:00
check-n.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
check-y.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
circles.xbm gtk/gtktext.c 1998-02-27 06:13:22 +00:00
FilesQueue.xpm Initial revision 1997-11-24 22:37:52 +00:00
Makefile.am Landing the new ComboBox. Note that only gtkcombobox.h and 2003-09-26 21:57:06 +00:00
makefile.msc new file to build it all ... added to EXTRA_DIST 2003-07-20 15:50:14 +00:00
marble.xpm Initial revision 1997-11-24 22:37:52 +00:00
merge-1.ui Test handling of empty menus. 2003-09-30 20:55:24 +00:00
merge-2.ui Test handling of empty menus. 2003-09-30 20:55:24 +00:00
merge-3.ui Change the XML format: <Root> element is replaced by <ui>, <menu> element 2003-08-27 22:22:28 +00:00
Modeller.xpm Initial revision 1997-11-24 22:37:52 +00:00
pixbuf-lowmem.c image files for testing pixbuf loaders the old test-loaders.c split into 2002-05-05 00:59:42 +00:00
pixbuf-random.c image files for testing pixbuf loaders the old test-loaders.c split into 2002-05-05 00:59:42 +00:00
pixbuf-randomly-modified.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
pixbuf-read.c image files for testing pixbuf loaders the old test-loaders.c split into 2002-05-05 00:59:42 +00:00
prop-editor.c These files still use option menus, so turn off GTK_DISABLE_DEPRECATED to 2003-10-11 22:21:04 +00:00
prop-editor.h Make it work, even if the window is already realized or mapped. 2002-04-30 23:44:14 +00:00
simple.c marshaller fixes. 2001-03-07 14:49:21 +00:00
stresstest-toolbar.c remove this accidentally committed file. 2003-07-04 17:38:08 +00:00
test.xpm Initial revision 1997-11-24 22:37:52 +00:00
testactions.c Add value parameter to allow setting the currently selected group member 2003-09-15 19:51:55 +00:00
testcalendar.c Use g_date_strftime(), fixing #74745. (Alper Ersoy) 2002-11-07 20:11:47 +00:00
testcombo.c implement the GtkCellLayout interface, drop packing/attribute/cell data 2003-10-01 20:51:54 +00:00
testdnd.c Use g_setenv() instead of putenv(). 2003-08-02 21:35:44 +00:00
testfilechooser.c Removed. (gtk_file_system_gnome_vfs_set_bookmarks): Removed. 2003-10-18 04:29:40 +00:00
testgtk.1 Added gtk/testgtk.1 man page for testgtk 1998-03-24 04:01:21 +00:00
testgtk.c Add table menu tests. 2003-09-11 21:02:24 +00:00
testgtkrc Add a --screen option for setting the default screen. (Based on a patch 2002-10-31 21:12:23 +00:00
testgtkrc2 Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
testicontheme.c Add a test program from gnome-desktop. 2003-07-03 21:26:35 +00:00
testinput.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testmenus.c Still uses option menus, so turn off GTK_DISABLE_DEPRECATED. 2003-10-13 17:43:48 +00:00
testmerge.c Introduce a separate "hide_if_empty" property for empty menu handling. 2003-10-01 19:07:36 +00:00
testmultidisplay.c Don't include strings.h, it's not needed anymore. (#112388) 2003-05-06 21:33:22 +00:00
testmultiscreen.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testrgb.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testselection.c add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. 2002-11-20 01:07:33 +00:00
testsocket_child.c For XEMBED embedding add a _XEMBED_INFO property to the client with 2001-07-03 14:14:30 +00:00
testsocket_common.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testsocket.c Remove an extraneous unref. (#122336, Frederic Crozat) 2003-10-05 22:00:49 +00:00
testtext.c Turn off GTK_DISABLE_DEPRECATED, since this test uses the 2003-09-26 23:33:46 +00:00
testtextbuffer.c #include <stdlib.h> for putenv, <string.h> for strlen. 2003-01-09 02:38:13 +00:00
testthreads.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
testtoolbar.c connect to "delete_event" so the application will actually quit when you 2003-08-31 22:32:49 +00:00
testtreecolumns.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testtreeedit.c demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c 2003-02-28 01:45:51 +00:00
testtreeflow.c the rand variable should be static to avoid conflicts with rand(). 2002-12-19 02:38:27 +00:00
testtreefocus.c demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c 2003-02-28 01:45:51 +00:00
testtreesort.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testtreeview-plan.txt handle case where there are no rows in the model 2001-01-09 17:45:34 +00:00
testtreeview.c These files still use option menus, so turn off GTK_DISABLE_DEPRECATED to 2003-10-11 22:21:04 +00:00
testxinerama.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
treestoretest.c Deprecation cleanup 2002-10-13 23:22:33 +00:00