summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wehner <martin.wehner@epost.de>2004-01-05 21:19:30 +0000
committerMartin Wehner <mwehner@src.gnome.org>2004-01-05 21:19:30 +0000
commitc873c2bef9cf9e437447b2eaf33e1d66590bd2c4 (patch)
treeede7a0d4ff42bb531489b0c59831e47de9182843
parent2a4331e22dfd9a30c1e1010261208bce72cc8204 (diff)
downloadnautilus-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--ChangeLog6
-rw-r--r--libnautilus-private/nautilus-icon-container.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ac4f40f2..b8aa5cb4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,