summaryrefslogtreecommitdiff
path: root/src/nautilus-spatial-window.h
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-09-14 18:15:24 +0000
committerDarin Adler <darin@src.gnome.org>2000-09-14 18:15:24 +0000
commit146c7178ee17764cd882d18e25a0e6ae7c344b52 (patch)
treea5e5166d591b32eb4499de80ebd75b8ba494a58c /src/nautilus-spatial-window.h
parent0b257a4ef60b2545c4c4042541ac952d8c6e326d (diff)
downloadnautilus-146c7178ee17764cd882d18e25a0e6ae7c344b52.tar.gz
To get started on a bug, I dismantled part of the state machine,
which we can replace with something much simpler. Just doing this change seems to have fixed the bug I was going to tackle. Fixes bug 2170 (hitting the "up" button a lot of times in a row causes crash). * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_self_check_file_utilities): Quick tweak to these tests. We need more thorough tests of nautilus_make_uri_from_input. * libnautilus-extensions/nautilus-search-bar-criterion-private.h: Removed this long-obsolete file. There's another copy in the src directory that's the "real" one. * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy): Fixed a problem I was seeing switching out of the list view by emptying the "pending" lists so doing the stop as part of destroy will not add items to the view before destroying it. * src/nautilus-window-manage-views.c: (nautilus_window_free_load_info): Got rid of "action_tag", "made_changes", and "state". (nautilus_window_update_state): Turned "made_changes" into a local variable. Got rid of code setting "state" since nothing looked at it. Got rid of code that sets up an idle. (nautilus_window_set_state_info): Eliminated "do_sync" and made the function always keep running update_state until it's done instead of using an idle. (nautilus_window_end_location_change_callback): Got rid of FIXME since I now understand why gtk_object_destroy is OK for windows. * src/nautilus-window.h: Eliminated "action_tag", "made_changes", and "state". * src/nautilus-window.c: (nautilus_window_destroy): No need to deal with "action_tag" any more. (window_update_sidebar_panels_from_preferences): Remove excess unref that's not needed now that we have more careful handling of sidebar references.
Diffstat (limited to 'src/nautilus-spatial-window.h')
-rw-r--r--src/nautilus-spatial-window.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nautilus-spatial-window.h b/src/nautilus-spatial-window.h
index fa7ba166b..b37941b9a 100644
--- a/src/nautilus-spatial-window.h
+++ b/src/nautilus-spatial-window.h
@@ -123,13 +123,10 @@ struct NautilusWindow {
GList *new_sidebar_panels;
GList *error_views;
- enum { NW_LOADING_INFO, NW_LOADING_VIEWS, NW_IDLE } state;
-
NautilusNavigationInfo *cancel_tag;
gboolean location_change_end_reached;
- guint action_tag;
- guint16 made_changes, making_changes;
+ guint16 making_changes;
NautilusLocationChangeType location_change_type;
guint location_change_distance;