summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add a place to put helper-scripts.Ramiro Estrugo2000-11-041-0/+7
| | | | | | | | | | | | | | | | | | | | | * Makefile.am: * configure.in: * helper-scripts/.cvsignore: * helper-scripts/Makefile.am: * helper-scripts/nautilus-verify-rpm.sh: Add a place to put helper-scripts. * helper-utilities/error-dialog/Makefile.am: Dont link in with Nautilus libraries and dependencies. * helper-utilities/error-dialog/nautilus-error-dialog.c: (find_message_label), (find_message_label_callback), (show_message_box), (show_ok_box), (nautilus_error_dialog), (nautilus_yes_no_dialog), (main): Add support for specifying button labels on the command line. * src/run-nautilus: Call the nautilus rpm verification script and bail if it fails.
* Tell everyone that we are back on bonobo HEAD. Make sure Nautilus doesn'tDarin Adler2000-11-049-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Tell everyone that we are back on bonobo HEAD. * configure.in: Make sure Nautilus doesn't try to compile with the old bonobo. * components/adapter/nautilus-adapter-embed-strategy.c: (nautilus_adapter_embed_strategy_get): * components/adapter/nautilus-adapter-load-strategy.c: (nautilus_adapter_load_strategy_get): * components/adapter/nautilus-adapter-progressive-load-strategy.c: (nautilus_adapter_progressive_load_strategy_load_location): * components/history/nautilus-history-view.c: (history_view_frame_call_begin): * libnautilus/nautilus-undo.c: (set_up_bonobo_control): * libnautilus/nautilus-view.c: (view_frame_call_begin): * libnautilus/nautilus-zoomable.c: (nautilus_zoomable_ensure_zoomable_frame): Fix all the callers of query_interface in CORBA to call it queryInterface (I used the Bonobo script to do it). * src/nautilus-window.h: * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_set_arg), (nautilus_window_get_arg), (nautilus_window_set_content_view_widget): Update for BonoboWin -> BonoboWindow change. Once again, the change was done by the Bonobo script (but I had to undo the spaces it ate after BONOBO_WIN). * components/services/install/idl/trilobite-eazel-install.idl: * components/services/time/idl/trilobite-eazel-time-service.idl: * components/services/trilobite/idl/trilobite-service.idl: * components/services/trilobite/sample/idl/sample-service.idl: * libnautilus-adapter/nautilus-adapter-factory.idl: * libnautilus/nautilus-distributed-undo.idl: * libnautilus/nautilus-view-component.idl: Since IDL dependencies don't work, I touched every IDL file to make the switchover smoother. This only works if people update before they try to build and fail, otherwise they need to do: find -name '*.xml' | xargs touch (Maciej and I want to add dependency support to orbit-idl to make this problem go away long term). * src/nautilus-desktop-window.c: (realize): The script updated this comment to, so I let it. * user-guide/C/Makefile.am: Took out the botched change I made to this file. Mathieu did the correct one.
* Hopefully, fix bug 4055 for true. make it work with multiple successiveMathieu Lacage2000-11-041-8/+13
| | | | | | | | | | | | | | | 2000-11-03 Mathieu Lacage <mathieu@eazel.com> Hopefully, fix bug 4055 for true. * libnautilus-extensions/nautilus-list.c: (nautilus_list_drag_start), (nautilus_list_ensure_drag_data), (nautilus_list_drag_end), (nautilus_list_get_drop_action), (nautilus_list_drag_motion), (nautilus_list_drag_data_received): make it work with multiple successive drags by reinitializing a number of variables used during drag. * src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons), (fm_list_get_default_action): make it react to drops in the blank area of a list view.
* fixed bug 4192, strange feedback while stretching icons, by using libartAndy Hertzfeld2000-11-033-4/+4
| | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_outline_rectangle_aa), (draw_stretch_handles_aa), (draw_or_measure_label_text_aa), (draw_label_text_aa): fixed bug 4192, strange feedback while stretching icons, by using libart to draw the rectangle instead of the buggy custom graphics routine that we were using. * src/file-manager/fm-icon-view.c: (icon_container_preview_callback): fixed bug 4460, remote sound files displayed preview icon but didn't actually preview, by adding a check to make it display the icon for local files only * src/nautilus-window-menus.c: (file_menu_new_window_callback): fixed bug 4033, new window command should initially point to the home directory by calling nautilus_window_go_home instead of going to the uri of the current window.
* Fixed a srcdir/builddir problem that prevents "make distcheck" fromDarin Adler2000-11-031-1/+1
| | | | | | * src/Makefile.am: Fixed a srcdir/builddir problem that prevents "make distcheck" from working. This is not necessarily the only "make distcheck" problem.
* Changed some wording so first time users won't be confused.Arlo Rose2000-11-031-3/+3
| | | | | | * src/nautilus-first-time-druid.c: (set_up_user_level_page), (set_up_service_signup_page), (nautilus_first_time_druid_show): Changed some wording so first time users won't be confused.
* Fixed bug 3613 (activating any file as root tries toJohn Sullivan2000-11-021-1/+2
| | | | | | | | execute it) * src/file-manager/fm-directory-view.c: (file_is_launchable): Need to check nautilus_file_is_executable as well as nautilus_file_can_execute.
* Fixed 4331. Checked if a toplevel package is a source packageEskil Heyn Olsen2000-11-022-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * components/services/install/command-line/eazel-alt-install-corba. c: (main): Fixed 4331. * components/services/install/lib/eazel-install-logic.c: (eazel_install_download_packages), Checked if a toplevel package is a source package (eazel_install_prune_packages_helper), (eazel_install_check_if_depends_on), (eazel_install_do_transaction_fill_hash), (eazel_install_prune_packages), (eazel_install_ensure_deps), Commented out/changed some debug output (eazel_install_fetch_dependencies), Changed the debug output in case of circular dependency, also added a check for source packages. (eazel_install_start_transaction): Commented out the debug output of the rpm args * components/services/install/lib/eazel-install-problem.c: (get_detailed_messages_foreach), Detect source package. (eazel_install_problem_tree_to_case): Removed debug output. * components/services/install/nautilus-view/nautilus-service-instal l-view.c: (nautilus_service_install_view_initialize), (nautilus_service_install_installing), (nautilus_service_install_done), Improved the updating of nautilus from natilus, by actually offering to restart nautilus (and doing it if the user wants to) (nautilus_install_service_locate_menu_entries): If I can't figure out where the desktop files are, don't print "blabla is somewhere..." * nautilus.spec.in: Added usermode >= 1.35 for nautilus-trilobite * po/da.po: * po/no.po: Removed the fatal Control*t translation. * src/file-manager/fm-directory-view.c: (reset_bonobo_trash_delete_menu): Added a comment for the translation teams to not translate Control*t at this point. * src/nautilus-shell.c: (save_window_states): When saving windowstates, replace any window->location that starts with eazel-install: with eazel:, thereby preventing loops when eazel-install: views restart nautilus.
* fixed bug 1826 by pointing the update download uri to it's real locationAndy Hertzfeld2000-11-022-12/+30
| | | | | | | | | | | | | | | | * src/nautilus-first-time-druid.c: (initiate_file_download): fixed bug 1826 by pointing the update download uri to it's real location at services.eazel.com. * src/nautilus-window-manage-views.c: (just_one_window), (nautilus_window_end_location_change_callback): fixed bug 4351, nautilus quits after running the first time druid if services are inaccessible. Fixed by making it not quit if there's a single window that fails, going to the home directory (if it's valid) instead. * icons/loading.png: a better version of the non-anti-aliased loading icon from Susan.
* Remove FIXME for already-fixed bug. Add Debian-specific hack requested inDarin Adler2000-11-012-5/+10
| | | | | | | * src/nautilus-window-service-ui.c: (goto_services_support): Remove FIXME for already-fixed bug. * src/run-nautilus: Add Debian-specific hack requested in bug report (bug 4353).
* New functions.Maciej Stachowiak2000-11-013-21/+69
| | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-mime-actions.h, libnautilus-extensions/nautilus-mime-actions.c: (nautilus_mime_actions_file_needs_full_file_attributes, server_has_content_requirements, server_matches_content_requirements): New functions. (nautilus_mime_get_all_components_for_file) Updated. * src/nautilus-applicable-views.h, src/nautilus-applicable-views.c: (got_file_info_callback_common, (got_full_file_info_callback, got_minimum_file_info_callback, nautilus_navigation_info_new, nautilus_navigation_info_cancel): Changed to possibly handle calling the callback twice so we can avoid having to load twice before showing a component at all. * src/nautilus-window-manage-views.c (nautilus_window_end_location_change_callback): If being called a preliminary time, ignore it for now.
* Fixed bug 4343 (crash clicking "Back" deep in software catalog)John Sullivan2000-11-011-17/+21
| | | | | | | | | | | | | | | This was an inaccurate assert. Other similar asserts had been fixed earlier, but this one and a parallel one in Forward got overlooked. * src/nautilus-window-manage-views.c: (check_bookmark_location_matches_uri): New helper function, uses uris_match. (check_last_bookmark_location_matches_window): Now calls the new function (which was extracted from this) (handle_go_back), (handle_go_forward): Use the new function to check that the bookmark has the right uri, instead of direct string compares.
* Keep track of NautilusWindow realization events. Do this by monitoring aRamiro Estrugo2000-11-015-4/+109
| | | | | | | | | | | | | | | | | | | | * applets/launcher/nautilus-launcher-applet.c: (image_enter_event), (window_set_cursor_for_state), (set_is_launching), (get_is_launching), (image_button_press_event), (image_button_release_event), (event_filter), (root_listen_for_property_changes), (main): Keep track of NautilusWindow realization events. Do this by monitoring a property on the root window. Use this flag in order to give the user feedback about the launching state of new Nautilus windows. Fixes bug 4300. * src/nautilus-window.c: (nautilus_window_update_launcher), (nautilus_window_realize): Notify the launcher when a NautilusWindow get realized. * src/run-nautilus: If no arguments are given, then open a window pointed to the user's home directory.
* Fix installer version to follow the Makefile define. Fix evil bug inRobey Pointer2000-11-011-10/+57
| | | | | | | | | | | | | | * nautilus-installer/src/Makefile: * nautilus-installer/src/main.c: (main): * nautilus-installer/src/proxy.c: (load_nscp_proxy_settings), (load_galeon_proxy_settings): * src/nautilus-first-time-druid.c: (load_nscp_proxy_settings), (load_galeon_proxy_settings), (attempt_http_proxy_autoconfigure): Fix installer version to follow the Makefile define. Fix evil bug in detecting proxy servers that was freeing g_get_home_dir results. Fixed it again in the first-time druid, and added Galeon support there.
* Fix bootstrap installer for new Makefile config and fix typo in dropdownRobey Pointer2000-11-011-1/+1
| | | | | | | | * nautilus-installer/src/Makefile: * src/nautilus-window-service-ui.c: (goto_services_support): Fix bootstrap installer for new Makefile config and fix typo in dropdown menus.
* added a new "loading thumbnail" icon from SusanAndy Hertzfeld2000-11-011-3/+16
| | | | | | | | | | | | | | | * icons/Makefile.am: * icons/loading.png: * icons/loading-aa.png: * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): added a new "loading thumbnail" icon from Susan * src/nautilus-property-browser.c: (nautilus_property_browser_delete_event_callback), (cancel_remove_mode), (add_new_button_callback), (done_button_callback): made the property browser reset remove mode when it's dismissed
* Un-revert my changes from before, fixing the bugs in the process.Maciej Stachowiak2000-11-018-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-mime-actions.c: (nautilus_mime_actions_check_if_minimum_attributes_ready), (nautilus_mime_actions_check_if_full_attributes_ready), (nautilus_mime_actions_get_minimum_file_attributes), (nautilus_mime_actions_get_full_file_attributes), (nautilus_mime_actions_wait_for_full_file_attributes), (nautilus_mime_get_default_action_type_for_file), (nautilus_mime_get_default_action_for_file), (nautilus_mime_get_default_application_for_file_internal), (nautilus_mime_get_default_application_for_file), (nautilus_mime_is_default_application_for_file_user_chosen), (nautilus_mime_get_default_component_sort_conditions), (nautilus_mime_get_default_component_for_file_internal), (nautilus_mime_get_short_list_applications_for_file), (nautilus_mime_get_short_list_components_for_file), (nautilus_mime_get_short_list_methods_for_file), (nautilus_mime_get_all_applications_for_file), (nautilus_mime_get_all_components_for_file), (nautilus_mime_set_default_application_for_file), (nautilus_mime_set_default_component_for_file), (nautilus_mime_set_short_list_applications_for_file), (nautilus_mime_set_short_list_components_for_file), (nautilus_mime_add_application_to_short_list_for_file), (nautilus_mime_remove_application_from_short_list_for_file), (nautilus_mime_add_component_to_short_list_for_file), (nautilus_mime_remove_component_from_short_list_for_file), (nautilus_mime_extend_all_applications_for_file), (nautilus_mime_remove_from_all_applications_for_file), (nautilus_do_component_query): * libnautilus-extensions/nautilus-mime-actions.h: * libnautilus-extensions/nautilus-program-chooser.c: (repopulate_program_list), (is_component_default_for_file), (program_file_pair_is_default_for_file), (program_file_pair_is_in_short_list_for_file), (add_to_short_list_for_file), (remove_from_short_list_for_file), (remove_default_for_item), (set_default_for_item): * libnautilus-extensions/nautilus-program-choosing.c: (any_programs_available_for_file): * libnautilus/nautilus-clipboard-ui.xml.h: * src/file-manager/fm-directory-view.c: (switch_location_and_view), (create_open_with_gtk_menu), (reset_bonobo_open_with_menu), (activate_callback): * src/file-manager/nautilus-directory-view-ui.xml.h: * src/file-manager/nautilus-icon-view-ui.xml.h: * src/file-manager/nautilus-search-list-view-ui.xml.h: * src/nautilus-applicable-views.c: (nautilus_navigation_info_new): * src/nautilus-shell-ui.xml.h: * src/nautilus-sidebar.c: (nautilus_sidebar_update_all), (nautilus_sidebar_set_uri): * src/nautilus-window.c: (nautilus_window_load_content_view_menu): * test/test-nautilus-mime-actions-set.c: (main): * test/test-nautilus-mime-actions.c: (main): Un-revert my changes from before, fixing the bugs in the process.
* fix bug 4015. add correct default here. remove bad default here. ramiroMathieu Lacage2000-11-014-24/+4
| | | | | | | | | | | 2000-10-31 Mathieu Lacage <mathieu@eazel.com> fix bug 4015. * libnautilus-extensions/nautilus-global-preferences.c: add correct default here. * src/nautilus-window.c: (nautilus_window_go_web_search): remove bad default here. ramiro has a bug to do the correct fix post-pr2.
* Remove a bunch of debug echo statements i left in by mistake.Ramiro Estrugo2000-11-011-6/+0
| | | | | * src/run-nautilus: Remove a bunch of debug echo statements i left in by mistake.
* Call `update_view' on new sidebar panels that get activated, so they findMaciej Stachowiak2000-11-011-0/+5
| | | | | | | * src/nautilus-window-manage-views.c (nautilus_window_set_sidebar_panels): Call `update_view' on new sidebar panels that get activated, so they find out about the location and selection.
* set the url to fix 4015 but it does not Nautilus attempts to connect toRobin Slomkowski2000-10-314-8/+16
| | | | | | | * src/nautilus-window.c: set the url to fix 4015 but it does not Nautilus attempts to connect to the wrong URL. http://www.eazel.com/websearch instead of http://services.eazel.com/websearch
* changed the services uris that are hard-coded into the wizard to onesAndy Hertzfeld2000-10-311-2/+2
| | | | | | | * src/nautilus-first-time-druid.c: (druid_finished): changed the services uris that are hard-coded into the wizard to ones specified by Laura; they are not in place yet but she assures me that they will be soon.
* Rolling back missed files.J Shane Culpepper2000-10-313-5/+5
|
* backing out changes that caused a seroius regression in services.J Shane Culpepper2000-10-315-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-31 J Shane Culpepper <pepper@eazel.com> * libnautilus-extensions/nautilus-mime-actions.c: (nautilus_mime_actions_check_if_required_attributes_ready), (nautilus_mime_actions_get_required_file_attributes), (nautilus_mime_actions_wait_for_required_file_attributes), (nautilus_mime_get_default_action_type_for_file), (nautilus_mime_get_default_action_for_file), (nautilus_mime_get_default_application_for_file_internal), (nautilus_mime_get_default_application_for_file), (nautilus_mime_is_default_application_for_file_user_chosen), (nautilus_mime_get_default_component_for_file_internal), (nautilus_mime_get_short_list_applications_for_file), (nautilus_mime_get_short_list_components_for_file), (nautilus_mime_get_short_list_methods_for_file), (nautilus_mime_get_all_applications_for_file), (nautilus_mime_get_all_components_for_file), (nautilus_mime_set_default_application_for_file), (nautilus_mime_set_default_component_for_file), (nautilus_mime_set_short_list_applications_for_file), (nautilus_mime_set_short_list_components_for_file), (nautilus_mime_add_application_to_short_list_for_file), (nautilus_mime_remove_application_from_short_list_for_file), (nautilus_mime_add_component_to_short_list_for_file), (nautilus_mime_remove_component_from_short_list_for_file), (nautilus_mime_extend_all_applications_for_file), (nautilus_mime_remove_from_all_applications_for_file), (nautilus_do_component_query): * libnautilus-extensions/nautilus-program-chooser.c: (repopulate_program_list), (is_component_default_for_file), (program_file_pair_is_default_for_file), (program_file_pair_is_in_short_list_for_file), (add_to_short_list_for_file), (remove_from_short_list_for_file), (remove_default_for_item), (set_default_for_item): * libnautilus-extensions/nautilus-program-choosing.c: (any_programs_available_for_file): * src/file-manager/fm-directory-view.c: (switch_location_and_view), (create_open_with_gtk_menu), (reset_bonobo_open_with_menu), (activate_callback): * src/nautilus-window.c: (nautilus_window_load_content_view_menu): * test/test-nautilus-mime-actions-set.c: (main): * test/test-nautilus-mime-actions.c: (main): backing out changes that caused a seroius regression in services.
* Portions of the fix for 2379 (the parts that don't make it crash).Maciej Stachowiak2000-10-318-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-mime-actions.c: (nautilus_mime_actions_check_if_minimum_attributes_ready), (nautilus_mime_actions_check_if_full_attributes_ready), (nautilus_mime_actions_get_minimum_file_attributes), (nautilus_mime_actions_get_full_file_attributes), (nautilus_mime_actions_wait_for_full_file_attributes), (nautilus_mime_get_default_action_type_for_file), (nautilus_mime_get_default_action_for_file), (nautilus_mime_get_default_application_for_file_internal), (nautilus_mime_get_default_application_for_file), (nautilus_mime_is_default_application_for_file_user_chosen), (nautilus_mime_get_default_component_sort_conditions), (nautilus_mime_get_default_component_for_file_internal), (nautilus_mime_get_short_list_applications_for_file), (nautilus_mime_get_short_list_components_for_file), (nautilus_mime_get_short_list_methods_for_file), (nautilus_mime_get_all_applications_for_file), (nautilus_mime_get_all_components_for_file), (nautilus_mime_set_default_application_for_file), (nautilus_mime_set_default_component_for_file), (nautilus_mime_set_short_list_applications_for_file), (nautilus_mime_set_short_list_components_for_file), (nautilus_mime_add_application_to_short_list_for_file), (nautilus_mime_remove_application_from_short_list_for_file), (nautilus_mime_add_component_to_short_list_for_file), (nautilus_mime_remove_component_from_short_list_for_file), (nautilus_mime_extend_all_applications_for_file), (nautilus_mime_remove_from_all_applications_for_file), (nautilus_do_component_query): * libnautilus-extensions/nautilus-mime-actions.h: * libnautilus-extensions/nautilus-program-chooser.c: (repopulate_program_list), (is_component_default_for_file), (program_file_pair_is_default_for_file), (program_file_pair_is_in_short_list_for_file), (add_to_short_list_for_file), (remove_from_short_list_for_file), (remove_default_for_item), (set_default_for_item): * libnautilus-extensions/nautilus-program-choosing.c: (any_programs_available_for_file): * src/file-manager/fm-directory-view.c: (switch_location_and_view), (create_open_with_gtk_menu), (reset_bonobo_open_with_menu), (activate_callback): * src/nautilus-applicable-views.c: (nautilus_navigation_info_new): * src/nautilus-sidebar.c: (nautilus_sidebar_update_all), (nautilus_sidebar_set_uri): * src/nautilus-window.c: (nautilus_window_load_content_view_menu): * test/test-nautilus-mime-actions-set.c: (main): * test/test-nautilus-mime-actions.c: (main): Portions of the fix for 2379 (the parts that don't make it crash).
* added "eazel-services:" and "man:" to the schemes with custom sidebarAndy Hertzfeld2000-10-311-1/+3
| | | | | | | | | | | * src/nautilus-sidebar-title.c: (update_icon): added "eazel-services:" and "man:" to the schemes with custom sidebar icons via the recently implemented hack (which will be replaced by a real framework after PR2). * icons/Makefile.am: * icons/manual.png: added icon for man: scheme
* cleaned up the sidebar for the summary view by putting in a temporary hackAndy Hertzfeld2000-10-311-1/+22
| | | | | | | | | | | | | | | | cleaned up the sidebar for the summary view by putting in a temporary hack to get the right icon and giving the view a shorter title. * components/services/summary/nautilus-view/nautilus-summary-view.c : (summary_load_location_callback): changed the summary view's title to "Eazel Services" so it fits better in the sidebar. * src/nautilus-sidebar-title.c: (update_icon): added a hack to special-case the "eazel:" uri to get the appropriate icon; we'll remove this after PR2 and replace it with a real framework.
* Fixed bug 4057 (clicking the back button while opening a hugeDarin Adler2000-10-307-532/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directory often crashes). * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_for_each): The function was iterating some icons twice. All the icons on the new_icons list are also on the icons list. (icon_destroy): Also be sure to remove the icon from the new_icons list if it happens to be destroyed while still on that list. * configure.in: * Makefile.shared: Got rid of the shared part of the code to generate .xml.h files. It's no longer needed since the po directory takes care of everything itself. * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/sample/Makefile.am: * components/services/summary/nautilus-view/Makefile.am: * libnautilus/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: Got rid of the per-directory part of the code to generate .xml.h files. * components/loser/content/nautilus-content-loser-ui.xml.h: * components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h: * components/mozilla/nautilus-mozilla-ui.xml.h: * components/sample/nautilus-sample-content-view-ui.xml.h: * components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h: * libnautilus/nautilus-clipboard-ui.xml.h: * src/file-manager/nautilus-directory-view-ui.xml.h: * src/file-manager/nautilus-icon-view-ui.xml.h: * src/file-manager/nautilus-search-list-view-ui.xml.h: * src/nautilus-service-ui.xml.h: * src/nautilus-shell-ui.xml.h: Got rid of the checked-in copies of the .xml.h files. The worst part!
* switch authority-less eazel-services URL's from "eazel-services:/" toMichael Fleming2000-10-301-14/+8
| | | | | | | | | | | | | * components/services/summary/nautilus-view/nautilus-summary-view.c : switch authority-less eazel-services URL's from "eazel-services:/" to "eazel-services:///" * src/nautilus-window-service-ui.c: (goto_online_storage), (goto_software_catalog), (detach_service_ui), (nautilus_window_install_service_ui): Go back to initing ammonite each time these menus are called. I didn't want to bother with trying to make it work.
* Fixing bad spelling in caveat.J Shane Culpepper2000-10-306-1/+161
| | | | | | | | | | | | | | | | | | | | 2000-10-29 J Shane Culpepper <pepper@eazel.com> * components/loser/content/nautilus-content-loser-ui.xml.h: * components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h: * components/mozilla/nautilus-mozilla-ui.xml.h: * components/sample/nautilus-sample-content-view-ui.xml.h: * components/services/summary/nautilus-view/nautilus-summary-view-u i.xml.h: * libnautilus/nautilus-clipboard-ui.xml.h: * src/file-manager/nautilus-directory-view-ui.xml.h: * src/file-manager/nautilus-icon-view-ui.xml.h: * src/file-manager/nautilus-search-list-view-ui.xml.h: * src/nautilus-service-ui.xml.h: * src/nautilus-shell-ui.xml.h: * src/nautilus-shell.c: (display_caveat): Fixing bad spelling in caveat.
* Change uses of "am_i_logged_in" and "who_is_logged_in" toMichael Fleming2000-10-301-28/+36
| | | | | | | | | | | | * components/services/summary/nautilus-view/nautilus-summary-view.c : (generate_summary_form), (nautilus_summary_view_load_uri), (merge_bonobo_menu_items): * src/nautilus-window-service-ui.c: (goto_online_storage), (goto_software_catalog), (detach_service_ui), (nautilus_window_install_service_ui): Change uses of "am_i_logged_in" and "who_is_logged_in" to "ammonite_get_default_user_username" Fix misc bugs/memory leaks.
* Fixes for Bug #4104 and Bug# 4134. Changed error text to be moreJ Shane Culpepper2000-10-282-9/+17
| | | | | | | | | | | | | 2000-10-28 J Shane Culpepper <pepper@eazel.com> * components/services/summary/nautilus-view/nautilus-summary-view.c : (generate_login_dialog): * src/nautilus-service-ui.xml.h: * src/nautilus-shell.c: (display_caveat): Fixes for Bug #4104 and Bug# 4134. Changed error text to be more descriptive about account activation and added new wording for caveat dialog.
* Dumshit me, I forgot to take out the file I retired from the makefile.Ramiro Estrugo2000-10-281-3/+2
| | | | | | * src/Makefile.am: Dumshit me, I forgot to take out the file I retired from the makefile.
* Fix bug 4054 - fix nautilus GNOME menu item so it does notRamiro Estrugo2000-10-282-11/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "crash" nautilus. Fix bug 4117 - change default for PR2 back to desktop off. Also fix the issue about turning off the gnome crash dialog for out of process components. * icons/Makefile.am: * icons/nautilus-launch-icon.png: New launch icon from Arlo. * src/run-nautilus: Change this beast to not always run nautilus-clean.sh. It only runs nautilus-clean.sh right before/after running Nautilus and not for every single invocation of 'run-nautilus'. Also, dont start the desktop anymore, since there is not a preference in Nautilus to toggle the desktop. Finally, turn on the environment variable needed to prevent the gnome crash dialog from showing up for out of process components. * nautilus.desktop: Update icon and launch script back to run-nautilus. * nautilus.spec.in: We're back to using run-nautilus. * src/launch-nautilus: Retire.
* Fixing Bug # 4097. Should now point to correct place.J Shane Culpepper2000-10-281-1/+1
| | | | | | | | 2000-10-27 J Shane Culpepper <pepper@eazel.com> * src/nautilus-window-service-ui.c: (goto_online_storage): Fixing Bug # 4097. Should now point to correct place.
* Fixed bug 4087 (crash leaving Summary view)John Sullivan2000-10-272-12/+2
| | | | | | | | | | | | | | * components/services/summary/nautilus-view/nautilus-summary-view.c: (nautilus_summary_view_destroy): Don't unset container and unref component here; that's not necessary for the component that's created automagically. And doing so causes a double-destroy. (update_menu_items), (merge_bonobo_menu_items): Removed ui_component field from details and changed callers to get the ui_component elsewise when needed (to clarify that it isn't owned here). * src/nautilus-service-ui.xml: Changed "Eazel Services" to "Eazel Services Home" since all the services are Eazel Services. * src/nautilus-service-ui.xml.h: gotta check this in too.
* at Bud's request, implemented bug 4127, add a preference to show or hideAndy Hertzfeld2000-10-272-0/+30
| | | | | | | | | | | | | | | | | | | | at Bud's request, implemented bug 4127, add a preference to show or hide Nautilus' desktop. * libnautilus-extensions/nautilus-global-preferences.h: define NAUTILUS_PREFERENCES_SHOW_DESKTOP * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_create_dialog), (global_preferences_register): register the desktop preference and show the checkbox in the appearance section of preferences * src/nautilus-application.c: (nautilus_application_initialize), (nautilus_application_destroy), (check_for_and_run_as_super_user), (desktop_changed_callback): watch the desktop preference and show or hide the desktop window when it changes. * src/nautilus-main.c: (main): show the desktop at launch if the preference is set and it's not overriden by command-line options.
* Fixed bugs in file renaming. These changes along with theDarin Adler2000-10-2710-67/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gnome-vfs ones take care of bug 3846 (cancel dialog persists after renaming online storage folder). * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_gnome_vfs_uri): Moved higher so it could be used by rename code. (operation_remove): Separated out the remove operation so we can remove the operation before the callback. This makes it safe to do a nautlius_file_cancel from inside a callback. (operation_free): Call the separate remove. Also cut down because we don't need so much state in the operation object any more. (operation_complete): Call remove before calling callback as described above. (rename_callback): A new callback that uses set_file_info results instead of the old one that used xfer. (nautilus_file_rename): Change to use set_file_info instead of xfer. Also updates the MIME type now, which will fix a bug I think. (nautilus_file_update_info): Use gnome_vfs_file_info_dup instead of gnome_vfs_file_info_ref so it works with any info, including static ones on the stack. (set_permissions_callback), (nautilus_file_set_permissions), (set_owner_and_group_callback), (set_owner_and_group): Change to use the info returned by the async. set_file_info. This simplifies things a lot. * src/file-manager/fm-error-reporting.c: (rename_callback), (cancel_rename_callback), (cancel_rename), (fm_rename_file): Rewrote renaming code. Use object data to keep track of pending renames so we can cancel a previous one if we try to re-rename the same file again. This allowed the code to get a lot simpler too. * libnautilus-extensions/nautilus-directory-async.c: (directory_load_done): Fixed bug that prevented the directory from ever noticing files that are no longer around. This code never worked because we checked for the wrong error code (EOF means success here). * po/Makefile.in.in: Re-removed this file. Seth checked it in by accident. This is a generated file, not one that should be checked in. * src/nautilus-window.c: (nautilus_window_realize): Got rid of "//"-style comments and used #if 0 instead. * components/loser/content/nautilus-content-loser-ui.xml.h: * components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h: * components/mozilla/nautilus-mozilla-ui.xml.h: * components/sample/nautilus-sample-content-view-ui.xml.h: * components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h: * libnautilus/nautilus-clipboard-ui.xml.h: * src/file-manager/nautilus-directory-view-ui.xml.h: * src/file-manager/nautilus-icon-view-ui.xml.h: * src/file-manager/nautilus-search-list-view-ui.xml.h: * src/nautilus-service-ui.xml.h: * src/nautilus-shell-ui.xml.h: Someone checked in some .xml.h files generated with an old Bonobo. Soon, this nightmare will be over and we won't check these files in any more.
* Made a font size change.Arlo Rose2000-10-271-1/+1
| | | | | * src/nautilus-first-time-druid.c: (make_anti_aliased_label): Made a font size change.
* Grumble grumble canonical grumble ui grumble.John Sullivan2000-10-271-2/+2
| | | | | | | | | | | | | | | Josh found another assertion failure involving canonical uris. Yay Josh! Boo canonical uri troubles! * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_get_internal): Removed call to nautilus_uri_is_canonical_uri since it isn't quite the right check. Decided that the right check here is pointless. * libnautilus-extensions/nautilus-file-utilities.c: * libnautilus-extensions/nautilus-file-utilities.h: Removed nautilus_uri_is_canonical_uri since it now has no callers.
* Fixed bug 4085 for now (need Support menu item in Services menu)John Sullivan2000-10-273-5/+28
| | | | | | | | | | | | | | | | | | The URL will have to be updated again later, as the bug report says. * src/nautilus-service-ui.xml: Added Support menu item at end, made underline accelerators unique * components/services/summary/nautilus-view/nautilus-summary-view-u i.xml: tweaked wording and made underline accelerators unique * components/services/summary/nautilus-view/nautilus-summary-view-u i.xml.h: * src/nautilus-service-ui.xml.h: These guys changed. * src/nautilus-window-service-ui.c: (goto_services_support): New function, goes to magic URI. (nautilus_window_install_service_ui): add verb to connect menu item to function.
* Commented out a wm hints line that was causing Nautilus to be unfocusableSeth Nickell2000-10-274-4/+20
| | | | | | | | | | | 2000-10-26 Seth Nickell <seth@eazel.com> * src/nautilus-window.c: (nautilus_window_realize): Commented out a wm hints line that was causing Nautilus to be unfocusable (hence not allowing keyboard input, making it hard to work on things) in Sawfish. Coordination with Sawfish/John Harper is probably needed here...
* Folder renaming now starts when the icon is added rather than at someMike Engber2000-10-271-47/+4
| | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-icon-container.c: (relayout), (button_press_event), (key_press_event), (get_icon_being_renamed), (pending_icon_to_rename_destroy_callback), (get_pending_icon_to_rename), (set_pending_icon_to_rename), (process_pending_icon_to_rename), (is_renaming_pending), (is_renaming), (nautilus_icon_container_start_renaming_selected_item), (end_renaming_mode): * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-private.h: * src/file-manager/fm-directory-view.c: (reveal_newly_added_folder), (new_folder_done): Folder renaming now starts when the icon is added rather than at some arbitrary timeout after the new folder command is issued. Fixed icon container to handle a request to rename an unpositioned icon.
* Install launch-nautilus, should fix rpmbuilding.Eskil Heyn Olsen2000-10-271-2/+2
| | | | | * src/Makefile.am: Install launch-nautilus, should fix rpmbuilding.
* Add "Quit Nautilus Desktop" to desktop context menuMike Engber2000-10-261-1/+18
| | | | | | | | * src/file-manager/fm-desktop-icon-view.c: (quit_nautilus_desktop_menu_item_callback), (fm_desktop_icon_view_create_background_context_menu_items): Add "Quit Nautilus Desktop" to desktop context menu
* Fixed the panel menu item to launch the desktop and one nautilus window,Rebecca Schulman2000-10-263-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-26 Rebecca Schulman <rebecka@eazel.com> Fixed the panel menu item to launch the desktop and one nautilus window, starting at the user's home directory by default. To do this, we created a new script called launch-nautilus. Ramiro recommended some changes to run-nautilus that I also did. * nautilus.desktop: Changed run-nautilus to launch-nautilus * nautilus.spec.in: Changed run-nautilus to launch-nautilus, since run-nautilus won't be needed in the rpm * src/Makefile.am: added launch-nautilus to the build * src/launch-nautilus: * src/run-nautilus: removed the mozilla environment LD_LIBRARY_PATH hacks. * user-guide/C/sgml/chapter-1.sgml: Corrected an HTML error.
* Fixing exported function name used from ammonite.J Shane Culpepper2000-10-261-3/+3
| | | | | | | | | | | | 2000-10-26 J Shane Culpepper <pepper@eazel.com> * components/services/summary/nautilus-view/nautilus-summary-view.c : (generate_summary_form), (nautilus_summary_view_load_uri), (merge_bonobo_menu_items): * src/nautilus-window-service-ui.c: (goto_online_storage), (goto_software_catalog): Fixing exported function name used from ammonite.
* fixed bug 2814, move "built-in bookmarks" checkbox from the edit bookmarksAndy Hertzfeld2000-10-261-53/+0
| | | | | | | | | | | | | | | | fixed bug 2814, move "built-in bookmarks" checkbox from the edit bookmarks window to preferences/navigation. * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_create_dialog), (global_preferences_register): added a checkbox to control the "hide built-in bookmarks" preference * libnautilus-extensions/nautilus-global-preferences.h: renamed preference path so the built-in bookmarks preference can be in the preferences window * src/nautilus-bookmarks-window.c: (create_bookmarks_window), (repopulate): removed the built-in bookmarks checkbox from the edit bookmarks window
* Fix bug 3998 (Move to Trash crashes Nautilus if item with thatDarin Adler2000-10-265-6/+9
| | | | | | | | | | | | | | | | | | | | | | name already in trash). * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_notify_files_moved): Change the sequence so that the renaming doesn't try to update the file hash twice. * src/file-manager/fm-icon-view.c: (compute_menu_item_info): Handle NULL icon container case. This case happened to Will while testing. * src/file-manager/fm-directory-view.c: (load_directory): Fix GList leak. * src/nautilus-view-frame.c: (nautilus_view_frame_destroy): Fix string leak. * src/nautilus-window-menus.c: (append_bookmark_to_menu): Fix GdkPixbuf ref. leak. * libnautilus-extensions/nautilus-user-level-manager.c: (user_level_set_default_if_needed): Tiny coding style change.
* Link names weren't properly escaped causing them not to get selected.Mike Engber2000-10-261-3/+4
| | | | | | | | | | | | * libnautilus-extensions/nautilus-file-operations.c: (get_link_name), (make_next_duplicate_name): Link names weren't properly escaped causing them not to get selected. * src/file-manager/fm-directory-view.c: (copy_move_done_callback), (new_folder_done), (fm_directory_view_trash_state_changed_callback): added asserts