diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-08-17 16:06:39 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-08-17 16:06:39 +0000 |
commit | a3aa10e5a67aaa83643a39c24016dfad0b725bd8 (patch) | |
tree | 4497f255969421c5b1c18fb536019c5193a31bfa /gtk/gtkfilechooserdefault.c | |
parent | 36dfdad411fa8bbb8d13670210a3d247b185ae52 (diff) | |
download | gtk+-a3aa10e5a67aaa83643a39c24016dfad0b725bd8.tar.gz |
New widget to go along with GtkFontButton and GtkColorButton for use in
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.[hc]: New widget to go along with
GtkFontButton and GtkColorButton for use in preference dialogs.
Replaces GnomeFileEntry. (#148108, James M. Cape)
* gtk/gtk.h: Include gtkfilechooserbutton.h
* gtk/Makefile.am (gtk_public_h_sources): Add gtkfilechooserbutton.h
(gtk_c_sources): Add gtkfilechooserbutton.c
* gtk/gtk.symbols: Add the GtkFileChooserButton symbols.
* gtk/gtkfilechooserutils.[hc]: Make the delegate quark available.
* gtk/gtkfilechooserentry.[hc] (_gtk_file_chooser_entry_new): Allow
to suppress tab-eating using the new eat_tabs argument. Adjust all
callers.
* tests/testfilechooserbutton.c: Test for GtkFileChooserButton.
* tests/Makefile.am (noinst_PROGRAMS): Add testfilechooserbutton
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r-- | gtk/gtkfilechooserdefault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index f0a9225410..80defef934 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -3172,7 +3172,7 @@ save_widgets_create (GtkFileChooserDefault *impl) 0, 0); gtk_widget_show (widget); - impl->save_file_name_entry = _gtk_file_chooser_entry_new (); + impl->save_file_name_entry = _gtk_file_chooser_entry_new (TRUE); _gtk_file_chooser_entry_set_file_system (GTK_FILE_CHOOSER_ENTRY (impl->save_file_name_entry), impl->file_system); gtk_entry_set_width_chars (GTK_ENTRY (impl->save_file_name_entry), 45); @@ -5467,7 +5467,7 @@ location_entry_create (GtkFileChooserDefault *impl) { GtkWidget *entry; - entry = _gtk_file_chooser_entry_new (); + entry = _gtk_file_chooser_entry_new (TRUE); /* Pick a good width for the entry */ gtk_entry_set_width_chars (GTK_ENTRY (entry), 30); gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE); |