diff options
author | Darin Adler <darin@src.gnome.org> | 2000-05-16 16:55:08 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-05-16 16:55:08 +0000 |
commit | 42b699468e7454b89042851913d0e9dd9346d086 (patch) | |
tree | 0278d078be4cb22965b13d7005cbe746799c0a72 /src/nautilus-spatial-window.h | |
parent | c7f20e0e336d25f2a16e1b485365d3e1e7e8ced4 (diff) | |
download | nautilus-42b699468e7454b89042851913d0e9dd9346d086.tar.gz |
Moved metafile code into its own source file. Also worked on making it all
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metadata_from_node), (get_metadata_list_from_node),
(create_metafile_root), (nautilus_directory_get_metadata),
(nautilus_directory_get_metadata_list),
(nautilus_directory_get_boolean_metadata),
(nautilus_directory_set_boolean_metadata),
(nautilus_directory_get_integer_metadata),
(nautilus_directory_set_integer_metadata),
(nautilus_directory_get_file_metadata_node),
(nautilus_directory_get_file_metadata),
(nautilus_directory_get_file_metadata_list), (real_set_metadata),
(real_set_metadata_list), (metadata_key_new),
(metadata_key_destroy), (metadata_key_hash),
(metadata_key_hash_equal), (metadata_value_new),
(metadata_value_new_list), (metadata_value_destroy),
(metadata_value_equal), (set_metadata_in_metafile),
(set_metadata_eat_parameters),
(free_metadata_changes_hash_table_entry),
(destroy_metadata_changes_hash_table),
(nautilus_directory_metafile_destroy),
(nautilus_directory_set_metadata),
(nautilus_directory_set_file_metadata),
(nautilus_directory_set_file_metadata_list):
* libnautilus-extensions/nautilus-directory-metafile.h:
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_destroy):
* libnautilus-extensions/nautilus-file.c:
Moved metafile code into its own source file. Also worked on making
it all bottleneck so we can store it before we read in a metafile.
* src/file-manager/fm-list-view.c: (select_matching_name_callback):
* libnautilus-extensions/nautilus-glib-extensions.h:
Added nautilus_boolean_bit for use in bit fields where gboolean
results in a signed bitfield.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_list_copy), (nautilus_g_str_list_equal),
(nautilus_g_str_list_copy): Added functions for dealing with a
list of C strings. Also got rid of const GList *. For GList we
don't use const because the functions in <glib.h> don't.
(nautilus_g_ptr_array_new_from_list), (nautilus_g_ptr_array_sort),
(nautilus_g_ptr_array_search): Renamed the new functions and types
to more closely match the standard. For example, the types must
have a Nautilus prefix.
* src/ntl-window.h:
* libnautilus-extensions/nautilus-icon-private.h:
* libnautilus-extensions/nautilus-icon-container.c:
(icon_set_selected), (rubberband_select):
Switched to use the nautilus_boolean_bit type.
* components/html/glibwww-callbacks.c:
Moved <config.h> include down to fix some warnings.
Diffstat (limited to 'src/nautilus-spatial-window.h')
-rw-r--r-- | src/nautilus-spatial-window.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/nautilus-spatial-window.h b/src/nautilus-spatial-window.h index a703a77ad..dbebf91df 100644 --- a/src/nautilus-spatial-window.h +++ b/src/nautilus-spatial-window.h @@ -29,6 +29,7 @@ #define NTL_WINDOW_H #include <libgnomeui/gnome-app.h> +#include <libnautilus-extensions/nautilus-glib-extensions.h> #include <libnautilus-extensions/nautilus-bookmark.h> #include "ntl-uri-map.h" #include "ntl-view.h" @@ -113,15 +114,15 @@ struct _NautilusWindow { NautilusLocationChangeType location_change_type; guint location_change_distance; - gboolean changes_pending : 1; - gboolean views_shown : 1; - gboolean view_bombed_out : 1; - gboolean view_activation_complete : 1; - gboolean sent_update_view : 1; - gboolean cv_progress_initial : 1; - gboolean cv_progress_done : 1; - gboolean cv_progress_error : 1; - gboolean reset_to_idle : 1; + nautilus_boolean_bit changes_pending : 1; + nautilus_boolean_bit views_shown : 1; + nautilus_boolean_bit view_bombed_out : 1; + nautilus_boolean_bit view_activation_complete : 1; + nautilus_boolean_bit sent_update_view : 1; + nautilus_boolean_bit cv_progress_initial : 1; + nautilus_boolean_bit cv_progress_done : 1; + nautilus_boolean_bit cv_progress_error : 1; + nautilus_boolean_bit reset_to_idle : 1; }; GtkType nautilus_window_get_type (void); |