1. 30 Jun, 2004 2 commits
    • Michael Natterer's avatar
      app/widgets/gimpdnd.[ch] app/widgets/gimpselectiondata.[ch] changed · cc6aa186
      Michael Natterer authored
      2004-06-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpselectiondata.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]: changed "files" and "uris"
      	to "uri_list" in all function names, parameters and typedefs.
      
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/display/gimpdisplayshell-dnd.[ch]
      	* app/display/gimpdisplayshell.c: changed accordingly.
      cc6aa186
    • Sven Neumann's avatar
      renamed the SVG related functions so that they deal with an anonymous data · 114f747f
      Sven Neumann authored
      2004-06-30  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpselectiondata.[ch]: renamed the SVG related
      	functions so that they deal with an anonymous data stream that
      	could as well be a PNG image.
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpcontainertreeview-dnd.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-dnd.[ch]
      	* app/vectors/gimpvectors-import.[ch]
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpvectorstreeview.c: use gsize for the length of
      	the buffer.
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/widgets-enums.[ch]: added GIMP_DND_TYPE_PNG which isn't
      	used yet.
      114f747f
  2. 29 Jun, 2004 2 commits
  3. 28 Jun, 2004 1 commit
    • Michael Natterer's avatar
      Allow all sorts of things to be dropped on or in between the items of a · 6a5e68c9
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	Allow all sorts of things to be dropped on or in between the
      	items of a GimpContainerTreeView:
      
      	* app/widgets/gimpcontainertreeview.[ch]: added more parameters to
      	GimpContainerTreeView::drop_possible() to specify where ecactly
      	the drop should take place (between or into items) and to support
      	dropping all sorts of things.
      
      	Renamed ::drop() to ::drop_viewable() and added ::drop_color(),
      	::drop_files() and ::drop_svg(), which cover all possible drop
      	types.
      
      	* app/widgets/gimpcontainertreeview-dnd.[ch]: changed accordingly.
      	Dispatch all kinds of drops to the resp. virtual functions.
      
      	* app/widgets/gimpitemtreeview.c: changed accordingly.
      
      	* app/widgets/gimplayertreeview.c: allow to drop URIs, colors
      	and patterns to the layers dialog. Fixes bugs #119506 and #139246.
      6a5e68c9
  4. 01 Jun, 2004 1 commit
  5. 10 May, 2004 2 commits
    • Michael Natterer's avatar
      app/widgets/widgets-types.h made GimpContainerView an interface. Added · 930b621b
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainerview.[ch]: made GimpContainerView an
      	interface. Added accessors for all members in the private struct
      	and made it really private.
      
      	* app/widgets/gimpcontainerbox.[ch]: derive it from GimpEditor and
      	implement GimpContainerViewInterface and its properties.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: implement
      	GimpContainerViewInterface and use the new accessor functions.
      
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpdocumentview.c: changed accordingly.
      
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpundoeditor.c
      	* app/actions/palettes-commands.c: #include "gimpcontainerview.h"
      930b621b
    • Michael Natterer's avatar
      More GimpContainerView chopping: · 3adc0816
      Michael Natterer authored
      2004-05-10  Michael Natterer  <mitch@gimp.org>
      
      	More GimpContainerView chopping:
      
      	* app/widgets/gimpcontainerview.[ch]: added
      	GimpContainerViewPrivate struct (which is currently puclic :-) and
      	removed all members from the GimpContainerView struct. Added
      	accessors for "context", "container" and "preview_size /
      	preview_border_width". Added macro to get the private struct
      	(*not* via G_TYPE_INSTANCE_GET_PRIVATE because that's unavailable
      	for interfaces).
      
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolview.c
      	* app/actions/brushes-actions.c
      	* app/actions/buffers-actions.c
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.c
      	* app/actions/documents-actions.c
      	* app/actions/fonts-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/gradients-commands.c
      	* app/actions/images-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/palettes-commands.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.c: changed accordingly.
      3adc0816
  6. 17 Oct, 2003 1 commit
    • Sven Neumann's avatar
      according to an older mail from Owen, GDK_ACTION_DEFAULT means nothing and · 33370866
      Sven Neumann authored
      2003-10-17  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): according to an
      	older mail from Owen, GDK_ACTION_DEFAULT means nothing and should
      	not be used.
      
      	* app/widgets/gimpcontainertreeview-dnd.c
      	(gimp_container_tree_view_drop_status): pass 0 to gdk_drag_status()
      	instead of GDK_ACTION_DEFAULT.
      33370866
  7. 09 Oct, 2003 1 commit
    • Michael Natterer's avatar
      added auto-scrolling when DND-hovering close to the widget's top or bottom · a28bb194
      Michael Natterer authored
      2003-10-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview-dnd.c: added auto-scrolling
      	when DND-hovering close to the widget's top or bottom border.
      	Fixes bug #124231.
      
      	* app/widgets/gimpcontainertreeview.h: added some auto-scroll state
      	to the GimpContainerTreeView struct.
      
      	* app/widgets/gimpcontainertreeview.c: remove the auto-scroll
      	timeout in GtkWidget::unmap().
      a28bb194
  8. 19 Mar, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpcellrenderertoggle.[ch] added public functions to emit the · 0b401af4
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcellrenderertoggle.[ch]
      	* app/widgets/gimpcellrendererviewable.[ch]: added public
      	functions to emit the "clicked" signal.
      
      	* app/widgets/gimpcontainertreeview.c: use them instead of
      	g_signal_emit_by_name().
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcontainertreeview-dnd.[ch]: new files
      	implementing DND for tree views.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added virtual
      	functions drop_possible() and drop().
      
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c: implement drop_possible()
      	and drop().
      0b401af4