diff src/dnd.c @ 458:7a69309b91c8

Allow the user to set the drag'n drop icon size through Preferences > Advanced > Behavior > Drag'n drop icon size. It is saved to rc file as dnd_icon_size.
author zas_
date Mon, 21 Apr 2008 10:09:01 +0000
parents 2ebd0d9145cf
children 48c8e49b571c
line wrap: on
line diff
--- a/src/dnd.c	Sun Apr 20 23:17:35 2008 +0000
+++ b/src/dnd.c	Mon Apr 21 10:09:01 2008 +0000
@@ -32,7 +32,7 @@
 gint dnd_file_drop_types_count = 2;
 
 
-#define DND_ICON_SIZE 48
+#define DND_ICON_SIZE (options->dnd_icon_size)
 
 
 static void pixbuf_draw_border(GdkPixbuf *pixbuf, gint w, gint h)