1. 18 Jul, 2006 1 commit
    • Federico Mena Quintero's avatar
      Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the location · 3f498adf
      Federico Mena Quintero authored
      2006-07-18  Federico Mena Quintero  <federico@novell.com>
      
      	Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the
      	location entry in Save mode preserve the stuff from
      	set_filename(); it was overwriting it with $cwd.
      
      	This is the same fix for
      	http://bugzilla.gnome.org/show_bug.cgi?id=347066
      
      	* tests/autotestfilechooser.c: (test_black_box): Added black-box
      	test for set_filename() and set_current_name().
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_type): Cast to
      	GClassInitFunc in the call to g_type_register_static_simple(), to
      	avoid a compiler warning.
      
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
      	Added a browse_files_last_selected_name field.  We'll copy the
      	logic from gtkfilesel.c to see when to clear the location entry.
      	(struct _GtkFileChooserDefault): Removed the
      	processing_pending_selections field.
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
      	Free impl->browse_files_last_selected_name.
      	(pending_select_paths_process): Don't use
      	impl->processing_pending_selections.
      	(update_chooser_entry): Keep track of the name that was last
      	selected in the file list.  We use this to know when to clear the
      	location entry.  The logic is similar to that of
      	gtkfilesel.c:gtk_file_selection_file_changed().  This also lets us
      	get rid of the processing_pending_selections flag.
      	(update_chooser_entry): Clear the entry if we didn't have a
      	selection before.
      	(location_switch_to_filename_entry): Do not set $cwd as the
      	contents of the location entry here...
      	(location_popup_handler): ... but do it here instead, only as the
      	result of the user asking to turn on the location entry.
      	(gtk_file_chooser_default_get_paths): If the location entry is
      	empty, do the fallback of seeing if it is sensible to say that
      	$cwd is the selected path.
      	(gtk_file_chooser_default_update_current_folder): Don't set the
      	text of the location entry; this is no longer needed with the
      	fixes above.
      	(shortcuts_activate_iter): Clear the location entry when
      	activating a shortcut if we are not in SAVE mode.  This keeps the
      	contents of the location entry consistent even when switching
      	folders via the shortcuts.
      3f498adf
  2. 19 Jun, 2006 1 commit
    • Federico Mena Quintero's avatar
      Clarify the use of these functions, to avoid the case where a chooser is · 05d78568
      Federico Mena Quintero authored
      2006-06-19  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder)
      	(gtk_file_chooser_get_current_folder_uri): Clarify the use of
      	these functions, to avoid the case where a chooser is in
      	SELECT_FOLDER mode and people mistakenly use _get_current_folder()
      	to get the selection:  they should use _get_filename() instead.
      05d78568
  3. 02 May, 2006 1 commit
  4. 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
  5. 04 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      No point in making the error path fast by caching quarks. · 8c8a4c89
      Matthias Clasen authored
      2006-04-03  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):
              * gtk/gtkrecentmanager.c (gtk_recent_manager_error_quark):
              * gtk/gtkfilechooser.c (gtk_file_chooser_error_quark):
              * gtk/gtkfilesystem.c (gtk_file_system_error_quark):
              * gtk/gtkicontheme.c (gtk_icon_theme_error_quark): No point
              in making the error path fast by caching quarks.
      8c8a4c89
  6. 25 Oct, 2005 1 commit
  7. 07 Oct, 2005 1 commit
    • Federico Mena Quintero's avatar
      Fixes bug #317999: · cca93029
      Federico Mena Quintero authored
      2005-10-07  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes bug #317999:
      
      	* tests/autotestfilechooser.c (test_reload_sequence): Ensure that
      	the the result of gtk_file_chooser_get_folder() is NULL or
      	non-NULL at the right times.  Log the tests.
      	(test_button_folder_states): New test for the initial states of
      	the current folder in GtkFileChooserButton.
      	(main): Test that the number of warnings/errors/critical errors is
      	zero.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder):
      	Clarify the documentation on when this can return NULL.
      	(gtk_file_chooser_get_current_folder_uri): Likewise.
      
      	* gtk/gtkfilechooserbutton.c (struct
      	_GtkFileChooserButtonPrivate): Added a folder_has_been_set flag;
      	we use it to keep track of whether a folder has been set.
      	(gtk_file_chooser_button_map):  Implement.  If no folder has been
      	loaded before, we at least try to load $cwd here.
      	(gtk_file_chooser_button_constructor): If the construct-time
      	dialog already has a folder set, turn on our folder_has_been_set
      	flag.
      	(dialog_current_folder_changed_cb): Turn on our
      	folder_has_been_set flag.
      cca93029
  8. 13 Sep, 2005 1 commit
  9. 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
  10. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  11. 22 Jul, 2005 1 commit
    • Federico Mena Quintero's avatar
      Clarify the usage of this function. (gtk_file_chooser_set_uri): Likewise. · d06ef3be
      Federico Mena Quintero authored
      2005-07-21  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_filename): Clarify
      	the usage of this function.
      	(gtk_file_chooser_set_uri): Likewise.
      	(gtk_file_chooser_set_current_name): Likewise.
      
      	* gtk/gtkfilechooserdefault.c (set_file_system_backend):
      	Instrument this function for profiling as well.
      	(gtk_file_chooser_default_init): Likewise; just to have a marker
      	of where instance initialization begins.
      d06ef3be
  12. 15 Jul, 2005 2 commits
    • Federico Mena Quintero's avatar
      Add the new functions. · adc0905a
      Federico Mena Quintero authored
      2005-07-15  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtk.symbols: Add the new functions.
      adc0905a
    • 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
  13. 18 May, 2005 1 commit
  14. 22 Mar, 2005 1 commit
  15. 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
  16. 07 Mar, 2005 1 commit
  17. 01 Feb, 2005 1 commit
  18. 26 Dec, 2004 2 commits
    • Matthias Clasen's avatar
      Typo fix. (#162219, Masao Mutoh) · d181d74e
      Matthias Clasen authored
      2004-12-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_action):
      	Typo fix.  (#162219, Masao Mutoh)
      	(gtk_file_chooser_set_preview_widget_active):
      	Another typo.  (#162218, Masao Mutoh)
      d181d74e
    • Matthias Clasen's avatar
      Typo fix. (#162219, Masao Mutoh) · 1fc0fc69
      Matthias Clasen authored
      2004-12-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_action):
      	Typo fix.  (#162219, Masao Mutoh)
      1fc0fc69
  19. 12 Dec, 2004 1 commit
    • Tor Lillqvist's avatar
      gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c · f3da1705
      Tor Lillqvist authored
      2004-12-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkaccelmap.[ch]
      	* gtk/gtkfilechooser.[ch]
      	* gtk/gtkfilesel.c
      	* gtk/gtkfilesystemwin32.c
      	* gtk/gtkiconfactory.[ch]
      	* gtk/gtkicontheme.[ch]
      	* gtk/gtkimage.[ch]
      	* gtk/gtkimmodule.c
      	* gtk/gtkmodules.c
      	* gtk/gtkrc.[ch]
      	* gtk/gtkuimanager.[ch]
      	* gtk/gtkwindow.[ch]
      	* gtk/updateiconcache.c
      	* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
      	environment variables referring to pathnames from locale encoding
      	to UTF-8. As in GLib, in order to preserve Windows DLL ABI
      	stability, add binary compatibility versions of functions that
      	take file names as arguments, or return file names. Add a _utf8
      	suffix to the "real" such functions on Windows. The ABI
      	compatibility versions keep the old name.
      
      	* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
      	library.
      
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
      	file mapping on Win32.
      
      	* gtk/updateiconcache.c: Don't crash if invoked without
      	argument. Use binary mode when opening file.
      
      	* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install
      	gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
      f3da1705
  20. 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
  21. 04 Aug, 2004 2 commits
  22. 11 Jun, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fixes #144110, patch by Bastien Nocera <hadess@hadess.net>. · 343ff7de
      Federico Mena Quintero authored
      2004-06-10  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes #144110, patch by Bastien Nocera <hadess@hadess.net>.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_list_shortcut_folders):
      	Refer to gtk_file_chooser_add_shortcut_folder().
      	(gtk_file_chooser_list_shortcut_folder_uris): Refer to
      	gtk_file_chooser_add_shortcut_folder_uri().
      343ff7de
  23. 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
  24. 13 Apr, 2004 1 commit
  25. 06 Mar, 2004 1 commit
  26. 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
  27. 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
  28. 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
  29. 26 Feb, 2004 1 commit
    • Jonathan Blandford's avatar
      Add two more folder modes to the enum. · d40eda7e
      Jonathan Blandford authored
      Thu Feb 26 18:25:57 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
              modes to the enum.
      
              * gtk/gtkfilechooser.c (gtk_file_chooser_set_folder_mode): Remove.
              (gtk_file_chooser_get_folder_mode): Remove
      d40eda7e
  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. 16 Jan, 2004 2 commits
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
    • Federico Mena Quintero's avatar
      Do not allow setting select_multiple when in Save mode. (set_list_model): · c6860c11
      Federico Mena Quintero authored
      2004-01-16  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_property): Do not allow setting
      	select_multiple when in Save mode.
      	(set_list_model): No need to nullify the list_model and
      	sort_model.
      	(gtk_file_chooser_default_get_paths): Handle folder mode as well.
      	(get_paths_foreach): Likewise.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Clarify
      	documentation about folder mode.
      	(gtk_file_chooser_get_uri): Likewise.
      c6860c11
  32. 19 Nov, 2003 1 commit
    • Federico Mena Quintero's avatar
      Added a render_icon virtual method. · a3976b68
      Federico Mena Quintero authored
      2003-11-19  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
      	render_icon virtual method.
      
      	* gtk/gtkfilesystem.c (gtk_file_system_render_icon): New function.
      
      	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon):
      	Implement as a stub for now.
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Use
      	gtk_file_system_render_icon().
      	(list_icon_data_func): Likewise.
      	(toolbar_create): Set the toolbar style to icons only.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_add_shortcut_folder_uri):
      	Fix doc comments.
      a3976b68
  33. 15 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Fix parameter name mismatches which confuse gtk-doc. · f7357a70
      Matthias Clasen authored
      Sun Nov 16 00:35:29 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooser.[hc]:
      	* gtk/gtkentrycompletion.h: Fix parameter name mismatches which
      	confuse gtk-doc.
      
      Sun Nov 16 00:41:48 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtk-sections.txt: Remove gtk_tool_item_[sg]et_pack_end.
      
      Sun Nov 16 00:32:18 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtk-sections.txt: Move GtkFileChooser out of the
      	private section, in order to get the autogenerated docs
      	on hierarchy, signals, properties, etc.
      f7357a70
  34. 08 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Mark as 2.4 additions. · 6e6d780b
      Matthias Clasen authored
      Sat Nov  8 01:50:17 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c:
      	* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new):
      	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new):
      	* gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
      	2.4 additions.
      6e6d780b
  35. 03 Nov, 2003 1 commit
    • Federico Mena Quintero's avatar
      Add a stock icon to the "Add bookmark" button. · 3dbad630
      Federico Mena Quintero authored
      2003-11-03  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Add a stock
      	icon to the "Add bookmark" button.
      
      	* gtk/gtkfilesystemunix.c: Mark missing strings for translation.
      	* gtk/gtkfilesystemmodel.c: Likewise.
      	* gtk/gtkfilechooser.c: Likewise.
      	* gtk/gtkfilechooserdefault.c: Likewise.
      
      Mon Nov  3 20:56:28 2003  Matthias Clasen  <maclas@gmx.de>
      3dbad630
  36. 23 Oct, 2003 1 commit
    • Federico Mena Quintero's avatar
      Fixed docs. (gtk_file_chooser_remove_filter): Likewise. · e475c268
      Federico Mena Quintero authored
      2003-10-23  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_preview_uri): Fixed docs.
      	(gtk_file_chooser_remove_filter): Likewise.
      	(gtk_file_chooser_select_all): Added docs.
      	(gtk_file_chooser_unselect_all): Likewise.
      
      	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): Added docs.
      
      	* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): Added docs.
      e475c268