Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/glade/ChangeLog,v
retrieving revision 1.199
diff -u -u -r1.199 ChangeLog
--- ChangeLog	5 Feb 2004 22:57:01 -0000	1.199
+++ ChangeLog	9 Feb 2004 12:14:22 -0000
@@ -1,3 +1,11 @@
+2004-02-09  Fernando Herrera  <fherrera@onirica.com>
+
+	* glade/gnome/gnomefileentry.c:
+	(gb_gnome_file_entry_create_properties),
+	(gb_gnome_file_entry_get_properties),
+	(gb_gnome_file_entry_set_properties): Add support for
+	"use_filechooser" new propertie.
+
 2004-02-05  Robert Sedak  <robert.sedak@sk.htnet.hr>
 
         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
Index: glade/gnome/gnomefileentry.c
===================================================================
RCS file: /cvs/gnome/glade/glade/gnome/gnomefileentry.c,v
retrieving revision 1.5
diff -u -u -r1.5 gnomefileentry.c
--- glade/gnome/gnomefileentry.c	30 Oct 2003 18:31:21 -0000	1.5
+++ glade/gnome/gnomefileentry.c	9 Feb 2004 12:14:25 -0000
@@ -35,6 +35,7 @@
 static gchar *MaxSaved = "GnomeFileEntry|GnomeEntry::max_saved";
 static gchar *Title = "GnomeFileEntry::browse_dialog_title";
 static gchar *Modal = "GnomeFileEntry::modal";
+static gchar *FileChooser = "GnomeFileEntry::use_filechooser";
 
 
 /******
@@ -83,6 +84,8 @@
 		     _("If a directory is needed rather than a file"));
   property_add_bool (Modal, _("Modal:"),
 		     _("If the file selection dialog should be modal"));
+  property_add_bool (FileChooser, _("Use FileChooser:"),
+		     _("Use the new FileChooser instead of FileSelector"));
 }
 
 
@@ -95,6 +98,7 @@
 gb_gnome_file_entry_get_properties (GtkWidget *widget, GbWidgetGetArgData * data)
 {
   GtkWidget *gentry;
+  gboolean   value;
 
   gentry = gnome_file_entry_gnome_entry (GNOME_FILE_ENTRY (widget));
 
@@ -105,6 +109,8 @@
 			 gnome_file_entry_get_directory_entry (GNOME_FILE_ENTRY (widget)));
   gb_widget_output_bool (data, Modal,
 			 gnome_file_entry_get_modal (GNOME_FILE_ENTRY (widget)));
+  g_object_get (G_OBJECT (widget), "use_filechooser", &value, NULL); 
+  gb_widget_output_bool (data, FileChooser, value);
 }
 
 
@@ -119,7 +125,7 @@
   GtkWidget *gentry;
   gchar *history_id, *title;
   gint max_saved;
-  gboolean directory, modal;
+  gboolean directory, modal, use_filechooser;
 
   gentry = gnome_file_entry_gnome_entry (GNOME_FILE_ENTRY (widget));
 
@@ -149,6 +155,10 @@
   modal = gb_widget_input_bool (data, Modal);
   if (data->apply)
     gnome_file_entry_set_modal (GNOME_FILE_ENTRY (widget), modal);
+
+  use_filechooser = gb_widget_input_bool (data, FileChooser);
+  if (data->apply)
+    g_object_set (G_OBJECT (widget), "use_filechooser", use_filechooser, NULL);
 }
 
 
