diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-02-12 17:34:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-02-12 17:34:43 +0000 |
commit | 4118dd893f66ed85565c06a1c2150c4dee8f4b92 (patch) | |
tree | b5d8ab0ec7d607ca7fb0296e7659b9bd67ee02a5 /gtk/gtkfilechooserentry.h | |
parent | 0c2788943f6ecff1de7baeb23e958d02661ef60e (diff) | |
download | gtk+-4118dd893f66ed85565c06a1c2150c4dee8f4b92.tar.gz |
Skip exensions when selecting filenames in the save-as dialog. (#362516,
2008-02-12 Matthias Clasen <mclasen@redhat.com>
Skip exensions when selecting filenames in the save-as dialog.
(#362516, Carlos Garnacho)
* gtk/gtkfilechooserentry.h:
* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
New function to skip the extension part when selecting a filename.
(_gtk_file_chooser_entry_set_base_folder): Use it here.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
...and here.
svn path=/trunk/; revision=19540
Diffstat (limited to 'gtk/gtkfilechooserentry.h')
-rw-r--r-- | gtk/gtkfilechooserentry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserentry.h b/gtk/gtkfilechooserentry.h index 19d06b87c9..755e043217 100644 --- a/gtk/gtkfilechooserentry.h +++ b/gtk/gtkfilechooserentry.h @@ -48,6 +48,7 @@ const GtkFilePath *_gtk_file_chooser_entry_get_current_folder (GtkFileChooserEnt const gchar * _gtk_file_chooser_entry_get_file_part (GtkFileChooserEntry *chooser_entry); gboolean _gtk_file_chooser_entry_get_is_folder (GtkFileChooserEntry *chooser_entry, const GtkFilePath *path); +void _gtk_file_chooser_entry_select_filename (GtkFileChooserEntry *chooser_entry); G_END_DECLS |