1. 08 Jul, 2016 1 commit
  2. 07 Feb, 2014 1 commit
  3. 10 Nov, 2013 1 commit
    • Matthias Clasen's avatar
      Move a function around · 2b177587
      Matthias Clasen authored
      _Gtk_file_chooser_label_for_file is not actually
      used in gtkfilechooserdefault.c anymore, so move
      it to a better place.
      2b177587
  4. 19 Jun, 2013 1 commit
  5. 24 Jan, 2013 1 commit
  6. 27 Feb, 2012 1 commit
  7. 02 Jul, 2011 2 commits
  8. 10 Jul, 2010 1 commit
  9. 02 May, 2010 1 commit
  10. 30 Jul, 2009 1 commit
  11. 19 Jun, 2009 1 commit
    • Federico Mena Quintero's avatar
      bgo#586315 - gtk_file_chooser_list_shortcut_folders() was crashing · 3d527afa
      Federico Mena Quintero authored
      The virtual method list_shortcut_folders returns a GSList * of GFile *.
      In turn, gtk_file_chooser_list_shortcut_folders() converts those to strings.
      
      However, the delegate in gtkfilechooserutils.c was calling
      gtk_file_chooser_list_shortcut_folders() every time, so we were trying
      to convert invalid data.
      
      Now we have an internal function that deals with GFile *.  That
      function is called by the delegate, and the conversion is done only
      once by the API entry points.
      Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>
      3d527afa
  12. 04 Aug, 2008 1 commit
    • Carlos Garnacho's avatar
      Make GFile-oriented API public. Fixes #545978. · 02c65db5
      Carlos Garnacho authored
      2008-08-04  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
              #545978.
              * gtk/gtkfilechooserbutton.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkfilechooserutils.c: Update to use public GFile API.
      
      svn path=/trunk/; revision=20971
      02c65db5
  13. 01 Jul, 2008 1 commit
  14. 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
  15. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  16. 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
  17. 10 Sep, 2006 1 commit
  18. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  19. 31 Aug, 2005 1 commit
  20. 15 Jul, 2005 1 commit
    • Federico Mena Quintero's avatar
      Add overwrite confirmation for SAVE mode. Fixes bug #152850: · fb7d6ac4
      Federico Mena Quintero authored
      2005-07-14  Federico Mena Quintero  <federico@ximian.com>
      
      	Add overwrite confirmation for SAVE mode.  Fixes bug #152850:
      
      	* gtk/gtkfilechooser.h: Add prototypes for
      	gtk_file_chooser_set/get_do_overwrite_confirmation().
      	(GtkFileChooserConfirmation): New enum for the result of the
      	"confirm-overwrite" signal.
      
      	* gtk/gtkmarshalers.list: Add ENUM:VOID.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
      	"do-overwrite-confirmation" boolean property.
      	(gtk_file_chooser_set_do_overwrite_confirmation): Implement.
      	(gtk_file_chooser_get_do_overwrite_confirmation): Implement.
      	(confirm_overwrite_accumulator): New accumulator for the signal.
      
      	* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add
      	GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.
      
      	* gtk/gtkfilechooserutils.c
      	(_gtk_file_chooser_install_properties): Override the
      	do-overwrite-confirmation property.
      
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add a
      	confirm_overwrite signal to the vtable.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_property): Handle the new property.
      	(gtk_file_chooser_default_get_property): Likewise.
      	(get_selected_file_info_from_file_list): New helper function; code
      	taken from list_selection_changed().
      	(list_selection_changed): Use get_selected_file_info_from_file_list().
      	(should_respond_after_confirm_overwrite): New function.
      	(gtk_file_chooser_default_should_respond): Confirm when necessary.
      fb7d6ac4
  21. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  22. 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
  23. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  24. 06 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Use the less efficient g_object_interface_find_property () instead of the · 2a74feb0
      Matthias Clasen authored
      Mon Jul  5 23:47:38 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserutils.c (delegate_notify): Use
      	the less efficient g_object_interface_find_property () instead
      	of the param_id range check, since the GParamSpecs we're
      	dealing with are the overridden onces on the interface, whose
      	param_id is always zero.  (#145312, Alex Roitman, fix proposed
      	by Owen Taylor)
      2a74feb0
  25. 31 May, 2004 1 commit
    • Matthias Clasen's avatar
      Fix a typo. · 83f413b1
      Matthias Clasen authored
      Mon May 31 00:27:33 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Fix
      	a typo.
      
      Mon May 31 00:23:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_preview_widget):
      	Refer to ::update-preview, not ::selection-changed.
      83f413b1
  26. 06 Mar, 2004 1 commit
  27. 05 Mar, 2004 1 commit
    • Federico Mena Quintero's avatar
      Add gboolean return values and GError arguments to ::set_current_folder() · 385bd6a5
      Federico Mena Quintero authored
      2004-03-05  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
      	gboolean return values and GError arguments to
      	::set_current_folder() and ::select_path().
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder):
      	Return a boolean value for success/failure.
      	(gtk_file_chooser_set_current_folder_uri): Likewise.
      	(gtk_file_chooser_select_filename): Likewise.
      	(gtk_file_chooser_select_uri): Likewise.
      	(gtk_file_chooser_set_filename): Likewise.
      	(gtk_file_chooser_set_uri): Likewise.
      	(_gtk_file_chooser_set_current_folder_path): Likewise, plus take
      	in a GError.
      	(_gtk_file_chooser_select_path): Likewise.
      
      	* gtk/gtkfilechooserutils.c (delegate_set_current_folder):
      	Likewise.
      	(delegate_select_path): Likewise.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_select_path): Likewise.
      	(gtk_file_chooser_default_set_current_folder): Likewise.
      	(error_changing_folder_dialog): New helper function.
      	(change_folder_and_display_error): New helper function.
      	(switch_to_selected_folder): Use change_folder_and_display_error().
      	(tree_selection_changed): Likewise.
      	(shortcuts_activate_volume): Likewise.
      	(shortcuts_activate_item): Likewise.
      	(list_row_activated): Likewise.
      	(path_bar_clicked): Likewise.
      	(update_from_entry): Likewise.
      	(up_folder_handler): Likewise.
      	(home_folder_handler): Get the home path from the shortcuts model,
      	and use change_folder_and_display_error().
      
      	* tests/testfilechooser.c (set_current_folder): New helper
      	function; pops up a simple error dialog if necessary.
      	(set_filename): Likewise.
      	(set_folder_nonexistent_cb): Use set_current_folder().
      	(set_folder_existing_nonexistent_cb): Likewise.
      	(set_filename_nonexistent_cb): Use set_filename().
      	(set_filename_existing_nonexistent_cb): Likewise.
      385bd6a5
  28. 29 Feb, 2004 1 commit
    • Federico Mena Quintero's avatar
      Handle GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL. · 17e840f7
      Federico Mena Quintero authored
      2004-02-29  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_property): Handle
      	GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
      	(gtk_file_chooser_default_get_property): Likewise.
      	(struct _GtkFileChooserDefault): Added fields for preview_label,
      	use_preview_label, preview_display_name, preview_box.  Removed
      	preview_frame.
      	(set_preview_widget): Reorder the widget in relation to the label.
      	(update_preview_widget_visibility): Create or destroy the preview
      	label.
      	(check_preview_change): Update impl->preview_display_name and the
      	label.
      	(find_good_size_from_style): Use the preview_box.
      	(gtk_file_chooser_default_finalize): Free
      	impl->preview_display_name.
      	(gtk_file_chooser_default_init): Initialize
      	impl->use_preview_label.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
      	"use-preview-label" property.
      	(gtk_file_chooser_set_use_preview_label): New function.  This sets
      	whether one wants the file chooser to display a stock label with
      	the previewed filename.  Apps that do really fancy previews can
      	turn this off and draw the name themselves.
      	(gtk_file_chooser_get_use_preview_label): New function.
      	(gtk_file_chooser_get_preview_widget_active): Documentation fix.
      
      	* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add a
      	GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL value.
      
      	* gtk/gtkfilechooserutils.c
      	(_gtk_file_chooser_install_properties): Override the
      	"use-preview-label" property.
      17e840f7
  29. 27 Feb, 2004 1 commit
    • Jonathan Blandford's avatar
      remove folder-mode property. · 528b02a8
      Jonathan Blandford authored
      Fri Feb 27 15:06:00 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): remove
              folder-mode property.
      
              * gtk/gtkfilechooserutils.c
              (_gtk_file_chooser_install_properties): remove FOLDER_MODE property.
      528b02a8
  30. 19 Feb, 2004 1 commit
    • Alexander Larsson's avatar
      Remove old file-system property. Add new file-system-backend string · 824548f1
      Alexander Larsson authored
      2004-02-19  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkfilechooser.c: (gtk_file_chooser_class_init):
      	* gtk/gtkfilechooserutils.c:
      	* gtk/gtkfilechooserutils.h:
      	* gtk/gtkfilechooserwidget.c:
      	Remove old file-system property.
      	Add new file-system-backend string property
      
      	* gtk/gtkfilechooserdefault.[ch]:
      	Handle the file-system-backend property
      
      	* gtk/gtkfilechooserdialog.[ch]:
      	(gtk_file_chooser_dialog_new_with_backend):
      	Remove old file-system property.
      	Add new file-system-backend string property
      	Add new function gtk_file_chooser_dialog_new_with_backend
      
      	* gtk/gtkfilesystem.c:
      	* gtk/gtkfilesystem.h:
      	Add filesystem module support.
      824548f1
  31. 29 Oct, 2003 1 commit
  32. 23 Oct, 2003 1 commit
    • Owen Taylor's avatar
      gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework · b3bae3b4
      Owen Taylor authored
      Wed Oct 22 23:20:04 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch]
              gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
              gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
              Basic framework for the new file selector widget.
      
              * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch]
              gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
              Initial implementation of the GtkFileChooser user interface.
      
              * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
              for Unix files.
      
              * configure.in gtk/Makefile.am gtk/xdgmime: Build code
              for freedesktop.org MIME system on Unix.
      
              * tests/testfilechooser.c: Test program for GtkFileChooser
      
              * tests/prop-editor.c: Add support for properties on interfaces.
      b3bae3b4
  33. 18 Oct, 2003 1 commit
    • Federico Mena Quintero's avatar
      Removed. (gtk_file_system_gnome_vfs_set_bookmarks): Removed. · b49a5ec5
      Federico Mena Quintero authored
      2003-10-17  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilesystemgnomevfs.c
      	(gtk_file_system_gnome_vfs_get_supports_bookmarks): Removed.
      	(gtk_file_system_gnome_vfs_set_bookmarks): Removed.
      	(gtk_file_system_gnome_vfs_add_bookmark): Implement.
      	(gtk_file_system_gnome_vfs_remove_bookmark): Implement.
      
      	* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Replaced
      	the ::set_shortcut_folders() method with :;add_shortcut_folder()
      	and ::remove_shortcut_folder().
      
      	* gtkfilechooserutils.c (delegate_add_shortcut_folder): New function.
      	(delegate_remove_shortcut_folder): New function.
      	(delegate_list_shortcut_folders): New function.
      
      	* gtkfilechooserimpldefault.c (create_shortcuts_model): Insert the
      	Desktop directory as well.
      	(shortcuts_insert_path): Renamed from shortcuts_append_path; now
      	takes a position index instead of a parent node iter.  Also takes
      	a GError argument.
      	(struct _GtkFileChooserImplDefault): Removed the shortcuts_folder
      	list.  It is all kept in the model now.
      	(shortcuts_append_home): Save whether adding a shortcut for the
      	home directory was successful.
      	(shortcuts_append_desktop): Likewise for the desktop.
      	(shortcuts_append_file_system_roots): Count and save the number of
      	roots added.
      	(shortcuts_append_shortcut_folders): Removed.
      	(gtk_file_chooser_impl_default_add_shortcut_folder): Implement.
      	(shortcuts_append_bookmarks): Now that we don't have a bookmarks
      	parent node, don't expand the tree.
      	(add_bookmark_button_clicked_cb): Use gtk_file_system_add_bookmark().
      	(remove_bookmark_button_clicked_cb): Use gtk_file_system_remove_bookmark().
      	(gtk_file_chooser_impl_default_list_shortcut_folders): Get the
      	folders from the shortcuts model; we no longer keep a separate list.
      
      	* gtkfilesystem.h (struct _GtkFileSystemIface): Oops, there
      	shouldn't be shortcuts-related virtual methods here.
      
      	* gtkfilechooser.c (file_paths_to_strings): New helper function.
      	(gtk_file_chooser_get_filenames): Use file_paths_to_strings().
      	(gtk_file_chooser_get_uris): Likewise.
      	(gtk_file_chooser_set_shortcut_folders): Removed.
      	(gtk_file_chooser_list_shortcut_folders): Return a list of
      	strings, not of GtkFilePath*.
      	(gtk_file_chooser_list_shortcut_folder_uris): New function.
      	(gtk_file_chooser_add_shortcut_folder): New function.
      	(gtk_file_chooser_remove_shortcut_folder): New function.
      	(gtk_file_chooser_add_shortcut_folder_uri): New function.
      	(gtk_file_chooser_remove_shortcut_folder_uri): New function.
      	(_gtk_file_chooser_add_shortcut_folder): New function.
      	(_gtk_file_chooser_remove_shortcut_folder): New function.
      
      	* gtkfilechooser.h: New enum.
      
      	* gtkfilechooser.c (gtk_file_chooser_error_quark): New function.
      
      	* gtkfilesystem.c (gtk_file_system_get_supports_bookmarks): Removed.
      	(gtk_file_system_set_bookmarks): Removed.
      	(gtk_file_system_add_bookmark): New function.
      	(gtk_file_system_remove_bookmark): New function.
      
      	* gtkfilesystemunix.c
      	(gtk_file_system_unix_get_supports_bookmarks): Removed.
      	(gtk_file_system_unix_set_bookmarks): Removed.
      	(gtk_file_system_unix_add_bookmark): Just a stub for now.
      	(gtk_file_system_unix_remove_bookmark): Likewise.
      
      	* testfilechooser.c (main): Add a shortcut for testing purposes.
      b49a5ec5
  34. 11 Sep, 2003 1 commit
    • Federico Mena Quintero's avatar
      Connect to "row_activated" on the file list. (list_row_activated): New · aa22566e
      Federico Mena Quintero authored
      2003-09-10  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (create_file_list): Connect to
      	"row_activated" on the file list.
      	(list_row_activated): New function.  Changes to folders or emits
      	the "file-activated" signal depending on what type of row was
      	activated.
      	(create_folder_tree): Renamed from create_directory_tree(), since
      	"folder" is the new politically-correct name.
      
      	* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Added a
      	file-activated signal.
      
      	* gtkfilechooser.c (gtk_file_chooser_class_init): Register the
      	signal.
      
      	* gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Connect
      	to "file-activated" on the delegate.
      	(delegate_file_activated): New function.
      
      	* TODO: Added an API item about Clipart-like folders provided by
      	applications.
      aa22566e
  35. 03 Sep, 2003 2 commits
    • Owen Taylor's avatar
      Update. · a653ea3a
      Owen Taylor authored
      Wed Sep  3 15:32:26 2003  Owen Taylor  <otaylor@redhat.com>
      
              * glib-interface-propreties-{0.4,0.5}.patch: Update.
      
              * gtkfilechooserutils.c prop-editor.c: Update for
              newer interface-properties API.
      a653ea3a
    • Federico Mena Quintero's avatar
      Removed the "extra widget" bit, implemented with the following: · 36dfea8e
      Federico Mena Quintero authored
      2003-09-03  Federico Mena Quintero  <federico@ximian.com>
      
      	* TODO: Removed the "extra widget" bit, implemented with the
      	following:
      
      	* gtkfilechooser.h: Added gtk_file_chooser_{set,get}_extra_widget().
      
      	* gtkfilechooser.c (gtk_file_chooser_base_init): Install an
      	"extra-widget" interface property.
      	(gtk_file_chooser_set_extra_widget): Implemented.
      	(gtk_file_chooser_get_extra_widget): Implemented.
      
      	* gtkfilechooserutils.h (GtkFileChooserProp): Added
      	GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET.
      
      	* gtkfilechooserutils.c (_gtk_file_chooser_install_properties):
      	Added the "extra-widget" property.
      
      	* gtkfilechooserimpldefault.c (struct _GtkFileChooserImplDefault):
      	Added an extra_widget field.
      	(gtk_file_chooser_impl_default_set_property): Handle the
      	"extra-widget" property.
      	(gtk_file_chooser_impl_default_get_property): Likewise.
      	(set_preview_widget): Fix the call gtk_container_remove().  Also,
      	we don't need to ref/sink/unref the preview widget, as that gets
      	already done by container_add/remove.
      	(set_extra_widget): New utility function.
      
      	* testfilechooser.c (main): Add an extra widget.
      36dfea8e
  36. 23 Jul, 2003 2 commits
    • Owen Taylor's avatar
      Add over-big test case for preview (much of size from a modified copy of · d97d7df9
      Owen Taylor authored
      Wed Jul 23 17:52:01 2003  Owen Taylor  <otaylor@redhat.com>
      
              * testfilechooser.c: Add over-big test case for preview
              (much of size from a modified copy of
              gdk_pixbuf_new_from_file_at_size())
      
              * gtkfilechooserutils.[ch] gtkfilechooser.c
              gtkfilechooserprivate.h gtkfilechooserimpldefault.c:
              Add get_preview_path() as a virtual function; implement
              update-preview signal that was in the header file.
      
              * gtkfilechooserimpldefault.c: Finish a simple preview
              widget implementation.
      d97d7df9
    • Owen Taylor's avatar
      File filter objects. · 733f4489
      Owen Taylor authored
      Wed Jul 23 11:23:43 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtkfilefilter.[ch]: File filter objects.
      
              * gtkfilechooser.[ch] gtkfilechooserutils.[ch]: Add
              file filtering to API.
      
              * gtkfilechooserimpldefault.c: Implement file filters.
      
              * testfilechooser.c: Try out the filter functionality.
      
              * gtkfilesystemmodel.c: Add
              _gtk_file_system_model_set_filter() to set a callback
              function for filtering.
      
              * gtkfilechooserutils.c: Propagate property notification
              to the receiver.
      
              * fnmatch.c: Copy this from GTK+ temporarily to get
              UTF-8 pattern matching functionality.
      733f4489
  37. 11 Jul, 2003 1 commit
    • Owen Taylor's avatar
      Add gtk_file_chooser_set_current_name() to set the current entry contents. · 7f8ae32c
      Owen Taylor authored
      Fri Jul 11 14:37:07 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtkfilechooser.[ch] gtkfilechooserprivate.h
              gtkfilechooserimpldefault.c: Add
              gtk_file_chooser_set_current_name() to set the current
              entry contents.
      
              * *.c: Consistently use '-' not '_' in property names and
              signal names.
      
              * gtkfilechooser.c: Document all exported functions.
      7f8ae32c