diff options
author | John Sullivan <sullivan@src.gnome.org> | 2000-06-16 20:57:02 +0000 |
---|---|---|
committer | John Sullivan <sullivan@src.gnome.org> | 2000-06-16 20:57:02 +0000 |
commit | 1fd31530afef8f5c786663675f5d605674004bfc (patch) | |
tree | 2af722831f751ecb3e04128b4f1fa872f4308278 /src/nautilus-window.h | |
parent | f971d7c56dc40a49c3739080529324a457392aa6 (diff) | |
download | nautilus-1fd31530afef8f5c786663675f5d605674004bfc.tar.gz |
Some work towards bug 1401 (bookmark icon never updates).
No visible effect yet.
* libnautilus-extensions/nautilus-bookmark.h:
Added nautilus_bookmark_get_file prototype, not yet
called or implemented.
* libnautilus-extensions/nautilus-file.h,
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_check_if_ready): New function, does
nothing yet.
* libnautilus-extensions/nautilus-icon-factory.h:
Added nautilus_icon_factory_is_icon_ready_for_file
prototype, not yet called or implemented.
* src/nautilus-window-menus.c:
(nautilus_window_initialize_bookmarks_menu),
(nautilus_window_initialize_go_menu),
(nautilus_window_remove_bookmarks_menu_callback),
(nautilus_window_remove_go_menu_callback),
(refresh_bookmarks_menu),
(refresh_bookmarks_menu_idle_callback),
(schedule_refresh_bookmarks_menu), (refresh_go_menu),
(refresh_go_menu_idle_callback), (schedule_refresh_go_menu):
Made the code that rebuilds the Go and Bookmarks menus when
there's been a change to the bookmarks use idle handling to
batch up requests. This will be important when bookmarks
broadcast updates for their icons.
* src/nautilus-window-private.h: Defined NautilusWindowDetails
struct. We should eventually migrate all of the fields
of NautilusWindow in here, but I didn't do that now.
Added two fields used by bookmark-menu-updating code.
* src/nautilus-window.h: Made a details field using
NautilusWindowDetails.
* src/nautilus-window.c:
(nautilus_window_init): Create details field.
(nautilus_window_destroy): Clean up any pending idle bookmark
refreshing stuff.
Diffstat (limited to 'src/nautilus-window.h')
-rw-r--r-- | src/nautilus-window.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nautilus-window.h b/src/nautilus-window.h index de7d64cbf..add874aa6 100644 --- a/src/nautilus-window.h +++ b/src/nautilus-window.h @@ -63,9 +63,13 @@ typedef enum { NAUTILUS_LOCATION_CHANGE_RELOAD } NautilusLocationChangeType; +typedef struct NautilusWindowDetails NautilusWindowDetails; + struct NautilusWindow { GnomeApp parent_object; + NautilusWindowDetails *details; + /** UI stuff **/ NautilusSidebar *sidebar; GtkWidget *content_hbox; |