diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-06-25 01:51:58 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-06-25 01:51:58 +0000 |
commit | 1988e13749e613b4b378be1a6cb4bad7f17bebb0 (patch) | |
tree | 0f5775f3f599586a2885149f73c9ec43797bb77a /gtk/stock-icons | |
parent | 24a325c67a12ad928180e96aad8483837e26125f (diff) | |
download | gdk-pixbuf-1988e13749e613b4b378be1a6cb4bad7f17bebb0.tar.gz |
Add a special size for drag-and-drop GTK_ICON_SIZE_DND (Default to 32x32)
Sun Jun 24 21:34:32 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkenums.h gtk/gtkiconfactory.c: Add a special size for
drag-and-drop GTK_ICON_SIZE_DND (Default to 32x32)
* gtk/gtkdnd.c (gtk_drag_dest_set_target_list): Fix problem
with un'reffing wrong list reported by Jeff Franks.
* gtk/gtkdnd.[ch] (_gtk_drag_{source,}dest_handle_event): _prefix.
* gtk/gtkdnd.c (gtk_drag_set_icon_default): Use GTK_STOCK_DND
for the default icon. Remove inline XPM.
* gtk/gtkstock.h gtk/gtkiconfactory.c:
Add GTK_STOCK_DND GTK_STOCK_DND_MULTIPLE (Currently, stock_new
is used for GTK_STOCK_DND, but it is a bit too small.)
* gtk/stock-icons/stock_dnd_multiple.png
gtk/stock-icons/Makefile.am: New stock icon moved from gnome-libs.
* gtk/gtkdnd.c (gtk_drag_source_event_cb): Only return
TRUE when starting a drag. In other cases, we are
just observing. (#52995)
* gtk/gtkdnd.[ch] (gtk_drag_set_icon_{stock,pixbuf}): Add
function to set the icon for a drag from a GdkPixbuf
or stock ID.
* gtk/gtkdnd.[ch] (gtk_drag_source_set_icon_{stock,pixbuf}):
Likewise, for drag sources.
* gtk/gtkdnd.h: Deprecate gtk_drag_set_default_icon.
(Now should be done using the stock system.)
Diffstat (limited to 'gtk/stock-icons')
-rw-r--r-- | gtk/stock-icons/Makefile.am | 2 | ||||
-rw-r--r-- | gtk/stock-icons/stock_dnd_multiple.png | bin | 0 -> 1843 bytes | |||
-rw-r--r-- | gtk/stock-icons/stock_dnd_multiple_32.png | bin | 0 -> 1843 bytes |
3 files changed, 2 insertions, 0 deletions
diff --git a/gtk/stock-icons/Makefile.am b/gtk/stock-icons/Makefile.am index eac408bce..22f1234cc 100644 --- a/gtk/stock-icons/Makefile.am +++ b/gtk/stock-icons/Makefile.am @@ -24,6 +24,7 @@ IMAGES = @STRIP_BEGIN@ \ stock_convert.png \ stock_copy.png \ stock_cut.png \ + stock_dnd_multiple.png \ stock_down_arrow.png \ stock_exec.png \ stock_exit.png \ @@ -85,6 +86,7 @@ VARIABLES = @STRIP_BEGIN@ \ stock_button_apply $(srcdir)/stock_button_apply.png \ stock_button_cancel $(srcdir)/stock_button_cancel.png \ stock_button_close $(srcdir)/stock_button_close.png \ + stock_dnd_multiple $(srcdir)/stock_dnd_multiple.png \ stock_button_no $(srcdir)/stock_button_no.png \ stock_button_ok $(srcdir)/stock_button_ok.png \ stock_button_yes $(srcdir)/stock_button_yes.png \ diff --git a/gtk/stock-icons/stock_dnd_multiple.png b/gtk/stock-icons/stock_dnd_multiple.png Binary files differnew file mode 100644 index 000000000..a4c21ec73 --- /dev/null +++ b/gtk/stock-icons/stock_dnd_multiple.png diff --git a/gtk/stock-icons/stock_dnd_multiple_32.png b/gtk/stock-icons/stock_dnd_multiple_32.png Binary files differnew file mode 100644 index 000000000..a4c21ec73 --- /dev/null +++ b/gtk/stock-icons/stock_dnd_multiple_32.png |