- 17 Aug, 2000 3 commits
-
-
Gene Z. Ragan authored
2000-08-16 Gene Z. Ragan <gzr@eazel.com> * libnautilus-extensions/nautilus-icon-container.c: (icon_toggle_selected), (icon_destroy), (nautilus_icon_container_remove): Fixed bug 2197, moving a file to trash while in renaming mode leaves renaiming item behind. Call end_renaming_mode in nautilus_icon_container_remove. * libnautilus-extensions/nautilus-icon-dnd.c: (nautilus_icon_container_free_drag_data): Changed gtk_object_unref call to gtk_object_destroy to fix a crash. Hopefully this didn't introduce a memory leak.
-
Darin Adler authored
* README: Don't use tabs any more. Spell check. Add libglade. * components/tree/nautilus-tree-model.c: (nautilus_tree_model_monitor_add), (nautilus_tree_model_monitor_node): Use file attribute constant instead of hard-coded string. I was here to make some changes to the monitor API, but I didn't get to that yet. Next check-in. * libnautilus-extensions/nautilus-directory-async.c: (nautilus_directory_monitor_add_internal): Use "files_added" signal instead of callback. This is the first step toward removing the callback. I'll remove it tomorrow. * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_notify_files_added): Fix directory ref count leak. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_internal): Fix case where we would not ref the NautilusFile even though the directory is monitoring it. This would lead to an early destroy later. * libnautilus-extensions/nautilus-search-uri.c: (nautilus_search_uri_to_human): Comment out print statements. Mathieu can delete them entirely later. (nautilus_self_check_search_uri): Added a few more tests. * libnautilus-extensions/nautilus-trash-directory.h: * libnautilus-extensions/nautilus-trash-directory.c: (nautilus_trash_directory_initialize), (trash_destroy), (trash_callback_hash), (trash_callback_equal), (trash_contains_file), (trash_callback_destroy), (trash_callback_check_done), (directory_ready_callback), (trash_callback_connect_directory), (trash_call_when_ready), (trash_cancel_callback), (trash_file_monitor_add), (trash_file_monitor_remove), (trash_are_all_files_seen), (trash_is_not_empty), (nautilus_trash_directory_initialize_class), (nautilus_trash_directory_add_real_trash_directory), (nautilus_trash_directory_remove_real_trash_directory), (remove_all_real_directories): Getting closer on the trash implementation. Still a ways to go. * src/file-manager/fm-icon-text-window.c: (create_attributes_option_menu): * src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use _() instead of calling gettext. It turns out this is the recommended way to do it, even when the parameter is not a literal string.
-
Mike Engber authored
Added bug numbers to some FIXME's and a new FIXME (and placeholder handling) for our lack of emboss support in background (bug 2193) * libnautilus-extensions/nautilus-background.c: (nautilus_background_draw): * libnautilus-extensions/nautilus-directory-background.c: (nautilus_directory_background_read_desktop_settings):
-
- 16 Aug, 2000 9 commits
-
-
Mike Engber authored
Cleanup some of my desktop changes (better names) (bug 1047) Fix nautilus_background_get_image_placement, it was returning the wrong value (copy/paste error). Lay some ground work for supporting search results windows having their own theme. * libnautilus-extensions/nautilus-background.c: (nautilus_background_initialize_class), (nautilus_background_get_image_placement), (nautilus_background_draw), (nautilus_background_set_color_no_emit), (nautilus_background_set_color), (load_image_callback), (nautilus_background_set_image_uri_no_emit), (nautilus_background_set_image_uri), (nautilus_background_real_reset), (nautilus_background_receive_dropped_color): * libnautilus-extensions/nautilus-background.h: * libnautilus-extensions/nautilus-directory-background.c: (nautilus_directory_background_set_desktop), (nautilus_directory_background_is_desktop), (nautilus_directory_background_peek_theme_source), (nautilus_directory_background_get_default_settings), (nautilus_directory_background_read_desktop_settings), (nautilus_directory_background_write_desktop_default_settings), (image_loading_done_callback), (nautilus_directory_update_root_window), (nautilus_directory_background_is_set), (directory_changed_callback):
-
John Sullivan authored
* src/file-manager/dfos-xfer.c: (get_parent_make_name_list): The file-transfer mechanism can only handle files from the same parent directory right now. To prevent this from getting in the way of other work, I isolated the problem such that when you try to move/copy/make-link files from multiple directories, it puts up an alert warning you that it will ignore some of the files. Then it continues to process only the ones from the same directory as the first one it happened to examine.
-
Gene Z. Ragan authored
2000-08-16 Gene Z. Ragan <gzr@eazel.com> * src/nautilus-application.c: (nautilus_application_close_desktop): Changed gtk_object_unref call to gtk_object_destroy to fix an assertion being called. Hopefully this didn't introduce a memory leak.
-
Mathieu Lacage authored
2000-08-16 Mathieu Lacage <mathieu@eazel.com> * libnautilus-extensions/nautilus-search-uri.c: (nautilus_self_check_search_uri): add more tests.
-
Valek Frob authored
-
Mathieu Lacage authored
2000-08-15 Mathieu Lacage <mathieu@eazel.com> * libnautilus-extensions/nautilus-search-uri.c: (strip_uri_begenning), (tokenize_uri), (get_translated_criterion), (parse_uri), (nautilus_self_check_search_uri): add loads of self-test. fix bugs encountered in the testing. Thanks Darin.
-
Darin Adler authored
* libnautilus-extensions/nautilus-trash-directory.c: (nautilus_trash_directory_initialize), (trash_destroy), (callback_hash), (callback_equal), (trash_contains_file), (call_when_ready_state_destroy), (call_when_ready_state_check_done), (directory_ready_callback), (trash_call_when_ready), (trash_cancel_callback), (trash_files_callback), (trash_file_monitor_add), (trash_file_monitor_remove), (trash_are_all_files_seen), (trash_is_not_empty): More of the implementation of all the trash functions. About 1/3 done now. * libnautilus-extensions/nautilus-icon-dnd.c: (nautilus_icon_container_free_drag_data): Use gtk_object_unref so it really gets rid of the object instead of gtk_object_destroy that doesn't free it. * libnautilus-extensions/nautilus-list.c: Reformatting. * libnautilus/nautilus-zoomable.c: (impl_Nautilus_Zoomable_zoom_out), (impl_Nautilus_Zoomable_zoom_to_fit), (impl_Nautilus_Zoomable__destroy), (impl_Nautilus_Zoomable__create), (nautilus_zoomable_initialize_class): Clean out some old cruft. More cleanup needed. * src/file-manager/fm-directory-view.c: (text_attribute_names_changed_callback), (embedded_text_policy_changed_callback), (image_display_policy_changed_callback), (directory_view_font_family_changed_callback), (click_policy_changed_callback), (anti_aliased_mode_changed_callback), (fm_directory_view_bump_zoom_level), (fm_directory_view_zoom_to_level), (fm_directory_view_restore_default_zoom_level), (fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out), (fm_directory_view_get_background_widget), (fm_directory_view_get_selection): Use NAUTILUS_CALL_VIRTUAL. (fm_directory_can_move_to_trash): Fix handling of NULL directory. (new_folder_rename_later), (fm_directory_view_get_emblem_names_to_exclude), (fm_directory_view_merge_menus), (fm_directory_view_select_all), (fm_directory_view_set_selection), (fm_directory_view_supports_properties), (fm_directory_view_update_menus): Use NAUTILUS_CALL_VIRTUAL. (fm_directory_view_get_uri): Handle NULL directory. * src/file-manager/fm-icon-view.c: (fm_icon_view_get_directory_sort_by), (fm_icon_view_set_directory_sort_by), (fm_icon_view_get_directory_sort_reversed), (fm_icon_view_set_directory_sort_reversed), (fm_icon_view_get_directory_auto_layout), (fm_icon_view_set_directory_auto_layout): Use NAUTILUS_CALL_VIRTUAL. * src/file-manager/fm-list-view.c: (fm_list_view_adding_file), (fm_list_view_removing_file), (fm_list_view_file_still_belongs), (get_number_of_columns), (get_link_column), (get_default_sort_attribute), (get_column_specification): Use NAUTILUS_CALL_VIRTUAL. * src/nautilus-navigation-bar.c: (nautilus_navigation_bar_get_location), (nautilus_navigation_bar_set_location): Use NAUTILUS_CALL_VIRTUAL. * src/nautilus-view-frame-corba.c: (impl_Nautilus_ViewFrame__destroy): * src/nautilus-zoomable-frame-corba.c: (impl_Nautilus_ZoomableFrame__destroy), (impl_Nautilus_ZoomableFrame__create): Remove some unused code.
-
Arlo Rose authored
Added myself. This file is *seriously* out of date.
-
John Sullivan authored
list view). This was a piece of list view dragging support that got overlooked before, but is necessary for search results. Some of this code is copy/paste/modified from nautilus-icon-container.c and nautilus-icon-dnd.c. I added FIXMEs about this (there were some already). * libnautilus-extensions/nautilus-list.c: Added #defines for mouse buttons (show_context_menu_callback), (and get ready for a potential drag) (nautilus_list_button_release), (nautilus_list_unrealize), (nautilus_list_resize_column), (nautilus_list_drag_start), (nautilus_list_motion), (nautilus_list_drag_begin), (nautilus_list_drag_end), (nautilus_list_drag_leave), (nautilus_list_get_drop_action), (nautilus_list_drag_motion), (nautilus_list_drag_drop), (nautilus_list_drag_data_received): Changes are too intertwined to list function-by-function. The main ones are: replaced uses of mouse button constants with #defines; Made middle button do nothing useful to match icon view (was mimicking left button); made right button either start a "choose the action on release" type drag or pop up the contextual menu after a timeout if no drag begins; took out some unnecessary asserts. * src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons): Changed action >= 0 to action > 0 so it doesn't do a lot of useless work when user chooses Cancel after a right-click drag; moved g_free (list_view_uri) inside the block where list_view_uri is allocated.
-
- 15 Aug, 2000 16 commits
-
-
Mike Engber authored
Third cut at syncing our desktop background with GNOME's (bug 1047) Now we update the GNOME desktop (root window) when we make changes. Still need to handle nautilus getting notified when the capplet makes changes. * libnautilus-extensions/nautilus-background.c: (nautilus_background_initialize_class), (nautilus_background_set_color_no_signal), (nautilus_background_set_color), (load_image_callback), (nautilus_background_set_image_uri_no_signal), (nautilus_background_set_image_uri), (nautilus_background_is_loaded), (nautilus_background_real_reset), (nautilus_background_receive_dropped_color): * libnautilus-extensions/nautilus-background.h: * libnautilus-extensions/nautilus-directory-background.c: (nautilus_directory_background_write_desktop_settings), (nautilus_directory_background_write_desktop_default_settings), (make_root_pixmap), (dispose_root_pixmap), (set_root_pixmap), (image_loaded_callback), (nautilus_directory_update_root_window), (background_changed_callback), (background_reset_callback):
-
Darin Adler authored
* libnautilus-extensions/nautilus-search-uri.c: (nautilus_search_uri_to_human), (nautilus_is_search_uri), (nautilus_self_check_search_uri): Fix the self-check, which was exposing some errors that need to be fixed. For now, the failing checks are commented out and marked with FIXME.
-
Darin Adler authored
of factoring so that the trash has its own NautilusDirectory subclass now, and the appropriate functions are virtual. * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_are_all_files_seen), (nautilus_directory_contains_file), (nautilus_directory_call_when_ready), (nautilus_directory_cancel_callback), (nautilus_directory_file_monitor_add), (nautilus_directory_file_monitor_remove), (nautilus_directory_is_not_empty): Made all these functions virtual. (wait_until_ready_callback), (nautilus_directory_wait_until_ready): Fixed some names and got rid of some type casts. * libnautilus-extensions/nautilus-gtk-macros.h: Added a new macro to make calls to virtual functions easier to read. * libnautilus-extensions/nautilus-icon-container.c: * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-private.h: * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_initialize): Minor cleanup and name changes. * libnautilus-extensions/nautilus-lib-self-check-functions.h: * libnautilus-extensions/nautilus-search-uri.h: * libnautilus-extensions/nautilus-search-uri.c: (nautilus_is_search_uri): Added a function to tell if a URI is a search URI. (nautilus_self_check_search_uri): Added self-checks. * libnautilus-extensions/nautilus-directory-async.c: (allow_metafile): * src/nautilus-switchable-navigation-bar.c: (nautilus_switchable_navigation_bar_set_location): * src/nautilus-window-manage-views.c: (nautilus_window_end_location_change_callback): Changed to use the is_search_uri function. * libnautilus-extensions/nautilus-trash-directory.c: (trash_destroy), (trash_contains_file), (trash_call_when_ready), (trash_cancel_callback), (trash_file_monitor_add), (trash_file_monitor_remove), (trash_are_all_files_seen), (trash_is_not_empty), (nautilus_trash_directory_initialize_class): Trash versions of the virtual functions. * libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy), (vfs_contains_file), (vfs_call_when_ready), (vfs_cancel_callback), (vfs_file_monitor_add), (vfs_file_monitor_remove), (vfs_are_all_files_seen), (any_non_metafile_item), (vfs_is_not_empty), (nautilus_vfs_directory_initialize_class): Non-trash versions of the virtual functions (mostly code moved from nautilus-directory.c). * src/file-manager/fm-directory-view.c: (disconnect_model_handlers): Fix a place that relied on doing a call with a NautilusDirectory of NULL. We don't need to be so tolerant of NULL any more now that nautilus_directory_get always returns a non-NULL result for any URI. * src/nautilus-window.c: (nautilus_window_realize): A little code cleanup. (nautilus_window_load_content_view_menu): Fixed a storage leak of the method string. * src/nautilus.oafinfo: Added trash and gnome-trash as additional URIs supported by the icon and list view.
-
John Sullivan authored
Implemented a simple confirmation dialog. Pavel said he and Arlo agreed to defer the feature of including information about the current trash contents in the dialog. I'll write up a new deferred bug for that. * src/file-manager/dfos-xfer.c: (do_empty_trash): New function, does all the work of actually emptying the trash. (confirm_empty_trash): New function, puts up a modal dialog and returns whether user confirmed it. See comments in file as to why it's modal. (fs_empty_trash): Empties trash only if confirm_empty_trash returns TRUE.
-
Valek Frob authored
-
Gene Z. Ragan authored
2000-08-15 Gene Z. Ragan <gzr@eazel.com> * libnautilus-extensions/nautilus-icon-container.c: (get_best_empty_grid_location), (lay_down_icons_tblr): Added horizontal and vertical padding for the tblr layout mode as per Arlo's spec.
-
Raph Levien authored
an alpha channel (ie if has_alpha=0 in rsvg_start_svg).
-
Mathieu Lacage authored
2000-08-15 Mathieu Lacage <mathieu@eazel.com> Implements core of task 1761 * libnautilus-extensions/Makefile.am: add my new files to the build. * libnautilus-extensions/nautilus-search-uri.c: (strip_uri_begenning), (free_tokenized_uri), (tokenize_uri), (get_item_number), (get_translated_criterion), (get_first_criterion_prefix), (get_nth_criterion_prefix), (get_nth_criterion_suffix), (get_first_criterion_suffix), (parse_uri), (nautilus_search_uri_to_human): add file. * libnautilus-extensions/nautilus-search-uri.h: add file. * po/POTFILES.in: add my files there. * src/file-manager/fm-search-list-view.c: (load_location_callback): a space. * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_initialize), (attach_criterion_to_search_bar), (unattach_criterion_from_search_bar): fix multiple bugs: the size text entry would not be removed by the "fewer options" button. Changed a few "pressed" to "clicked".
-
Gene Z. Ragan authored
2000-08-14 Gene Z. Ragan <gzr@eazel.com> * libnautilus-extensions/nautilus-icon-container.c: (icon_set_position), (get_best_empty_grid_location): Fixed bug in postioning icons on the right edge of the desktop. Some fine tuning of inital default icon placement.
-
Eskil Heyn Olsen authored
* components/services/install/command-line/Makefile.am: * components/services/install/lib/eazel-install-metadata.c: (create_default_configuration_metafile), (init_default_install_configuration), (init_default_transfer_configuration), (transferoptions_destroy): Changed some of the default values. * components/services/install/lib/eazel-install-object.c: (eazel_install_unref), (eazel_install_set_arg), (eazel_install_class_initialize), (eazel_install_fetch_remote_package_list), (eazel_install_install_packages), (eazel_install_uninstall_packages): Removed rpm_storage_path, as we query the server for a complete url. Unref calls finalize if compiled with EAZEL_INSTALL_SLIM. fetch_remote_package_list now uses file:// unless _SLIM is defined (file:// makes gnome-vfs download the bastard). * components/services/install/lib/eazel-install-private.h: Made the subcommand_cammand boolean volatile. * components/services/install/lib/eazel-install-protocols.h: * components/services/install/lib/eazel-install-protocols.c: (http_fetch_remote_file), (ftp_fetch_remote_file), (gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file), (local_fetch_remote_file), (eazel_install_fill_file_fetch_table), (eazel_install_fetch_file), (filename_from_url), (eazel_install_fetch_package), (eazel_install_fetch_package_which_provides), (add_to_url), (get_url_for_package), (get_search_url_for_package): Added gnome-vfs support (1301). Revamped a lot of the switch (protocol) calls, so now theres a table of function pointers, so eazel_install_fetch_file just uses func_table[protocol](...). Thereby making it easier to add protocols. Also more #ifdefs to make life easier on the poor nautilus-installer. And I added file_to_report to eazel_install_fetch_file, so it can use an alternative filename in the download progress signals, instead of the target filename (eg. Eye of Gnome instead of eog-x.y.z-bla1.i386.rpm). Added g_main_iteration calls to http_fetch, for the nautilus-installer. The gnome-vfs automagically calls it. local_file_fetch now emits the obiligatory signals. * components/services/install/lib/eazel-install-public.h: * components/services/install/lib/eazel-install-rpm-glue.c: (download_all_packages), (eazel_install_start_transaction_make_rpm_argument_list), (eazel_install_do_transaction_save_report), (eazel_install_monitor_rpm_propcess_pipe), (eazel_install_check_existing_packages), (eazel_install_fetch_rpm_dependencies), (print_package_list), (eazel_install_ensure_deps), (eazel_uninstall_upward_traverse), (eazel_uninstall_downward_traverse): Div cleaning up. Fixed rpm percentage output. * components/services/install/lib/eazel-install-types.c: (packagedata_fill_from_rpm_header): * components/services/install/lib/eazel-install-types.h: * components/services/install/lib/eazel-install-xml-package-list.c: (parse_osd_xml_from_memory): Fixed evil pointer mishap. * components/services/install/lib/makefile.staticlib.in: Added EAZEL_INSTALL_PROTOCOL_USE_OLD_CGI * components/services/install/server/Makefile.am: Added the VFS flags * components/services/install/server/main.c: (sig_segv_handler), (eazel_install_service_factory), (main): Now loads the default config file. * components/services/trilobite/libtrilobite/Makefile.am: Added VFS flags * components/services/trilobite/libtrilobite/trilobite-core-utils.h: *components/services/trilobite/libtrilobite/trilobite-core-utils.c: (trilobite_get_useragent_string): Adressed bug 2149 * nautilus-installer/src/Makefile: * nautilus-installer/src/installer.c: (eazel_install_progress), (eazel_download_progress), (eazel_install_preflight), (installer): * nautilus-installer/src/interface.c: (create_what_to_do_page), (create_install_page), (create_finish_page), (create_window): Revamped large parts of the ui, much prettier now.
-
Pavel Cisler authored
2000-08-14 Pavel Cisler <pavel@eazel.com> * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_discover_trash_callback), (fm_desktop_icon_view_initialize): * src/file-manager/nautilus-trash-monitor.c: (add_one_writable_device), (get_trashable_volume_uris), (nautilus_trash_monitor_async_get_trash_directories): * src/file-manager/nautilus-trash-monitor.h: Fix bugzilla 1855 - nautilus_trash_monitor_async_get_trash_directories returns the list of URIs of all the available trash directories, finding and creating them as needed. * libnautilus-extensions/nautilus-volume-monitor.c: (floppy_sort), (mount_device_check_change), (mount_devices_update_is_mounted), (check_permissions), (mount_device_iso9660_add), (mount_device_add_aliases), (add_mount_device), (mntent_is_removable_fs), (nautilus_volume_monitor_find_mount_devices), (nautilus_volume_monitor_each_device), (nautilus_volume_monitor_each_mounted_device), (nautilus_volume_monitor_mount_unmount_removable): * libnautilus-extensions/nautilus-volume-monitor.h: Made nautilus_volume_monitor_find_mount_device call mount_devices_check_status explicitly so that the mounted volume state is correct when the call returns. Add nautilus_volume_monitor_each_device and nautilus_volume_monitor_each_mounted_device. Moved NautilusVolumeMonitorDetails into nautilus-volume-monitor.c, away from prying eyes. Tweak some string matching code.
-
John Sullivan authored
in list view). This was getting in the way of me trying to figure out what does & doesn't work in the search results view. * libnautilus-extensions/nautilus-list.c: Got rid of details->clicked_row, since there was already a details->button_down_row with the same intended use. Also changed dnd_select_pending from int to gboolean to match its use. (nautilus_list_button_press): Set details->button_down_row to -1 before handling click; remove line sometimes but not always updating clicked_row (that was the source of the bug) (nautilus_list_button_release): Remove line setting clicked_row back to -1 after release; this was unnecessary. (nautilus_list_drag_start): Use button_down_row instead of clicked_row
-
Gene Z. Ragan authored
2000-08-14 Gene Z. Ragan <gzr@eazel.com> * libnautilus-extensions/nautilus-icon-container.c: (desktop_icons_sort), (lay_down_icons_tblr), (lay_down_icons): Fixed some sorting bugs when dealing with inital icon layout in tblr mode.
-
Mike Engber authored
Second cut at syncing our desktop background with GNOME's (bug 1047) Now we support images being centered and scaled (not just tiled) Although, there is no UI in nautilus to set this up (use the background capplet) Still need to handle update issues. * libnautilus-extensions/nautilus-background.c: (nautilus_background_destroy), (nautilus_background_get_image_placement), (nautilus_background_set_image_placement), (nautilus_background_draw), (nautilus_background_draw_aa), (nautilus_background_get_image_uri), (load_image_callback), (start_loading_image), (nautilus_background_receive_dropped_background_image), (nautilus_background_set_image_uri), (nautilus_background_is_set), (nautilus_background_real_reset), (nautilus_background_is_too_complex_for_gtk_style), (nautilus_background_is_dark), (nautilus_background_receive_dropped_color): * libnautilus-extensions/nautilus-background.h: * libnautilus-extensions/nautilus-directory-background.c: (nautilus_directory_background_get_default_settings), (nautilus_directory_background_read_desktop_settings), (nautilus_directory_background_write_desktop_settings), (nautilus_directory_background_write_desktop_default_settings), (nautilus_directory_background_is_set), (background_changed_callback), (directory_changed_callback), (background_reset_callback): nautilus_gdk_pixbuf_scale_to_fit was renamed to nautilus_gdk_pixbuf_scale_down_to_fit and also changed to not unref it's argument pixbuf. This involved fixing up various places it was used. * components/music/nautilus-music-view.c: (nautilus_music_view_update_from_uri): * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c: (nautilus_gdk_pixbuf_scale_to_fit_helper), (nautilus_gdk_pixbuf_scale_to_fit), (nautilus_gdk_pixbuf_scale_down_to_fit): * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h: * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_make_thumbnails): * src/nautilus-property-browser.c: (make_drag_image), (set_emblem_image_from_file), (make_properties_from_directory_path): * src/nautilus-sidebar.c: (background_settings_changed_callback), (background_reset_callback), (nautilus_sidebar_update_appearance): * src/nautilus-theme-selector.c: (add_theme):
-
Darin Adler authored
fail on view switch). * libnautilus-extensions/nautilus-directory-async.c: (dequeue_pending_idle_callback), (directory_load_done): Make sure files are actually on the file list before emitting the files_added signal. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_internal): Fixed a mistake on my last check-in relating to NULL directories. * src/nautilus-window-private.h: * src/nautilus-window-manage-views.c: (nautilus_window_has_really_changed): Fixed code so that it removes old sidebar panels in a way that won't seem like an error to the error-detecting code. (nautilus_window_set_state_info): Keep the same sidebar panels when we change the view and not the location. Also took out two unused "states". (nautilus_window_begin_location_change): Got rid of "SYNC_STATE". * src/nautilus-window.c: A bit of reformatting.
-
Gene Z. Ragan authored
2000-08-14 Gene Z. Ragan <gzr@eazel.com> * libnautilus-extensions/nautilus-icon-container.c: (lay_down_icons_tblr): Made sure that an icon is added to the layout grid when it is postioned during a multi-icon placement. Freeze the icon positions after we are done placing them using this layout mode.
-
- 14 Aug, 2000 9 commits
-
-
Darin Adler authored
* libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-trash-directory.c: (nautilus_trash_directory_initialize_class), (nautilus_trash_directory_initialize), (nautilus_trash_directory_destroy): * libnautilus-extensions/nautilus-trash-directory.h: * libnautilus-extensions/nautilus-vfs-directory.c: (nautilus_vfs_directory_initialize_class), (nautilus_vfs_directory_initialize), (nautilus_vfs_directory_destroy): * libnautilus-extensions/nautilus-vfs-directory.h: Add subclasses for the trash and for general VFS directories. Using refactoring techniques to move code down into these subclasses. This is not intended to be a general framework, but should be good enough to handle both these cases. * libnautilus-extensions/nautilus-directory-async.c: (can_use_public_metafile), (metafile_read_check_for_directory), (metafile_read_failed), (metafile_read_start), (allow_metafile), (metafile_write_success_close_callback), (nautilus_metafile_write_start), (start_monitoring_file_list), (get_corresponding_file), (start_getting_file_info): * libnautilus-extensions/nautilus-directory-private.h: * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_destroy), (make_uri_canonical), (nautilus_directory_get_internal), (nautilus_directory_get_uri), (construct_private_metafile_uri), (nautilus_directory_new), (nautilus_directory_is_local), (nautilus_directory_is_not_empty), (nautilus_self_check_directory): * libnautilus-extensions/nautilus-directory.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_internal), (nautilus_file_rename), (nautilus_file_get_gnome_vfs_uri), (nautilus_file_matches_uri), (nautilus_file_compare_by_name), (nautilus_file_compare_by_directory_name), (nautilus_file_compare_for_sort), (nautilus_file_get_uri), (nautilus_file_set_permissions), (nautilus_file_get_string_attribute), (nautilus_file_get_mime_type), (nautilus_file_is_in_trash), (nautilus_file_contains_text), (nautilus_file_get_directory_name), (nautilus_file_mark_gone), (nautilus_file_changed): * libnautilus-extensions/nautilus-file.h: Add code to handle case of directory that can't be handled by gnome-vfs. Mostly some NULL checks. Also renamed fields to make it clear that the text URI is the "real" one. Added code to handle the "gnome-trash:" and "trash:" schemes specially in the code to make URIs canonical. * libnautilus-extensions/nautilus-mime-actions.c: (get_mime_type_from_uri): Return "application/octet-stream" instead of NULL for unknown MIME type. * src/file-manager/fm-directory-view.c: (fm_directory_view_display_selection_info): Eliminated the nautilus_file_get_real_name call. * src/nautilus-switchable-navigation-bar.c: (nautilus_switchable_navigation_bar_set_location): Eliminated the nautilus_directory_is_search_directory call. * src/file-manager/fm-search-list-view.c: (real_adding_file): Fixed formatting mistake. * src/nautilus-view-frame.c: (set_up_for_new_location): Emit the title_changed signal for each change in location.
-
Gene Z. Ragan authored
2000-08-14 Gene Z. Ragan <gzr@eazel.com> * libnautilus-extensions/nautilus-icon-container.c: * libnautilus-extensions/nautilus-icon-container.h: (desktop_icons_sort), (find_open_grid_space), (get_best_empty_grid_location), (mark_icon_location_in_grid), (mark_icon_locations_in_grid), (lay_down_icons_tblr), (lay_down_icons), (nautilus_icon_container_add): New functions for desktop layout mode. We use a grid and decide where to place icons based on the first, best available free space on the desktop. * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_initialize): Set our layout mode to be top-bottom-left-right
-
Raph Levien authored
-
John Sullivan authored
* src/file-manager/fm-properties-window.c: (forget_properties_window): Swapped the order of nautilus_file_monitor_remove and nautilus_file_unref. Unref must happen after we're otherwise done with the file (I hadn't seen any symptoms of this bug). (get_and_ref_file_to_display): Add NAUTILUS_LINK_TRASH to the set of nautilus-link types for which we show the target's properties. Currently that means you get the properties of the single Trash directory.
-
Darin Adler authored
* configure.in: Fixed GtkHTML configure section so it will work with 3-part version numbers. I didn't really know the "good" way to do this, so I just fixed the sed command to work with multi-part versions and didn't try to fix any other aspect of this. This change was required to make the configure work with GtkHTML 0.6.1.
-
John Sullivan authored
-
John Sullivan authored
should show volume properties for desktop icons). I split the "Show Properties for Trash" bug off as a separate task (2146), since it has its own set of issues. * src/file-manager/fm-properties-window.h: Eliminated fm_properties_window_get_or_create, which returned a GtkWindow, in favor of new fm_properties_window_present, which doesn't. This was required to do create the window asynchronously. * src/file-manager/fm-directory-view.c: (open_one_properties_window): Switch caller to use new fm_properties_window_present. It had been wiring up an Undo manager on the result window; this code got moved into the asynchronous callback part of creating a properties window. * src/file-manager/fm-properties-window.c: (create_pixmap_widget_for_file): ref file stored with pixmap widget; this had been creating a ref/unref mismatch that we had never noticed before probably due to extraneous refs elsewhere. (name_field_focus_out), (name_field_focus_in), (create_basic_page): Only do special focus handling with the name field if it's sensitive. (get_and_ref_file_to_display): initialize file_to_display to NULL. This was crashing non-special-Desktop-case Properties windows. (create_properties_window_callback): New function, asynchronous callback to create the properties window. (fm_properties_window_present): Create properties window with asynchronous nautilus_file_call_when_ready so it doesn't try to create the window until it can tell whether the file is a directory or not. We never noticed this not working before because Show Properties had only been invoked on existing, info-bearing NautilusFile objects.
-
John Sullivan authored
* src/nautilus-shell.c: (display_caveat): Wrapped the image in the caveat dialog in a GtkVBox such that the frame & image will remain unstretched at the top of the dialog if the text gets taller than the image. We might want to take this (trivial & safe) change for the preview release if we end up making the caveat text longer.
-
Andy Hertzfeld authored
added a separate theme selection window and removed theme selection from the property browser
-
- 13 Aug, 2000 3 commits
-
-
Raph Levien authored
-
Raph Levien authored
performance suck! That will change soon enough, though :)
-
Maciej Stachowiak authored
* librsvg/test-ft-gtk.c (set_text): Made this local function static to avoid warnings.
-