1. 27 Feb, 2012 1 commit
  2. 07 Jun, 2011 1 commit
  3. 11 Apr, 2011 1 commit
  4. 10 Jul, 2010 1 commit
  5. 02 May, 2010 1 commit
  6. 06 Nov, 2009 1 commit
  7. 04 Aug, 2008 1 commit
    • Carlos Garnacho's avatar
      Deprecate gtk_file_chooser_*_new_with_backend(), since GIO is already used · 7e439efc
      Carlos Garnacho authored
      2008-08-04  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtk.symbols:
              * gtk/gtkfilechooserbutton.[ch]:
              * gtk/gtkfilechooserdefault.[ch]:
              * gtk/gtkfilechooserdialog.[ch]:
              * gtk/gtkfilechooserwidget.[ch]: Deprecate
              gtk_file_chooser_*_new_with_backend(), since GIO is already used
              directly. Fixes #545976.
      
      svn path=/trunk/; revision=20972
      7e439efc
  8. 01 Jul, 2008 1 commit
  9. 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
  10. 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
  11. 14 May, 2006 1 commit
  12. 02 May, 2006 1 commit
  13. 27 Sep, 2005 1 commit
    • Federico Mena Quintero's avatar
      Don't reload the current folder unnecessarily on ::map(). · 72851a22
      Federico Mena Quintero authored
      2005-09-27  Federico Mena Quintero  <federico@ximian.com>
      
      	Don't reload the current folder unnecessarily on ::map().
      
      	* gtk/gtkfilechooserprivate.h (ReloadState): New enum to represent
      	the reloading state.
      	(struct _GtkFileChooserDefault): Added a "reload_state" field.
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
      	Initialize impl->reload_state.
      	(gtk_file_chooser_default_map): Check the impl->reload_state; load
      	a default folder if no folder has been set, or reload the current
      	one only if we had been unmapped first.
      	(gtk_file_chooser_default_update_current_folder): Set the
      	reload_state to RELOAD_HAS_FOLDER.
      	(gtk_file_chooser_default_unmap): Implement, and set the
      	reload_state to RELOAD_WAS_UNMAPPED.
      	(shortcuts_model_create): Don't call shortcuts_add_bookmarks()
      	here; they'll get (re)loaded on ::map() anyway.
      
      	* gtk/gtkfilechooserwidget.c
      	(gtk_file_chooser_widget_constructor): Don't set a default folder here.
      
      	* tests/autotestfilechooser.c (test_action_widgets): Don't take in
      	a dialog; build it ourselves.
      	(test_reload): New test to ensure that we don't load the default
      	folder more than once, and that we reload it when
      	unmapping/remapping.
      	(get_impl_from_dialog): New utility function.
      	(test_widgets_for_current_action): Use get_impl_from_dialog().
      72851a22
  14. 15 Sep, 2005 1 commit
    • Federico Mena Quintero's avatar
      Start a set of automated tests for the file chooser. The only test in · 329bc4e2
      Federico Mena Quintero authored
      2005-09-15  Federico Mena Quintero  <federico@ximian.com>
      
      	* tests/autotestfilechooser.c: Start a set of automated tests for
      	the file chooser.  The only test in there right now doesn't pass
      	yet.  It specifies the intended behavior of the first optimization
      	of a series which I'll do on the file chooser (see
      	http://primates.ximian.com/~federico/news-2005-09.html#14 for the
      	details of this optimization).
      
      	* tests/Makefile.am: Added autotestfilechooser.c.
      
      	* gtk/gtkfilechooserprivate.h (struct
      	_GtkFileChooserDialogPrivate): Move all the file chooser's private
      	structures to here, so that they can be accessed by
      	tests/autotestfilechooser.c:  _GtkFileChooserDialogPrivate,
      	_GtkFileChooserWidgetPrivate, LoadState, _GtkFileChooserDefault.
      
      	* gtk/gtkfilechooserdialog.c: See above.
      
      	* gtk/gtkfilechooserwidget.c: See above.
      
      	* gtk/gtkfilechooserdefault.c: See above.
      329bc4e2
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 16 Mar, 2004 1 commit
  21. 06 Mar, 2004 1 commit
  22. 02 Mar, 2004 1 commit
    • Federico Mena Quintero's avatar
      Don't unref an old model; there isn't one. This was a leftover from when · 7233e912
      Federico Mena Quintero authored
      2004-03-01  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Don't
      	unref an old model; there isn't one.  This was a leftover from
      	when we recreated the model on every change.
      	(save_widgets_create): Create the save folder combo.
      	(shortcuts_model_create): Don't set the model on the tree view
      	here.
      	(gtk_file_chooser_default_constructor): Create the shortcuts model
      	here, before the rest of the widgets.
      	(shortcuts_list_create): Don't call shortcuts_model_create() here;
      	just set the model on the tree.
      	(save_folder_combo_create): New function, provided by Jonathan
      	Blandford.
      	(update_appearance): Set the sensitivity of the folder combo.
      	(shortcuts_activate_iter): New helper function; code moved from
      	shortcuts_row_activated_cb().
      	(shortcuts_activate_item): New helper function.
      	(shortcuts_row_activated_cb): Use shortcuts_activate_iter().
      	(ShortcutsIndex): Renamed SHORTCUTS_SEPARATOR to
      	SHORTCUTS_BOOKMARKS_SEPARATOR.
      	(struct _GtkFileChooserDefault): New field shortcuts_current_folder_active.
      	(shortcuts_insert_separator): Add a position argument.
      	(shortcuts_get_index): Handle the SHORTCUTS_CURRENT_FOLDER_SEPARATOR
      	and SHORTCUTS_CURRENT_FOLDER positions.
      	(shortcut_exists): Ignore the current folder row.
      	(struct _GtkFileChooserDefault): New field shortcuts_filter_model.
      	(shortcuts_model_create): Create a filter model for the shortcuts list.
      	(shortcuts_list_create): Set the model to the shortcuts_filter_model.
      	(remove_bookmark_button_clicked_cb): Use the shortcuts_filter_model.
      	(bookmarks_check_remove_sensitivity): Likewise.
      	(shortcuts_row_activated_cb): Likewise.
      	(gtk_file_chooser_default_set_current_folder): New function.
      	(gtk_file_chooser_default_set_current_folder): Update the current
      	folder row in the shortcuts list.
      
      	* gtk/gtkfilechooserwidget.c
      	(gtk_file_chooser_widget_constructor): Cast correctly for
      	_gtk_file_chooser_embed_set_delegate().
      7233e912
  23. 01 Mar, 2004 1 commit
    • Jonathan Blandford's avatar
      new function. Long name. · e6b21aec
      Jonathan Blandford authored
      Mon Mar  1 16:32:52 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkfilechooserwidget.c
              (gtk_file_chooser_widget_new_with_backend): new function.  Long
              name.
      e6b21aec
  24. 27 Feb, 2004 1 commit
    • Jonathan Blandford's avatar
      New private interface to help negotiate the default size of the widget. · 0cfdc7fb
      Jonathan Blandford authored
      Fri Feb 27 18:46:27 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkfilechooserembed.h: New private interface to help
              negotiate the default size of the widget.  Still a bit buggy, but
              better than the old behavior.
      
              * gtk/gtkfilechooserdefault.c: Implement the embed interface.
      
              * gtk/gtkfilechooserwidget.c: Proxy the embed interface.
      
              * gtk/gtkfilechooserdialog.c: Use the embed interface.
      0cfdc7fb
  25. 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
  26. 22 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Add chains to the parent's ::finalize() handler (#134901, Morten Welinder, · a362428d
      Matthias Clasen authored
      Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.c: (gtk_action_finalize):
      	* gtk/gtkclipboard.c: (gtk_clipboard_finalize):
      	* gtk/gtkentrycompletion.c: (gtk_entry_completion_class_init),
      	(gtk_entry_completion_finalize):
      	* gtk/gtkfilechooserwidget.c: (gtk_file_chooser_widget_finalize):
      	* gtk/gtkfilesystemmodel.c: (gtk_file_system_model_class_init),
      	(gtk_file_system_model_finalize):
      	* gtk/gtkicontheme.c: (gtk_icon_theme_class_init),
      	(gtk_icon_theme_finalize):
      	* gtk/gtktextchild.c: (gtk_text_child_anchor_finalize):
      	* gtk/gtkuimanager.c: (gtk_ui_manager_class_init),
      	(gtk_ui_manager_finalize):
      	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_finalize):
      	Add chains to the parent's ::finalize() handler  (#134901, Morten Welinder,
      	patch by Jan Arne Petersen)
      a362428d
  27. 20 Feb, 2004 1 commit
    • Alexander Larsson's avatar
      Desktop directory is not translated. (set_tree_model): There might not be · 0300bfdc
      Alexander Larsson authored
      2004-02-20  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
      	Desktop directory is not translated.
      	(set_tree_model):
      	There might not be volumes for all paths.
      	* gtk/gtkfilechooserwidget.c:
      	(gtk_file_chooser_widget_constructor):
      	Use gtk_file_chooser_set_current_folder to set cwd.
      0300bfdc
  28. 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
  29. 16 Dec, 2003 1 commit
  30. 14 Dec, 2003 1 commit
    • Hans Breuer's avatar
      handle GTK_DATADIR similar as the other filesystem placement 'constants' · 4acd98a8
      Hans Breuer authored
      2003-12-14  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR
      	similar as the other filesystem placement 'constants' (dynamic
      	resolving on win32)
      
      	* gtk/gtkfilechooserwidget.c : handle file system to win32
      	renaming here as will
      	* gtk/gtkfilesystemwin32.c : implement render_icon
      
      	* gtk/gtk.def gdk/gdk.def : updated externals
      
      	* gdk/win32/gdkdisplay-win32.c : make it compile without
      	<multimon.h> - i.e. even older sdk
      
      	* gdk/win32/gdkevents-win32.c : match resize_timer_proc
      	with TIMERPROC prototype
      
      	* gdk/win32/gdkwindow-win32.c : older msvc does not know
      	BITMAPV5HEADER (from win xp) either
      
      	* gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is
      	not defined
      
      	* tests/testfilechooser.c : recent GLib crashes on
      	g_print ("%s", NULL) so avoid this
      4acd98a8
  31. 15 Nov, 2003 1 commit
    • Hans Breuer's avatar
      updated added all the new tests · 947b32b7
      Hans Breuer authored
      2003-11-15  Hans Breuer  <hans@breuer.org>
      
      	* gdk/makefile.msc gdk/gdk.def
                  gtk/gtk.def gtk/makefile.msc.in : updated
      	* tests/makefile.msc : added all the new tests
      
      	* gtk/gtkfilefilter.c(finalize) : initialize filter
      	from object not from itself
      
      	* gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
      	modified as less as posible to have aworking implementation
      	on win32. There maybe the desire to merge the unchanged pats into
      	a common base class.
      	Also implemented a simple glib based bookmark handling, which
      	is currently missing in gtkfilesystemunix.[hc] but can be copied
      	over there.
      	* gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h
      
      	* gdk/win32/gdkwindow-win32.c : implement
      	gdk_window_set_keep_above() and gdk_window_set_keep_below()
      
      	* tests/testmerge.c : don't include unistd.h unconditionally,
      	#define STDOUT_FILENO if it isn't defined
      
      	* tests/testfilechooser.c : make it compile on win32
      947b32b7
  32. 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
  33. 23 Oct, 2003 3 commits
    • 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
    • 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
    • Federico Mena Quintero's avatar
      Renamed from GtkFileChooserImplDefault to GtkFileChooserDefault. · d7c1842b
      Federico Mena Quintero authored
      2003-10-22  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserdefault.[ch]: Renamed from
      	GtkFileChooserImplDefault to GtkFileChooserDefault.
      d7c1842b
  34. 16 Jul, 2003 1 commit
    • Owen Taylor's avatar
      auto-ize. · 7e54248b
      Owen Taylor authored
      Wed Jul 16 16:50:31 2003  Owen Taylor  <otaylor@redhat.com>
      
              * configure.ac Makefile.am: auto-ize.
      
              * xdgmime/: Add freedesktop.org MIME spec implementatin
              by Jonathan Blandford.
      
              * gtkfilesystem.[ch]: Add gtk_file_info_render_icon()
              gtk_file_info_set/get_icon_type to do icon handling
              based on MIME type. Add a simple icon caching system.
      
              * gtkfilesystemgnomevfs.c: Implement ensure_types()
              so that extending the set of types for a loaded
              directory works. Set the MIME type to get the default
              icon handling.
      
              * gtkfilesystemunix.c: Look up the MIME type using
              xdgmime.
      
              * gtkfilechooserimpldefault.c: Display icons in the list.
      7e54248b
  35. 26 Mar, 2003 2 commits
  36. 21 Mar, 2003 2 commits