summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* merged from HEADNAUTILUS_EXTENSIONS_BRANCH_AFTER_MERGE_1Dave Camp2004-01-0644-455/+4675
|
* New file.NAUTILUS_EXTENSIONS_BRANCH_BEFORE_MERGE_1Dave Camp2003-12-1012-178/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-28 Dave Camp <dave@ximian.com> * libnautilus-extension/Makefile.am: * libnautilus-extension/nautilus-extension-i18n.h: New file. * libnautilus-extension/nautilus-info-provider.h: * libnautilus-extension/nautilus-file-info.h: * libnautilus-extension/nautilus-file-info.c: (nautilus_file_info_list_copy), (nautilus_file_info_list_free): New functions. * libnautilus-extension/nautilus-menu-item.c: * libnautilus-extension/nautilus-menu-item.h: * libnautilus-extension/nautilus-menu-provider.c: * libnautilus-extension/nautilus-menu-provider.h: New files, allow extensions to provide context menu items. * libnautilus-extension/nautilus-property-page-provider.c: * libnautilus-extension/nautilus-property-page-provider.h: * libnautilus-extension/nautilus-property-page.c: * libnautilus-extension/nautilus-property-page.h: New files, allow extensions to provider property pages. * libnautilus-private/nautilus-module.h: * libnautilus-private/nautilus-module.c: (add_module_objects), (nautilus_module_load_file), (nautilus_module_get_extensions_for_type), (nautilus_module_extension_list_free), (nautilus_module_add_type): New functions. * src/file-manager/Makefile.am: * src/file-manager/fm-bonobo-provider.c: (bonobo_mime_action_data_new), (bonobo_mime_action_data_free), (bonobo_mime_action_activate_callback), (bonobo_mime_action_callback), (bonobo_mime_action_menu_data_destroy_callback), (no_locale_at_end), (get_bonobo_menu_verb_names), (can_handle_multiple_files), (get_menu_items_for_server), (fm_bonobo_provider_get_file_items), (fm_bonobo_provider_menu_provider_iface_init), (bonobo_page_error_message), (get_uri_list), (bonobo_page_activate_callback), (fm_bonobo_provider_get_pages), (fm_bonobo_provider_property_page_provider_iface_init), (fm_bonobo_provider_instance_init), (fm_bonobo_provider_class_init), (fm_bonobo_provider_get_type): * src/file-manager/fm-bonobo-provider.h: Moved the bonobo context menu and property pages here. Export them through the extension interface. * src/file-manager/fm-directory-view.c: (extension_action_callback), (add_extension_menu_items), (get_all_extension_menu_items), (reset_extension_actions_menu), (real_update_menus): Get context menu items from extensions. * src/file-manager/fm-properties-window.c: (clear_extension_pages), (refresh_extension_pages), (properties_window_update), (append_extension_pages), (create_properties_window): Get property pages from extensions. * src/nautilus-application.c: (finish_startup): Add the bonobo provider to the extension manager.
* New file.Dave Camp2003-11-286-486/+807
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-28 Dave Camp <dave@ximian.com> * libnautilus-extension/Makefile.am: * libnautilus-extension/nautilus-extension-i18n.h: New file. * libnautilus-extension/nautilus-info-provider.h: * libnautilus-extension/nautilus-file-info.h: * libnautilus-extension/nautilus-file-info.c: (nautilus_file_info_list_copy), (nautilus_file_info_list_free): New functions. * libnautilus-extension/nautilus-menu-item.c: * libnautilus-extension/nautilus-menu-item.h: * libnautilus-extension/nautilus-menu-provider.c: * libnautilus-extension/nautilus-menu-provider.h: New files, allow extensions to provide context menu items. * libnautilus-extension/nautilus-property-page-provider.c: * libnautilus-extension/nautilus-property-page-provider.h: * libnautilus-extension/nautilus-property-page.c: * libnautilus-extension/nautilus-property-page.h: New files, allow extensions to provider property pages. * libnautilus-private/nautilus-module.h: * libnautilus-private/nautilus-module.c: (add_module_objects), (nautilus_module_load_file), (nautilus_module_get_extensions_for_type), (nautilus_module_extension_list_free), (nautilus_module_add_type): New functions. * src/file-manager/Makefile.am: * src/file-manager/fm-bonobo-provider.c: (bonobo_mime_action_data_new), (bonobo_mime_action_data_free), (bonobo_mime_action_activate_callback), (bonobo_mime_action_callback), (bonobo_mime_action_menu_data_destroy_callback), (no_locale_at_end), (get_bonobo_menu_verb_names), (can_handle_multiple_files), (get_menu_items_for_server), (fm_bonobo_provider_get_file_items), (fm_bonobo_provider_menu_provider_iface_init), (bonobo_page_error_message), (get_uri_list), (bonobo_page_activate_callback), (fm_bonobo_provider_get_pages), (fm_bonobo_provider_property_page_provider_iface_init), (fm_bonobo_provider_instance_init), (fm_bonobo_provider_class_init), (fm_bonobo_provider_get_type): * src/file-manager/fm-bonobo-provider.h: Moved the bonobo context menu and property pages here. Export them through the extension interface. * src/file-manager/fm-directory-view.c: (extension_action_callback), (add_extension_menu_items), (get_all_extension_menu_items), (reset_extension_actions_menu), (real_update_menus): Get context menu items from extensions. * src/file-manager/fm-properties-window.c: (clear_extension_pages), (refresh_extension_pages), (properties_window_update), (append_extension_pages), (create_properties_window): Get property pages from extensions. * src/nautilus-application.c: (finish_startup): Add the bonobo provider to the extension manager.
* New library for nautilus extensions.Dave Camp2003-11-202-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-20 Dave Camp <dave@ximian.com> * Makefile.am: * configure.in: * libnautilus-extension/Makefile.am: * libnautilus-extension/libnautilus-extension.pc.in: * libnautilus-extension/nautilus-extension-types.c: * libnautilus-extension/nautilus-extension-types.h: * libnautilus-extension/nautilus-file-info.c: * libnautilus-extension/nautilus-file-info.h: * libnautilus-extension/nautilus-info-provider.c: * libnautilus-extension/nautilus-info-provider.h: New library for nautilus extensions. * libnautilus-private/nautilus-marshal.list: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_set_up_request), (lacks_extension_info), (wants_extension_info), (extension_info_cancel), (extension_info_stop), (finish_info_provider), (info_provider_idle_callback), (info_provider_callback), (extension_info_start), (start_or_stop_io), (nautilus_directory_cancel), (cancel_loading_attributes), (file_needs_extension_work_done), (file_needs_work_done), (nautilus_directory_remove_file_from_work_queue), (move_file_to_low_priority_queue), (move_file_to_extension_queue): * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_init), (nautilus_directory_finalize), (nautilus_directory_notify_files_changed): Add a third queue for extension info, that runs after the high and low priority queues. * libnautilus-private/nautilus-file-attributes.h: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: (nautilus_file_invalidate_extension_info_internal), (nautilus_file_invalidate_attributes_internal): * libnautilus-private/nautilus-file.c: (nautilus_file_get_type), (nautilus_file_instance_init), (nautilus_file_get_keywords), (nautilus_file_get_type), (nautilus_file_class_init), (nautilus_file_get_vfs_file_info), (nautilus_file_add_emblem), (nautilus_file_info_providers_done), (nautilus_file_info_iface_init): Implement the NautilusFileInfo interface for extensions to use. * libnautilus-private/nautilus-module.c: (nautilus_module_load), * libnautilus-private/nautilus-module.h: Module loading code. * src/file-manager/fm-directory-view.c: (finish_loading): Request extension info. * src/nautilus-application.c: (finish_startup): Initialize the module interface.
* Add mnemonics to labels and add calls to gtk_label_set_mnemonic_widget.Padraig O'Briain2003-11-191-2/+4
| | | | | | | 2003-11-19 Padraig O'Briain <padraig.obriain@sun.com> * src/nautilus-connect-server-dialog.c: Add mnemonics to labels and add calls to gtk_label_set_mnemonic_widget. Fixes bug #126803.
* Return option_menu created in this function. (create_permissions_page):Padraig O'Briain2003-11-191-5/+9
| | | | | | | | | 2003-11-19 Padraig O'Briain <padraig.obriain@sun.com> * src/file-manger/fm-properties-window.c: (attach_owner_menu): Return option_menu created in this function. (create_permissions_page): Set mnemonic widget for owner_label. Fixes bug #126637.
* Set the icon of the GtkWindow for the Properties window whenever the icon in ā†µDavid Malcolm2003-11-171-0/+2
| | | | the Basic pane is updated.
* Reread the activation URI of symlinks in case the link target is stale.Dave Camp2003-11-161-3/+10
| | | | | | | | | | 2003-11-16 Dave Camp <dave@ximian.com> * src/file-manager/fm-directory-view.c: (activate_activation_uri_ready_callback), (fm_directory_view_activate_file): Reread the activation URI of symlinks in case the link target is stale. Patch from Maneesh Pusalkar <mpusalkar@novell.com>.
* Only monitor then for_open_with file when the popup menu is visible. Also,Alexander Larsson2003-11-131-3/+35
| | | | | | | | | | 2003-11-13 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.c (open_location): Only monitor then for_open_with file when the popup menu is visible. Also, don't monitor it when opening the location, as this can cause us to unnecessary re-read the mime list on force-reload opens (e.g. non-local opens).
* 2.5.1.1NAUTILUS_2_5_1_1Dave Camp2003-11-122-4/+2
| | | | | | | | | | | | | | | 003-11-12 Dave Camp <dave@ximian.com> * NEWS: * configure.in: 2.5.1.1 * configure.in: * components/emblem/Makefile.am: * components/image_properties/Makefile.am: * components/sample/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: Cleaned up DISABLE_DEPREACTED bits.
* h2003-11-11 Dave Camp <dave@ximian.com>Dave Camp2003-11-121-1/+7
| | | | | | * src/file-manager/fm-list-view.c (list_view_get_first_visible_file_callback): Unref the file before returning its uri.
* New desktop filesAlexander Larsson2003-11-0615-65/+537
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-06 Alexander Larsson <alexl@redhat.com> * Makefile.am: * nautilus-computer.desktop.in: * nautilus-home.desktop.in: New desktop files * nautilus.desktop.in: Make this one "browse filesystem" * libnautilus-private/apps_nautilus_preferences.schemas.in: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: computer desktop icon prefs * libnautilus-private/nautilus-desktop-icon-file.c: (update_info_from_link): Set permissions too * libnautilus-private/nautilus-desktop-link-monitor.c: * libnautilus-private/nautilus-desktop-link.[ch]: Add computer icon * src/Makefile.am: * src/nautilus-connect-server-dialog.[ch]: Connect server dialog * src/file-manager/fm-directory-view.c: Mount drives on activation. * src/file-manager/fm-icon-container.c: Sort computer first * src/file-manager/fm-properties-window.c: Put back NautilusDesktopLink handling for e.g. computer and home. * src/nautilus-application.[ch]: Reload dirs on mounts. add browser_window argument on open window * src/nautilus-main.c: add browser_window argument on open window (--browser) hack to register computer icon * src/nautilus-shell-interface.idl: * src/nautilus-shell.c: add browser_window argument on open window * src/nautilus-navigation-window-ui.xml: * src/nautilus-spatial-window-ui.xml: * src/nautilus-window-menus.c: Add connect to server Add computer * src/nautilus-window.c: Nice title for burn:///
* Require new gnome-vfsAlexander Larsson2003-11-057-554/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Alexander Larsson <alexl@redhat.com> * configure.in: Require new gnome-vfs * components/tree/nautilus-tree-view.c: * libnautilus-private/nautilus-desktop-link-monitor.c: * libnautilus-private/nautilus-desktop-link.[ch]: * libnautilus-private/nautilus-monitor.c: * libnautilus-private/nautilus-trash-directory.c: * libnautilus-private/nautilus-trash-monitor.[ch]: * src/nautilus-application.c: Use gnome-vfs-volume-manager instead of nautilus-volume-manager.c * libnautilus-private/nautilus-desktop-icon-file.c: Set the volume on the nautilusfile * libnautilus-private/nautilus-directory-async.c: Load volume info from link * libnautilus-private/nautilus-file-attributes.h: * libnautilus-private/nautilus-mime-actions.c: Add new VOLUMES attribute * libnautilus-private/nautilus-file-private.h: Add has_volume and has_drive to NautilusFile * libnautilus-private/nautilus-file.[ch]: Add has_volume and has_drive to NautilusFile Volumes/drives are sorted separately * libnautilus-private/nautilus-link-desktop-file.[ch]: * libnautilus-private/nautilus-link.[ch]: Read drive and volume id from links * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/nautilus-desktop-icon-view-ui.xml: Remove volume ops. Remove disks menu * src/file-manager/fm-directory-view.c: * src/file-manager/nautilus-directory-view-ui.xml: Implement volume ops using gnome-vfs * src/file-manager/fm-properties-window.c: Handle drives/volumes * src/nautilus-window.c: Make a nicer title for some specific locations * libnautilus-private/nautilus-volume-monitor.[ch]: * libnautilus-private/Makefile.am remove this old crap
* Allow to register shortcuts for in-process IIDs so that activation doesn'tAlexander Larsson2003-11-032-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-03 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-bonobo-extensions.h: * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_register_activation_shortcut), (nautilus_bonobo_unregister_activation_shortcut), (nautilus_bonobo_activate_from_id): Allow to register shortcuts for in-process IIDs so that activation doesn't go through bonobo-activation. * src/nautilus-application.c: (create_object_shortcut), (nautilus_application_instance_init), (nautilus_application_destroy): * components/emblem/libmain.c: * components/history/libmain.c: * components/notes/nautilus-notes.c: * components/tree/libmain.c: Register activation shortcuts. * src/nautilus-navigation-window.c: (nautilus_navigation_window_hide_sidebar), (nautilus_navigation_window_show_sidebar): Avoid gratuitus gconf write.
* Don't write NAUTILUS_PREFERENCES_START_WITH_STATUS_BAR on each open newAlexander Larsson2003-11-011-2/+4
| | | | | | | | | 2003-11-01 Alexander Larsson <alexl@redhat.com> * src/nautilus-window.c (nautilus_window_hide_status_bar) (nautilus_window_show_status_bar): Don't write NAUTILUS_PREFERENCES_START_WITH_STATUS_BAR on each open new window.
* Fix leaks #2.Martin Wehner2003-10-291-1/+2
| | | | | | | | 2003-10-29 Martin Wehner <martin.wehner@epost.de> * libnautilus-private/nautilus-icon-dnd.c: * src/file-manager/fm-properties-window.c: Fix leaks #2.
* Fix leaks. Patch from Martin Wehner <martin.wehner@epost.de>Alexander Larsson2003-10-212-0/+2
| | | | | | | | | | | | | 2003-10-21 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-desktop-link.c: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-icon-factory.c: * src/nautilus-application.c: * src/nautilus-bookmark-list.c: Fix leaks. Patch from Martin Wehner <martin.wehner@epost.de>
* remove GTK and GNOME_DISABLE_DEPRECATEDJonathan Blandford2003-10-202-4/+0
| | | | | | | | | | | Mon Oct 20 13:38:16 2003 Jonathan Blandford <jrb@gnome.org> * src/Makefile.am (INCLUDES): remove GTK and GNOME_DISABLE_DEPRECATED * src/file-manager/Makefile.am (INCLUDES): ditto * components/emblem/Makefile.am (INCLUDES): ditto
* Use themed icon for desktop. Patch from Luca Ferretti <elle.uca@libero.it>Alexander Larsson2003-10-171-1/+9
| | | | | | | | 2003-10-17 Alexander Larsson <alexl@redhat.com> * src/nautilus-window-manage-views.c: Use themed icon for desktop. Patch from Luca Ferretti <elle.uca@libero.it>
* Fixes to the 'Link here' and 'Cancel' drag and drop actions.Dennis cranston2003-10-141-4/+19
| | | | | | | 2003-10-11 Dennis cranston <dennis_cranston at yahoo com> * src/file-manager/fm-icon-view.c: Fixes to the 'Link here' and 'Cancel' drag and drop actions.
* Don't rename files to "". Fixes #124420 Based on patch fromAlexander Larsson2003-10-131-0/+10
| | | | | | | | 2003-10-13 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-list-view.c (cell_renderer_edited): Don't rename files to "". Fixes #124420 Based on patch from mwehner@tfh-berlin.de.
* Add nautilus-location-dialog.[ch] and nautilus-location-entry.[ch]Dave Camp2003-10-117-351/+829
| | | | | | | | | | | | | | | 2003-10-11 Dave Camp <dave@ximian.com> * src/Makefile.am: Add nautilus-location-dialog.[ch] and nautilus-location-entry.[ch] * src/nautilus-location-bar.c: (editable_event_after_callback), (nautilus_location_bar_init): * src/nautilus-location-entry.c: Moved the tab-completing entry into its own widget. * src/nautilus-location-dialog.c * src/nautilus-spatial-window.c: (real_prompt_for_location), (nautilus_spatial_window_class_init): Add an Open Location dialog for the spatial windows.
* Scroll to ICON_PAD_TOP above the icon.Dave Camp2003-10-078-42/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-07 Dave Camp <dave@ximian.com> * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_scroll_to_icon): Scroll to ICON_PAD_TOP above the icon. * src/nautilus-navigation-window.c: (nautilus_navigation_window_set_sidebar_panels), (nautilus_navigation_window_class_init): * src/nautilus-spatial-window.c: (nautilus_spatial_window_class_init): * src/nautilus-view-frame.c: (nautilus_view_frame_new), (nautilus_view_frame_get_prop), (create_ambient_properties): * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: (load_content_view): * src/nautilus-window.h: * libnautilus/nautilus-view-component.idl: * libnautilus/nautilus-view.c: (nautilus_view_set_listener_mask), (nautilus_view_get_window_type): * libnautilus/nautilus-view.h: Added a window type property to the view frame. * src/file-manager/fm-directory-view.c: (can_use_component_for_file), (reset_bonobo_open_with_menu), (showing_trash_directory), (should_show_empty_trash), (file_list_all_can_use_components), (real_update_menus), (activate_callback), (fm_directory_view_accepts_dragged_files): * src/file-manager/nautilus-directory-view-ui.xml: Don't use file views in spatial windows. Use Browse Folder in spatial windows and Open in New Window in navigation windows. Don't show "Empty Trash" in non-trash spatial windows.
* Ctrl-S to select by pattern.Alexander Larsson2003-10-011-0/+1
| | | | | | | 2003-10-01 Alexander Larsson <alexl@redhat.com> * src/file-manager/nautilus-directory-view-ui.xml: Ctrl-S to select by pattern.
* Removed -DG_DISABLE_DEPRECATED so that it builds against glib 2.3.0, whichMurray Cumming2003-10-012-2/+0
| | | | | | | | | | | 2003-10-01 Murray Cumming <murrayc@usa.net> * src/Makefile.am, src/file-manager/Makefile.am: Removed -DG_DISABLE_DEPRECATED so that it builds against glib 2.3.0, which has deprecated g_value_string_set_take_ownership() in favour of g_value_take_string(). G_DISABLE_DEPRECATED has already been removed from configure.in, but it is hard-coded into lots of the Makefile.am files.
* Merge the nautilus-spatial-playground branch to HEAD.Dave Camp2003-09-3040-10423/+2777
| | | | | | 2003-09-30 Dave Camp <dave@ximian.com> * Merge the nautilus-spatial-playground branch to HEAD.
* Reveal the current selection. Useful if the selected pattern is notJames Willcox2003-09-271-0/+2
| | | | | | | | | 2003-09-27 James Willcox <james@ximian.com> * src/file-manager/fm-directory-view.c: (pattern_select_response_cb) Reveal the current selection. Useful if the selected pattern is not currently visible.
* HIG fixes (add a missing mnemonic and correct the widget padding) for theDennis Cranston2003-09-261-4/+8
| | | | | | | | | | 2003-09-26 Dennis Cranston <dennis_cranston at yahoo com> * src/file-manager/fm-directory-view.c: (select_pattern): HIG fixes (add a missing mnemonic and correct the widget padding) for the "Select Pattern" dialog.
* Add a "Edit->Select Pattern" menu entryJames Willcox2003-09-263-0/+87
| | | | | | | | | | | | | | 2003-09-25 James Willcox <james@ximian.com> * libnautilus-private/nautilus-directory.c: (nautilus_directory_match_glob): * libnautilus-private/nautilus-directory.h: * src/file-manager/fm-directory-view.c: (get_pattern_selection), (bonobo_menu_select_pattern_callback), (real_merge_menus): * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-shell-ui.xml: Add a "Edit->Select Pattern" menu entry
* (struct FMDirectoryViewDetails): Removed memberEttore Perazzoli2003-09-251-69/+1
| | | | | | | | | | | | display_pending_timeout_id. (schedule_timeout_display_of_pending_files): Removed. (unschedule_timeout_display_of_pending_files): Removed. (display_pending_timeout_callback): Removed. (unschedule_display_of_pending_files): Don't call unschedule_timeout_display_of_pending_files() since it's gone. (queue_pending_files): Schedule an idle display only if we are not loading, or if all the files have been seen. (finish_loading): Don't schedule a timeout display.
* Updated fix for bug #122537.Alexander Larsson2003-09-191-1/+1
| | | | | | | 2003-09-19 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-properties-window.c (permission_change_callback): Updated fix for bug #122537.
* eh, fix last checkingAlexander Larsson2003-09-181-1/+1
|
* Fix compilation error (bug #122537). Patch by david.hawthorne@sun.comAlexander Larsson2003-09-181-1/+2
| | | | | | | | 2003-09-18 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-properties-window.c (permission_change_callback): Fix compilation error (bug #122537). Patch by david.hawthorne@sun.com
* Only add eraser for emblems browser.Alexander Larsson2003-09-181-19/+21
| | | | | | | 2003-09-18 Alexander Larsson <alexl@redhat.com> * src/nautilus-property-browser.c (make_properties_from_directories): Only add eraser for emblems browser.
* Check for content_view != NULL before saving current location the old viewAlexander Larsson2003-09-181-1/+2
| | | | | | | | | 2003-09-18 Alexander Larsson <alexl@redhat.com> * src/nautilus-window-manage-views.c (begin_location_change): Check for content_view != NULL before saving current location the old view might have failed. Fixes bug #119407. Thanks to Narayana Pattipati for discovering this.
* Call gnome_vfs_shutdown before unreffing application to avoid crashes onAlexander Larsson2003-09-181-1/+10
| | | | | | | | 2003-09-18 Alexander Larsson <alexl@redhat.com> * src/nautilus-main.c (main): Call gnome_vfs_shutdown before unreffing application to avoid crashes on shutdown.
* add a wait cursor during permission change. This is most useful whenNAUTILUS_SPATIAL_PLAYGROUND_BRANCHPOINTMathieu Lacage2003-09-121-3/+20
| | | | | | | | 2003-09-11 Mathieu Lacage <mathieu@gnome.org> * src/file-manager/fm-properties-window.c: add a wait cursor during permission change. This is most useful when changing the permission a big group of files.
* Don't migrate .gnome-desktop if its a symlink.Alexander Larsson2003-09-051-1/+2
| | | | | | | 2003-09-05 Alexander Larsson <alexl@redhat.com> * src/nautilus-application.c (migrate_old_nautilus_files): Don't migrate .gnome-desktop if its a symlink.
* Hack to workaround messed up desktop icons.Alexander Larsson2003-09-051-1/+18
| | | | | | | 2003-09-05 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-desktop-icon-view.c (realized_callback): Hack to workaround messed up desktop icons.
* Don't set theme if model is NULL.Alexander Larsson2003-08-291-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-29 Alexander Larsson <alexl@redhat.com> * components/tree/nautilus-tree-view.c (theme_changed_callback): Don't set theme if model is NULL. 2003-08-27 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory-private.h: New function nautilus_set_kde_trash_name. Auto hide KDE trash dir in desktop dir * libnautilus-private/nautilus-directory.[ch]: New function nautilus_directory_is_desktop_directory() * libnautilus-private/nautilus-file-utilities.[ch]: * libnautilus-private/nautilus-file.c: Tweak the is_desktop_directory a bit so it works for both Files and Directories. * src/nautilus-application.c: On initialization, read the kde config to figure out the kde trash directory name.
* Improved error string for missing proxy hostnames. Patch from ChristopheDave Camp2003-08-081-1/+1
| | | | | | | | | 2003-08-08 Dave Camp <dave@ximian.com> * src/nautilus-window-manage-views.c: (determined_initial_view_callback): Improved error string for missing proxy hostnames. Patch from Christophe Fergeau <teuf@users.sourceforge.net>
* Handle keypad navigation keys too.Alexander Larsson2003-08-081-0/+4
| | | | | | | | 2003-08-08 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-container.c (key_press_event): * src/nautilus-location-bar.c (entry_would_have_inserted_characters): Handle keypad navigation keys too.
* Track opening and closing of icon_selector window, resuse existing windowChris Altmann2003-08-021-5/+20
| | | | | | | | | | | | 2003-07-25 Chris Altmann <altmann@rcsis.com> * src/file-manager/fm-properties-window.c (struct FMPropertiesWindowDetails), (create_basic_page), (select_image_button_callback): Track opening and closing of icon_selector window, resuse existing window if user clicks "Select Custom Icon" multiple times and close it if the proerties window is closed. Fixes bug #118135
* move g_slist_free further down to prevent crash.Fredrik Jösson2003-08-021-2/+2
| | | | | | | 2003-07-20 Fredrik Jösson <fjo@nada.kth.se> * src/file-manager/fm-directory-view.c: move g_slist_free further down to prevent crash.
* show the "Write to CD" label as priority in the nautilus toolbar whenBastien Nocera2003-07-271-0/+1
| | | | | | | | 2003-07-27 Bastien Nocera <hadess@hadess.net> * src/nautilus-shell-ui.xml: show the "Write to CD" label as priority in the nautilus toolbar when we're in burn:/// easier to find out for the users (Closes: #110427)
* (The key-writability commit as discussed with release-teamGeorge Lebl2003-07-225-58/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | last week) Tue Jul 22 16:34:10 2003 George Lebl <jirka@5z.com> * libnautilus-private/nautilus-global-preferences.c (import_old_preferences_if_needed): Don't import a preference if we can't write the new value * libnautilus-private/nautilus-sound.c (nautilus_sound_init) (nautilus_sound_kill_sound) (nautilus_sound_register_sound) (nautilus_sound_can_play_sound): If we can't write the current sound state key, don't allow the sound preview since we won't be able to kill the preview process later, and don't set the sound state key if not writable. * src/nautilus-shell.c (save_window_states): If we can't save the start state, don't save it then. * src/nautilus-window.c (side_pane_size_allocate_callback) (side_pane_switch_page_callback) (nautilus_window_hide_location_bar) (nautilus_window_show_location_bar) (nautilus_window_hide_toolbar) (nautilus_window_show_toolbar) (nautilus_window_hide_sidebar) (nautilus_window_show_sidebar) (nautilus_window_hide_status_bar) (nautilus_window_show_status_bar): When we can't write the preference of the start state, don't set it.
* Pass the screen number when creating nautilus links, fixes #117946Dave Camp2003-07-211-2/+8
| | | | | | | | | | | | | | | | 2003-07-20 Dave Camp <dave@ximian.com> * libnautilus-private/nautilus-link-desktop-file.c: (nautilus_link_desktop_file_local_create), (nautilus_link_desktop_file_local_create_from_gnome_entry): * libnautilus-private/nautilus-link-desktop-file.h: * libnautilus-private/nautilus-link.c: (nautilus_link_local_create), (nautilus_link_local_create_from_gnome_entry): * libnautilus-private/nautilus-link.h: * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): Pass the screen number when creating nautilus links, fixes #117946
* when the playing command can't be run, or the file can't be opened don'tGeorge Lebl2003-07-171-9/+11
| | | | | | | | | | Thu Jul 17 15:32:55 2003 George Lebl <jirka@5z.com> * src/file-manager/fm-icon-view.c (play_file): when the playing command can't be run, or the file can't be opened don't return into the parent process from the child and do weird things, but exit. Also if the fork fails don't set the sound pid to -1 (and later try to kill it).
* Add support for total size and total count for multi-file propertyJohan Dahlin2003-07-091-62/+87
| | | | | * src/file-manager/fm-properties-window.c: Add support for total size and total count for multi-file property dialogs.
* Make scripts work better for files on NFS.Anders Carlsson2003-07-071-1/+8
| | | | | | | | 2003-07-07 Anders Carlsson <andersca@codefactory.se> * src/file-manager/fm-directory-view.c: (set_script_environment_variables): Make scripts work better for files on NFS.