diff options
author | Andy Hertzfeld <andy@src.gnome.org> | 2000-02-12 07:17:45 +0000 |
---|---|---|
committer | Andy Hertzfeld <andy@src.gnome.org> | 2000-02-12 07:17:45 +0000 |
commit | 3b7bcfece0c18774a86d1ad1b74e682766385c1f (patch) | |
tree | e2744175d46be7bb1b70413f5beb7261c9176b31 /libnautilus-private | |
parent | 7e1a1a50c015c1e9e74af9705d50260af1951775 (diff) | |
download | nautilus-3b7bcfece0c18774a86d1ad1b74e682766385c1f.tar.gz |
made it no longer use a drag shadow rectangle when dragging a single item
made it no longer use a drag shadow rectangle when dragging a single item
Diffstat (limited to 'libnautilus-private')
-rw-r--r-- | libnautilus-private/gnome-icon-container-dnd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-private/gnome-icon-container-dnd.c b/libnautilus-private/gnome-icon-container-dnd.c index dd74f85ea..71c222cfb 100644 --- a/libnautilus-private/gnome-icon-container-dnd.c +++ b/libnautilus-private/gnome-icon-container-dnd.c @@ -71,6 +71,10 @@ create_selection_shadow (GnomeIconContainer *container, if (list == NULL) return NULL; + /* if we're only dragging a single item, don't worry about the shadow */ + if (list->next == NULL) + return NULL; + stipple = container->details->dnd_info->stipple; g_return_val_if_fail (stipple != NULL, NULL); |