1. 14 Dec, 2008 1 commit
    • Matthias Clasen's avatar
      Privately export this method. It classifies directories and mountables the · 50329fa7
      Matthias Clasen authored
              * gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory):
              Privately export this method. It classifies directories and mountables
              the same.
      
              * gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop
              G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible
              mounts.
      
              * gtk/gtkfilesystemmodel.c:
              * gtk/gtkfilechooserbutton.c:
              * gtk/gtkfilechooserentry.c:
              * gtk/gtkfilechooserdefault.c: Use the new function instead of
              direct checks for G_FILE_TYPE_DIRECTORY throughout.
      
      
      svn path=/trunk/; revision=21898
      50329fa7
  2. 01 Dec, 2008 1 commit
  3. 23 Oct, 2008 1 commit
    • Alexander Larsson's avatar
      Bug 528320 - Incorrect icons displayed for files with custom mimetype · fb55cf75
      Alexander Larsson authored
      2008-10-23  Alexander Larsson  <alexl@redhat.com>
      
      	Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
      	
              * gtk/gtkfilesystem.c:
              (_gtk_file_info_render_icon):
      	Fall back on default file icon if there was no icon or it
      	was not found in the theme. This goes with the corresponding
      	change in glib to not add the fallback icon, but is useful
      	in other cases too.
      
      
      
      svn path=/trunk/; revision=21702
      fb55cf75
  4. 08 Oct, 2008 1 commit
  5. 02 Oct, 2008 1 commit
  6. 22 Sep, 2008 1 commit
  7. 16 Jul, 2008 1 commit
  8. 07 Jul, 2008 1 commit
  9. 03 Jul, 2008 1 commit
  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. 26 Jun, 2008 1 commit
    • Michael Natterer's avatar
      #include "config.h" · 1a6b0cb1
      Michael Natterer authored
      2008-06-26  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkfilesystem.c: #include "config.h"
      
      
      svn path=/trunk/; revision=20688
      1a6b0cb1
  13. 20 Jun, 2008 1 commit
    • Hans Breuer's avatar
      must return a value of the appropriate type with g_return_val_if_fail · 8e2ef498
      Hans Breuer authored
      2008-06-20  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
      	a value of the appropriate type with g_return_val_if_fail
      	
      	* gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
      
      	* gtk/gtkfilesystem.c : don't add the "File System" on win32
      
      	* tests/makefile.msc : remove broken autotestfile(system|chooser) 
      	from build
      
      
      svn path=/trunk/; revision=20657
      8e2ef498
  14. 18 Jun, 2008 1 commit
    • Matthias Clasen's avatar
      Use standard icon names. · d217ec4f
      Matthias Clasen authored
      2008-06-18  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
              * gtk/gtkfilechooserbutton.c (change_icon_theme):
              (model_add_bookmarks):
              (model_update_current_folder):
              * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
              (shortcuts_reload_icons): Use standard icon names.
      
      
      svn path=/trunk/; revision=20454
      d217ec4f
  15. 17 Jun, 2008 1 commit
  16. 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
  17. 13 Jun, 2008 3 commits
    • Matthias Clasen's avatar
      Avoid PLT entries · a434b6bf
      Matthias Clasen authored
      svn path=/trunk/; revision=20379
      a434b6bf
    • Matthias Clasen's avatar
      Really make GtkFileSystem private by _-prefixing all functions. · f9c7a4bb
      Matthias Clasen authored
      
              * gtk/gtkfilechooserbutton.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkfilechooserentry.c:
              * gtk/gtkfilesystem.c:
              * gtk/gtkfilesystem.h:
              * gtk/gtkfilesystemmodel.c:
              * gtk/gtkpathbar.c: Really make GtkFileSystem private
              by _-prefixing all functions.
      
      
      svn path=/trunk/; revision=20378
      f9c7a4bb
    • Hans Breuer's avatar
      check surface status after ceating a pdf. Avoids crashing when the target · 8677ed95
      Hans Breuer authored
      2008-05-23  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkprintoperation.c : check surface status after ceating a pdf.
      	Avoids crashing when the target can not be written, bug #537685
      
      	* gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
      
      	* gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
      	it was not needed here anyway.
      
      
      svn path=/trunk/; revision=20370
      8677ed95
  18. 11 Jun, 2008 1 commit
  19. 10 Jun, 2008 2 commits
    • Paolo Borelli's avatar
      do not leak the GIcon. · 9d73677b
      Paolo Borelli authored
      2008-06-10  Paolo Borelli  <pborelli@katamail.com>
      
      	* gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
      	leak the GIcon.
      
      
      svn path=/trunk/; revision=20346
      9d73677b
    • 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
  20. 08 Apr, 2008 1 commit
    • Tomáš Bžatek's avatar
      Fix fallback icon rendering size · 340205b9
      Tomáš Bžatek authored
      2008-04-08  Tomas Bzatek  <tbzatek@redhat.com> 
      
              * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
              (gtk_file_system_volume_render_icon):
              Fix fallback icon rendering size
      
      
      svn path=/trunk/; revision=19982
      340205b9
  21. 13 Jun, 2007 1 commit
    • Kristian Rietveld's avatar
      gtk/gtk.symbols rename _gtk_file_system_create to gtk_file_system_create · 87ae968f
      Kristian Rietveld authored
      2007-06-13  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtk.symbols
      	* gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
      	gtk_file_system_create to make it public and bring trunk back
      	in sync with gtk-2-10.
      
      	* gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
      
      
      svn path=/trunk/; revision=18121
      87ae968f
  22. 09 Mar, 2007 1 commit
  23. 03 Oct, 2006 1 commit
  24. 10 Sep, 2006 1 commit
  25. 23 Aug, 2006 1 commit
    • Tor Lillqvist's avatar
      Remove dead code. Reduce spurious differences between this file and · 3827704d
      Tor Lillqvist authored
      2006-08-23  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtkfilesystemwin32.c: Remove dead code. Reduce spurious
      	differences between this file and gtkfilesystemunix.c so that it
      	is easier to compare them and check if differences are
      	intentional. I will later factor out the common functions and code
      	snippets from these two files.
      
      2006-08-23  Tor Lillqvist  <tml@novell.com>
      
      	Fix several problems with the file chooser on Windows, for
      	instance prevent duplicated directory entries from appearing.
      
      	* gtk/gtkfilesystem.c (gtk_file_paths_sort): Use
      	_gtk_file_system_win32_path_compare() on Windows for casefolded
      	sorting.
      
      	* gtk/gtkfilesystemwin32.c (casefolded_hash, casefolded_equal):
      	case-independent hash and equality functions. Scan the UTF-8
      	strings gunichar by gunichar, and ignore special casing rules, to
      	more closely match NTFS behaviour.
      	(gtk_file_system_win32_init): Use casefolded_hash() and
      	casefolded_equal() for the folder hash table.
      	(remove_trailing_slash): Don't remove the slash of a drive or
      	share root.
      	(get_mime_type_for_file): Take also a WIN32_FILE_ATTRIBUTE_DATA as
      	argument, and use that to recognize directories. Don't call
      	g_file_test() to check for executables, just look at the file name
      	extension directly.
      	(gtk_file_system_win32_make_path): Check illegal chars in file
      	name, like in gtkfilesystemunix.c.
      	(create_file_info): Drop unused basename parameter. Call
      	g_filename_display_name() directly for roots, as
      	g_filename_display_basename() mishandles those.
      	(gtk_file_folder_win32_get_info): Skip sanity check for now, as it
      	fails for server share roots. Construct basename only in the if
      	branch that uses it.
      	(fill_in_names): Use casefolded_hash() and casefolded_equal() for
      	the folder's stat_info hash table, too.
      	(_gtk_file_system_win32_path_compare): Scan the strings gunichar
      	by gunichar and ignore special casing here, too, instead of using
      	g_utf8_casefold(). Match slash and backslash.
      3827704d
  26. 15 Aug, 2006 1 commit
  27. 22 May, 2006 1 commit
    • Matthias Clasen's avatar
      Don't return values from void functions. · 2606a4eb
      Matthias Clasen authored
      2006-05-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprinter.c (_gtk_printer_prepare_for_print)
      	(_gtk_printer_get_settings_from_options)
      	(_gtk_printer_request_details): Don't return values from void
      	functions.
      
      	* gtk/gtkrecentchooserutils.c (delegate_unselect_uri): Don't
      	return a value from a void function.
      
      	* gtk/gtkfilesystem.c (gtk_file_system_cancel_operation): Don't
      	return a value from a void function.  Also, don't put
      	semicolons behind G_DEFINE_TYPE. (#342543)
      2606a4eb
  28. 14 May, 2006 1 commit
  29. 04 May, 2006 1 commit
    • Matthias Clasen's avatar
      Make symbol list mstch reality. · 89b5cb64
      Matthias Clasen authored
      2006-05-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkfilesystem.c:
      	* gtk/gtkfilesystemunix.c:
      	* gtk/gtkprintbackend.h:
      	* gtk/gtkrecentchooserdefault.c:
      	* gtk/gtkrecentchooserdefault.h:
      	* gtk/paper_names_offsets.c: Make symbol list mstch reality.
      
      	* gtk/Makefile.am: Fix a typo.
      
      	* gdk/x11/Makefile.am (EXTRA_DIST): Add gdksettings.c
      89b5cb64
  30. 02 May, 2006 1 commit
  31. 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
  32. 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
  33. 01 Apr, 2006 1 commit
    • Behdad Esfahbod's avatar
      Return NULL instead of FALSE in g_return_val_if_fail in a · 13bcd2c0
      Behdad Esfahbod authored
      2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
      
              * gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
              * gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
              instead of FALSE in g_return_val_if_fail in a pointer-returning
              function. (#336764, Morten Welinder)
      13bcd2c0
  34. 08 Feb, 2006 1 commit
  35. 16 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Use G_MODULE_BIND_LAZY when opening modules. · 0a876523
      Matthias Clasen authored
      2005-12-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilesystem.c (gtk_file_system_module_load):
      	* gtk/gtkimmodule.c (gtk_im_module_load):
      	* gtk/gtkthemes.c (gtk_theme_engine_load):
      	* gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when
      	opening modules.
      0a876523
  36. 27 Oct, 2005 1 commit
  37. 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