summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.h
Commit message (Collapse)AuthorAgeFilesLines
* file chooser entry: Capture Escape and emit :hide-entryMatthias Clasen2015-07-041-1/+2
| | | | | | | | | | | Make the file chooser entry optionally capture Escape and emit a signal. Make the file chooser widget hide the entry on that signal and go back to the path bar. This gives us a two-level undo: location entry -> path bar -> dialog close. When the location entry is permanently displayed in the header for save mode, we still let the first Escape close the dialog.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* filechooserentry: Remove _gtk_file_chooser_entry_set_file_part()Benjamin Otte2011-12-161-2/+0
| | | | gtk_entry_set_text() is fine.
* filechooserentry: Remove file_system argumentBenjamin Otte2011-12-161-2/+1
| | | | It's not needed anymore.
* filechooserentry: Make the filesystem a construct-only argumentBenjamin Otte2011-12-161-3/+2
| | | | This allows simplifications in the code.
* Add a local_only property to GtkFileChooserEntryFederico Mena Quintero2009-01-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Patch by Carlos Garnacho <carlos@imendio.com> - add a local_only property to GtkFileChooserEntry: * gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Add a local_only field. (_gtk_file_chooser_entry_init): Default to local_only being true. (start_explicit_completion): Don't allow completion of non-native files if local_only is turned on. (start_loading_current_folder): Don't start loading non-native folders if local_only is turned on. (_gtk_file_chooser_entry_set_local_only): New function. (_gtk_file_chooser_entry_get_local_only): New function. * gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_set_local_only, _gtk_file_chooser_entry_get_local_only): New prototypes. * gtk/gtkfilechooserdefault.c (set_local_only): Set the local_only property on the entry. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=22156
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.hMichael Natterer2008-06-241-1/+0
| | | | | | | | | | | | | | | | | | 2008-06-24 Michael Natterer <mitch@imendio.com> * gtk/gtkassistant.h * gtk/gtkcellrenderer.h * gtk/gtkfilechooserentry.h * gtk/gtkprivate.h * gtk/gtktooltip.h * gtk/gtktreeview.h * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h if there is any other widget included, they all have to include their respective parent classes (the is-a relation works for includes too). svn path=/trunk/; revision=20679
* Bug 520874 - Should use gio directly.Carlos Garnacho2008-06-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-10 Carlos Garnacho <carlos@imendio.com> Bug 520874 - Should use gio directly. * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly provides helper functions for asynchronous calls, folder abstraction and uniform handling of volumes/drives/mounts. * gtk/gtkfilesystemwin32.[ch]: * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required. * gtk/gtkfilechooser.c: * gtk/gtkfilechooserbutton.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkfilechooserentry.[ch]: * gtk/gtkfilechooserprivate.h: * gtk/gtkfilechooserutils.c: * gtk/gtkfilesystemmodel.[ch]: * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API. Do not load filesystem implementation modules. * gtk/Makefile.am: * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed anymore, nor the unix/win32 implementations. * README.in: Add blurb about these changes. svn path=/trunk/; revision=20342
* Skip exensions when selecting filenames in the save-as dialog. (#362516,Matthias Clasen2008-02-121-0/+1
| | | | | | | | | | | | | | | | | | 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
* Merge of the GTK+ asynchronous file chooser branch. Please see theAFTER_KRIS_ASYNC_BRANCH_MERGEKristian Rietveld2006-05-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-01 Kristian Rietveld <kris@imendio.com> Merge of the GTK+ asynchronous file chooser branch. Please see the kris-asynch-branch for more detailed ChangeLog entries. * configure.in: increase binary version to 2.9.0. * gtk.symbols: * gtkfilechooser.c: * gtkfilechooserbutton.c: * gtkfilechooserdefault.c: * gtkfilechooserdialog.c: * gtkfilechooserembed.c: * gtkfilechooserembed.h: * gtkfilechooserentry.c: * gtkfilechooserentry.h: * gtkfilechooserprivate.h: * gtkfilesystem.c: * gtkfilesystem.h: * gtkfilesystemmodel.c: * gtkfilesystemmodel.h: * gtkfilesystemunix.c: * gtkpathbar.c: * gtkpathbar.h: Merge from kris-async-branch.
* Mark as const.Matthias Clasen2004-11-281-1/+1
| | | | | | | | | | | | | | | | | | 2004-11-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.h (gtk_requisition_get_type): * gtk/gtktypeutils.h (gtk_identifier_get_type): * gtk/gtktexttag.h (gtk_text_attributes_get_type): * gtk/gtkstyle.h (gtk_border_get_type): * gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type): * gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type): * gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type): * gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type): * gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const. * gtk/gtk.symbols: * gtk/Makefile.am: Mark get_type() functions generated by glib-mkenums as const.
* Remove leftover debug code.Matthias Clasen2004-09-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* New widget to go along with GtkFontButton and GtkColorButton for use inMatthias Clasen2004-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Move interface definition into a private header so it can refer toOwen Taylor2003-04-041-10/+10
| | | | | | | | | | | | | | Fri Apr 4 17:30:27 2003 Owen Taylor <otaylor@redhat.com> * gtkfilechooserprivate.h gtkfilechooser.h: Move interface definition into a private header so it can refer to GtkFileSystem. * *.[ch]: Switch over from using gchar *uri internally to using GtkFilePath * internally, and add conversion routines to GtkFileSystem. * TODO README: Updates.
* Add GtkFileSystem::parse, and a chooser entry with completionOwen Taylor2003-03-251-0/+48