1. 04 Jul, 2015 1 commit
    • Matthias Clasen's avatar
      file chooser entry: Capture Escape and emit :hide-entry · 9b5e00b3
      Matthias Clasen authored
      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.
      9b5e00b3
  2. 27 Feb, 2012 1 commit
  3. 16 Dec, 2011 3 commits
  4. 21 Jan, 2009 1 commit
    • Federico Mena Quintero's avatar
      Add a local_only property to GtkFileChooserEntry · 2c07a59e
      Federico Mena Quintero authored
      	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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=22156
      2c07a59e
  5. 01 Jul, 2008 1 commit
  6. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      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
      fce9c8b7
  7. 24 Jun, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.h · a13f698b
      Michael Natterer authored
      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
      a13f698b
  8. 10 Jun, 2008 1 commit
    • Carlos Garnacho's avatar
      Bug 520874 - Should use gio directly. · 640d6877
      Carlos Garnacho authored
      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
      640d6877
  9. 12 Feb, 2008 1 commit
    • Matthias Clasen's avatar
      Skip exensions when selecting filenames in the save-as dialog. (#362516, · 4118dd89
      Matthias Clasen authored
      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
      4118dd89
  10. 01 May, 2006 1 commit
    • Kristian Rietveld's avatar
      Merge of the GTK+ asynchronous file chooser branch. Please see the · 2c97a8f6
      Kristian Rietveld authored
      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.
      2c97a8f6
  11. 28 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · c50066b4
      Matthias Clasen authored
      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.
      c50066b4
  12. 17 Sep, 2004 1 commit
    • Matthias Clasen's avatar
      Remove leftover debug code. · 350559de
      Matthias Clasen authored
      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.
      350559de
  13. 17 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      New widget to go along with GtkFontButton and GtkColorButton for use in · a3aa10e5
      Matthias Clasen authored
      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
      a3aa10e5
  14. 04 Apr, 2003 1 commit
    • Owen Taylor's avatar
      Move interface definition into a private header so it can refer to · bc3fb55c
      Owen Taylor authored
      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.
      bc3fb55c
  15. 25 Mar, 2003 1 commit