diff options
author | Martin Wehner <martin.wehner@epost.de> | 2004-01-05 21:19:30 +0000 |
---|---|---|
committer | Martin Wehner <mwehner@src.gnome.org> | 2004-01-05 21:19:30 +0000 |
commit | c873c2bef9cf9e437447b2eaf33e1d66590bd2c4 (patch) | |
tree | ede7a0d4ff42bb531489b0c59831e47de9182843 | |
parent | 2a4331e22dfd9a30c1e1010261208bce72cc8204 (diff) | |
download | nautilus-c873c2bef9cf9e437447b2eaf33e1d66590bd2c4.tar.gz |
Nullify stretch_icon when the icon being pointed to is removed. Fixes bug
2004-01-05 Martin Wehner <martin.wehner@epost.de>
* libnautilus-private/nautilus-icon-container.c:
(icon_destroy): Nullify stretch_icon when the icon being
pointed to is removed. Fixes bug #128713.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libnautilus-private/nautilus-icon-container.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2004-01-05 Martin Wehner <martin.wehner@epost.de> + + * libnautilus-private/nautilus-icon-container.c: + (icon_destroy): Nullify stretch_icon when the icon being + pointed to is removed. Fixes bug #128713. + 2004-01-04 Martin Wehner <martin.wehner@epost.de> * libnautilus-private/nautilus-file-operations-progress.[ch]: diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c index a791fe958..895809930 100644 --- a/libnautilus-private/nautilus-icon-container.c +++ b/libnautilus-private/nautilus-icon-container.c @@ -4545,6 +4545,9 @@ icon_destroy (NautilusIconContainer *container, if (details->pending_icon_to_reveal == icon) { set_pending_icon_to_reveal (container, NULL); } + if (details->stretch_icon == icon) { + details->stretch_icon = NULL; + } if (icon->is_monitored) { nautilus_icon_container_stop_monitor_top_left (container, |