diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-09-17 18:13:26 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-17 18:13:26 +0000 |
commit | 350559dea8f48114796c2c895dab0d0cb66413d2 (patch) | |
tree | c74d1f188236d749701d1fc8b910e15dbdcabf2b /gtk/gtkfilechooserbutton.c | |
parent | 4e7e40493853047d2bc91d1b4c4bd00ba8405d19 (diff) | |
download | gtk+-350559dea8f48114796c2c895dab0d0cb66413d2.tar.gz |
Remove leftover debug code.
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove
leftover debug code.
Improve the behaviour of the file chooser in save mode. Fixes bugs
#151031, #151608, #151994 reported by Owen Taylor and Alexander
Larsson.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
(location_entry_create): Propagate the action to the file
chooser entries.
(gtk_file_chooser_default_should_respond): Switch folders if
the user enters a directory name in the entry and clear the entry
after switching folders.
(gtk_file_chooser_default_should_respond, shortcuts_row_activated_cb):
Move focus to the file list when activating a shortcut.
(gtk_file_chooser_default_should_respond): Handle the case where the
user clicks on "Save" after selecting a folder in the file list.
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
Propagate the action to the file chooser entries.
* gtk/gtkfilechooserentry.h:
* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action):
(_gtk_file_chooser_entry_get_action): New functions to propagate
the GtkFileChooserAction of the file chooser to the file chooser
entry.
(check_completion_callback): If we are in save mode, only do
inline completion for directories.
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r-- | gtk/gtkfilechooserbutton.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index 27bb1f47b4..17490fd972 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -340,6 +340,7 @@ gtk_file_chooser_button_set_property (GObject *object, case GTK_FILE_CHOOSER_PROP_ACTION: g_object_set_property (G_OBJECT (priv->dialog), pspec->name, value); + _gtk_file_chooser_entry_set_action (priv->entry, g_value_get_enum (value)); switch (g_value_get_enum (value)) { |