diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-10-23 04:22:32 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-10-23 04:22:32 +0000 |
commit | b3bae3b40ab92ad5a5dab65da3c3440efae975d4 (patch) | |
tree | 9301956750d991c3fe99e7862c44fbc104aa44a8 /tests/testfilechooser.c | |
parent | 3724a591d822c3bc53ce829407a142e19d418acf (diff) | |
download | gtk+-b3bae3b40ab92ad5a5dab65da3c3440efae975d4.tar.gz |
gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework
Wed Oct 22 23:20:04 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch]
gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
Basic framework for the new file selector widget.
* gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch]
gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
Initial implementation of the GtkFileChooser user interface.
* gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
for Unix files.
* configure.in gtk/Makefile.am gtk/xdgmime: Build code
for freedesktop.org MIME system on Unix.
* tests/testfilechooser.c: Test program for GtkFileChooser
* tests/prop-editor.c: Add support for properties on interfaces.
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r-- | tests/testfilechooser.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c index 5ec115d897..d813549536 100644 --- a/tests/testfilechooser.c +++ b/tests/testfilechooser.c @@ -6,16 +6,8 @@ #include <unistd.h> #include <gtk/gtk.h> -#include "gtkfilechooserdialog.h" -#include "gtkfilechooser.h" #include "prop-editor.h" -#ifdef USE_GNOME_VFS -#include "gtkfilesystemgnomevfs.h" -#else -#include "gtkfilesystemunix.h" -#endif - static GtkWidget *preview_label; static GtkWidget *preview_image; @@ -300,22 +292,14 @@ main (int argc, char **argv) GtkWidget *button; GtkWidget *dialog; GtkWidget *prop_editor; - GtkFileSystem *file_system; GtkFileFilter *filter; GtkWidget *preview_vbox; GtkWidget *extra; gtk_init (&argc, &argv); -#ifdef USE_GNOME_VFS - file_system = gtk_file_system_gnome_vfs_new (); -#else - file_system = gtk_file_system_unix_new (); -#endif - dialog = g_object_new (GTK_TYPE_FILE_CHOOSER_DIALOG, "action", GTK_FILE_CHOOSER_ACTION_OPEN, - "file-system", file_system, "title", "Select a file", NULL); |