1. 28 Dec, 2005 1 commit
    • Michael Natterer's avatar
      set the new "do-overwrite-confirmation" property on GtkFileChooser. · e397c0ef
      Michael Natterer authored
      2005-12-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.[ch]: set the new
      	"do-overwrite-confirmation" property on GtkFileChooser. Removed
      	gimp_file_overwrite_dialog().
      
      	* app/dialogs/file-save-dialog.c (file_save_dialog_check_uri):
      	removed broken code which tried to figure if a file exists.
      	Fixes bug #309729.
      
      	* app/widgets/gimpdnd-xds.c: added gimp_file_overwrite_dialog()
      	here as private utility function.
      e397c0ef
  2. 01 Oct, 2005 1 commit
    • Sven Neumann's avatar
      introduced variants of file_utils_uri_to_utf8_filename() and · ee64ca3c
      Sven Neumann authored
      2005-10-02  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-utils.[ch]: introduced variants of
      	file_utils_uri_to_utf8_filename() and
      	file_utils_uri_to_utf8_basename() that use g_filename_display_name()
      	and g_filename_display_basename().
      
      	* app/actions/data-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/file-actions.c
      	* app/actions/file-commands.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/dialogs/file-open-dialog.c
      	* app/dialogs/file-open-location-dialog.c
      	* app/dialogs/file-save-dialog.c
      	* app/dialogs/palette-import-dialog.c
      	* app/display/gimpdisplayshell-close.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-title.c
      	* app/file/file-open.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpthumbbox.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.c: use the new functions.
      
      	* plug-ins/help/domain.c: use g_filename_display_name().
      ee64ca3c
  3. 17 Jul, 2005 1 commit
    • Sven Neumann's avatar
      added missing casts. · 2c544f73
      Sven Neumann authored
      2005-07-17  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdnd-xds.c: added missing casts.
      2c544f73
  4. 09 Apr, 2005 1 commit
    • Michael Natterer's avatar
      Implement dragging and dropping in any GdkPixbuf supported format. Fixes · 76096459
      Michael Natterer authored
      2005-04-09  Michael Natterer  <mitch@gimp.org>
      
      	Implement dragging and dropping in any GdkPixbuf supported
      	format. Fixes bug #172794 and bug #172795.
      
      	* app/core/gimplayer.[ch] (gimp_layer_new_from_region): new
      	function which contains all stuff that was in
      	gimp_layer_new_from_tiles().
      
      	(gimp_layer_new_from_tiles): use above function.
      	(gimp_layer_new_from_pixbuf): new function.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimppixbuf.[ch]: new files containing GdkPixbuf
      	utility functions for clipboard and DnD.
      
      	* app/widgets/gimpselectiondata.[ch]: removed
      	gimp_selection_data_set,get_pixbuf(), GTK+ provides the same API.
      	Also removed GdkAtom parameters all over the place because it's
      	always the same as selection_data->target.
      
      	* app/widgets/gimpclipboard.c: use the new pixbuf utility
      	functions and gtk_selection_data_set,get_pixbuf().
      
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimpdnd.[ch]: removed never-implemented
      	GIMP_DND_TYPE_PNG and added a generic GIMP_DND_TYPE_PIXBUF
      	instead. Added API to drag and drop GdkPixbufs which transparently
      	converts from/to and GdkPixbuf-supported image format. Removed
      	passing around of GdkAtoms, since they were always the same
      	as selection_data->target.
      
      	* app/widgets/gimpdnd-xds.[ch]: follow GdkAtom parameter removal.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added virtual function
      	GimpContainerTreeView::drop_pixbuf().
      
      	* app/widgets/gimpcontainertreeview-dnd.c: dispatch drop_pixbuf().
      
      	* app/widgets/gimplayertreeview.c: implement drop_pixbuf().
      
      	* app/widgets/gimpdrawabletreeview.c: allow to drag all drawables
      	as pixbufs.
      
      	* app/display/gimpdisplayshell-dnd.c: allow dropping of pixbufs.
      76096459
  5. 25 Mar, 2005 6 commits
    • Sven Neumann's avatar
      app/dialogs/file-save-dialog.c moved overwrite confirmation dialog to · f6cb341c
      Sven Neumann authored
      2005-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/file-save-dialog.c
      	* app/widgets/gimpfiledialog.[ch]: moved overwrite confirmation
      	dialog to app/widgets.
      
      	* app/widgets/gimpdnd-xds.c: set "Untitled.xcf" as default name
      	for untitled images; ask for confirmation before overwriting a
      	local file.
      f6cb341c
    • Sven Neumann's avatar
      8eefacf5
    • Sven Neumann's avatar
      in case of an error, answer with E (error) instead of F (failure). · b9483974
      Sven Neumann authored
      2005-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdnd-xds.c (gimp_dnd_xds_save_image): in case of
      	an error, answer with E (error) instead of F (failure).
      b9483974
    • Sven Neumann's avatar
      added myself as author · c52643ed
      Sven Neumann authored
      c52643ed
    • Sven Neumann's avatar
      virtualized GimpView::set_viewable. · 7684721c
      Sven Neumann authored
      2005-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpview.[ch]: virtualized GimpView::set_viewable.
      
      	* app/widgets/gimptoolbox-image-area.c: hook into "set_viewable"
      	and add an XDS drag source.
      
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpdnd.c: unset the XdndDirectSave0 property when
      	the drag ends, minor cleanups.
      7684721c
    • Sven Neumann's avatar
      app/widgets/Makefile.am new files. · 0bc3233b
      Sven Neumann authored
      2005-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdnd-xds.[ch]: new files.
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/widgets-enums.h: added a basic XDS (Direct Save
      	Protocol) implementation.
      
      	* app/widgets/gimpimageview.c: allow to save images by dragging
      	them from the Images dialog to an XDS capable file manager.
      0bc3233b