diff options
author | Maciej Stachowiak <mstachow@src.gnome.org> | 2001-02-19 20:46:26 +0000 |
---|---|---|
committer | Maciej Stachowiak <mstachow@src.gnome.org> | 2001-02-19 20:46:26 +0000 |
commit | 9efcca800087241ed5c296789ff14a0c8c24cd02 (patch) | |
tree | 60bdcfc34c636895690b7541e5c462c7f920b965 /icons/gnome-image-xwd.png | |
parent | 514928fdd24e7ee6fd39678a030dd6f43dbb1a10 (diff) | |
download | nautilus-9efcca800087241ed5c296789ff14a0c8c24cd02.tar.gz |
reviewed by: Gene Z. Ragan <gzr@eazel.com>
Added auto-prelighting feature to NautilusClickableImage, and
fixed a major bug that occurs for clickable images in scrolled
areas.
* libnautilus-extensions/nautilus-clickable-image.h,
libnautilus-extensions/nautilus-clickable-image.c:
(nautilus_clickable_image_set_prelight): New public API call that
allows for automatic prelight handling direct in
NautilusClickableImage; made it settable because some users of
this code want to manually prelight with an alternate image.
(nautilus_clickable_image_set_up_pixbufs): helper function for the
above that keeps track of the normal and prelit buffers.
(label_enter, label_leave): When in prelight mode, switch images
on enter and leave. Also, remove unnecessary queue_draw calls.
(adjust_coordinates_for_window, ancestor_enter_notify_event,
ancestor_leave_notify_event, ancestor_motion_notify_event): Do
some coordinate adjustments so that if the NautilusClickableImage
is in a scrolled area with NO_WINDOW widgets all the way in
between, we do an appropriate coordinate adjustment. This should
also handle other containers that put their children in a
different window than their own. This was breaking for the summary
view when I set it to use clickable images for the service icons.
* libnautilus/nautilus-view-standard-main.c
(nautilus_view_standard_main_multi): Do a g_thread_init to make
views that use gnome-vfs happy.
Diffstat (limited to 'icons/gnome-image-xwd.png')
0 files changed, 0 insertions, 0 deletions