1. 19 Feb, 2010 1 commit
  2. 21 Dec, 2009 1 commit
  3. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  4. 27 Aug, 2009 1 commit
  5. 30 Jul, 2009 1 commit
  6. 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
  7. 25 Aug, 2008 1 commit
  8. 08 Aug, 2008 1 commit
    • Tor Lillqvist's avatar
      gtk/gtk.symbols gtk/makegtkalias.pl gtk/gtkaccelmap.c gtk/gtkfilechooser.c · 72952418
      Tor Lillqvist authored
      2008-08-08  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtk.symbols
      	* gtk/makegtkalias.pl
      	* gtk/gtkaccelmap.c
      	* gtk/gtkfilechooser.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkiconfactory.c
      	* gtk/gtkicontheme.c
      	* gtk/gtkimage.c
      	* gtk/gtkrc.c
      	* gtk/gtkuimanager.c
      	* gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
      	functions on Win64.
      
      
      svn path=/trunk/; revision=21040
      72952418
  9. 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
  10. 01 Jul, 2008 1 commit
  11. 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
  12. 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
  13. 15 Jun, 2008 1 commit
    • Carlos Garnacho's avatar
      Return full path here as expected, not just the basename. · bfe00f9b
      Carlos Garnacho authored
      2008-06-15  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
              path here as expected, not just the basename.
      
              * gtk/gtkfilechooserdefault.c
              (gtk_file_chooser_default_update_current_folder): Ensure that we keep
              a reference to file, since it can be destroyed when switching back to
              browse mode.
      
              * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
              and desktop directories are dealt by the filechooser as normal files,
              not volumes, so the icon for these is handled directly by GIO.
              (_gtk_file_system_volume_render_icon): Update caller.
      
      svn path=/trunk/; revision=20393
      bfe00f9b
  14. 10 Jun, 2008 2 commits
    • Paolo Borelli's avatar
      gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) use · b4791bb2
      Paolo Borelli authored
      2008-06-10  Paolo Borelli  <pborelli@katamail.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
      	use g_file_new_for_uri.
      
      
      svn path=/trunk/; revision=20347
      b4791bb2
    • 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
  15. 11 Feb, 2008 1 commit
    • Cody Russell's avatar
      Check the return value of _gtk_file_chooser_get_file_system () for NULL · 97e0d112
      Cody Russell authored
      2008-02-10  Cody Russell  <bratsche@gnome.org>
      
              * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
              Check the return value of _gtk_file_chooser_get_file_system () for
              NULL before passing it to gtk_file_system_path_to_uri ().
              (#515667, Francesco Montorsi)
      
      
      svn path=/trunk/; revision=19508
      97e0d112
  16. 25 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Require gtk-doc 1.8 · 4896e24b
      Matthias Clasen authored
      2007-11-25  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Require gtk-doc 1.8
      
              * */*.c: Use gtk-doc abbreviations for examples in docs.
      
      
      svn path=/trunk/; revision=19041
      4896e24b
  17. 26 Dec, 2006 1 commit
  18. 06 Oct, 2006 1 commit
  19. 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
  20. 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
  21. 02 May, 2006 1 commit
  22. 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
  23. 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
  24. 25 Oct, 2005 1 commit
  25. 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
  26. 13 Sep, 2005 1 commit
  27. 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
  28. 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
  29. 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
  30. 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
  31. 18 May, 2005 1 commit
  32. 22 Mar, 2005 1 commit
  33. 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
  34. 07 Mar, 2005 1 commit
  35. 01 Feb, 2005 1 commit
  36. 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
  37. 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