summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-icon-private.h
diff options
context:
space:
mode:
authorArik Devens <arik@src.gnome.org>2001-02-26 10:00:16 +0000
committerArik Devens <arik@src.gnome.org>2001-02-26 10:00:16 +0000
commit03dfe78ed9ab00dd9685fce4358d2acd1fe7833f (patch)
treea73188efa5a3c9eee942722ea719924e01bdfcb6 /libnautilus-private/nautilus-icon-private.h
parent8b9ea85e5fffff9c67d2203219eec2634783bb2d (diff)
downloadnautilus-03dfe78ed9ab00dd9685fce4358d2acd1fe7833f.tar.gz
Partial fix for bug 5701. Moved icon stretching to an idle handler to both speed it up a bit and stop it from growing then freezing then jumping to a new size. Will do more after 1.0.
Diffstat (limited to 'libnautilus-private/nautilus-icon-private.h')
-rw-r--r--libnautilus-private/nautilus-icon-private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-icon-private.h b/libnautilus-private/nautilus-icon-private.h
index 82657b481..a13e5bd68 100644
--- a/libnautilus-private/nautilus-icon-private.h
+++ b/libnautilus-private/nautilus-icon-private.h
@@ -157,6 +157,9 @@ struct NautilusIconContainerDetails {
/* Idle ID. */
guint idle_id;
+ /* Idle handler for stretch code */
+ guint stretch_idle_id;
+
/* Timeout for selection in browser mode. */
guint linger_selection_mode_timer_id;
@@ -206,6 +209,10 @@ struct NautilusIconContainerDetails {
/* Ignore the visible area the next time the scroll region is recomputed */
gboolean reset_scroll_region_trigger;
+
+ /* The position we are scaling to on stretch */
+ int window_x;
+ int window_y;
};
/* Private functions shared by mutiple files. */