summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-directory-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge in changes from NAUTILUS_SEARCH2_MERGE_ANCHOR1 toNAUTILUS_SEARCH2_MERGE_POINT2Alexander Larsson2005-12-121-24/+32
| | | | | | | | 2005-12-06 Alexander Larsson <alexl@redhat.com> Merge in changes from NAUTILUS_SEARCH2_MERGE_ANCHOR1 to NAUTILUS_SEARCH2_MERGE_ANCHOR2 (on HEAD). (This is NAUTILUS_SEARCH2_MERGE_POINT2)
* Merge in changes from NAUTILUS_2_12_1 to NAUTILUS_SEARCH2_MERGE_ANCHOR1Alexander Larsson2005-12-061-229/+643
| | | | | | | | 2005-12-06 Alexander Larsson <alexl@redhat.com> Merge in changes from NAUTILUS_2_12_1 to NAUTILUS_SEARCH2_MERGE_ANCHOR1 (on HEAD). (This is NAUTILUS_SEARCH2_MERGE_POINT1)
* Handle NULL query in search.Alexander Larsson2005-12-051-10/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-05 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-utilities.c: (nautilus_compute_title_for_uri): Handle NULL query in search. * libnautilus-private/nautilus-file-utilities.h: * libnautilus-private/nautilus-search-directory.h: Move saved search uri/mimetype define to nautilus-file-utilities.h. * libnautilus-private/nautilus-search-directory.c: Ref query in get * libnautilus-private/nautilus-search-engine.c: Remove unused stuff. * src/Makefile.am: * src/nautilus-query-editor.[ch]: Add new files implementing NautilusQueryEditor * src/nautilus-places-sidebar.c: Remove search from places sidebar. * src/nautilus-search-bar.[ch]: Only handle text queries. * src/nautilus-window.[ch]: * src/nautilus-window-private.h: * src/nautilus-navigation-window-menus.c: * src/nautilus-window-manage-views.c: extra location widgets support and some search mode changes * src/nautilus-navigation-window.[ch]: * src/nautilus-spatial-window.c: Implement new search ui using extra location widgets * src/file-manager/fm-directory-view.c: Implement save search and save search as. Fix free bugs in fm_directory_view_stop. * src/file-manager/fm-icon-view.c: (fm_icon_view_supports_uri): * src/file-manager/fm-list-view.c: (fm_list_view_supports_uri): Also handle saved search mimetypes.
* Fix typoAlexander Larsson2005-12-021-2/+2
|
* More functions to save queres.Alexander Larsson2005-12-021-0/+51
| | | | | | | | | | | | 2005-12-02 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-search-directory.[ch]: More functions to save queres. * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c: * src/file-manager/nautilus-directory-view-ui.xml: Initial stubs for save search menu items.
* Check for update-mime-databaseAlexander Larsson2005-12-011-104/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-01 Alexander Larsson <alexl@redhat.com> * configure.in: Check for update-mime-database * data/.cvsignore: * data/Makefile.am: * data/nautilus.xml.in: Add mime database entries for saved searches. * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-saved-search-file.[ch]: Special file type for saved search files to pretend that they are directories. * libnautilus-private/nautilus-directory.[ch]: Make nautilus_directory_ref return its arg. Create NautilusSearchDirectory for saved searches. * libnautilus-private/nautilus-file-dnd.c: Non-editable directories do not accept drops. * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.h: Move nautilus_file_get_existing to public header. * libnautilus-private/nautilus-file.c: Create saved search files at right time * libnautilus-private/nautilus-marshal.list: Add new marshallers * libnautilus-private/nautilus-monitor.c: Remove some spew * libnautilus-private/nautilus-search-directory.[ch]: Split out search file loading to a separate function. * libnautilus-private/nautilus-tree-view-drag-dest.c: Handle several layers of cannot accept drop. * src/file-manager/fm-directory-view.[ch]: Make files be related to the directory they are in, since a file can be in a tree multiple times, with searches. Sorting us now done in base class, and inheriting classes just add a compare function. Fix file leak in new_folder_done. * src/file-manager/fm-icon-view.c: Update to new base class API. In scroll_to_file, don't create a NautilusFile if it doesn't exist. * src/file-manager/fm-list-model.[ch]: Rearrange data so that we can have one file in multiple dirs. Still problems with the same directory in multiple dirs. In scroll_to_file, don't create a NautilusFile if it doesn't exist. Fix leak in each_path_get_data_binder * src/file-manager/fm-list-view.c: Update to new APIs (base class and model). Fix leak in fm_list_view_get_selection_foreach_func. --- nautilus-search2 branch ---
* bring the branch up in sync with 2.12.1, and tag it asNAUTILUS_SEARCH_2_12_1_MERGEPOINTJoe Shaw2005-10-311-149/+127
| | | | NAUTILUS_SEARCH_2_12_2_MERGEPOINT
* Redo the nautilus-search branch, it's just easier to recreate theJoe Shaw2005-10-071-16/+97
| | | | branch rather than update the code
* Fix leak and crasher. Fixes #314730.christian neumair2005-09-201-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-20 christian neumair <chris@gnome-de.org> * src/nautilus-connect-server-dialog.c: (connect_to_server): Fix leak and crasher. Fixes #314730. * src/file-manager/fm-directory-view.c: (connect_proxy): Don't poke around with null pixbuf if icon theme lookup failed. * libnautilus-private/nautilus-desktop-directory-file.c: (desktop_directory_file_get_deep_counts): * libnautilus-private/nautilus-file.c: (nautilus_file_get_deep_counts), (nautilus_file_get_string_attribute_with_default:): * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-trash-file.c: (trash_file_get_deep_counts): * src/file-manager/fm-properties-window.c: (directory_contents_value_field_update), (attach_directory_contents_value_field), (update_visibility_of_item_count_fields), (update_visibility_of_item_count_fields_wrapper), (remember_directory_contents_widget), (append_directory_contents_fields), (real_destroy): Add force flag to nautilus_file_get_deep_counts, which forces generation even if the "show deep count" preference is turned off. pass TRUE in property window and FALSE everywhere else. Fixes #126068.
* Always pass all selected files to extension, instead of passing max. 1 perChristian Neumair2005-09-061-52/+4
| | | | | | | | | 2005-09-06 Christian Neumair <chris@gnome-de.org> * src/file-manager/fm-directory-view.c: (add_extension_menu_items), (get_unique_files), (reset_extension_actions_menu): Always pass all selected files to extension, instead of passing max. 1 per selected MIME type. Fixes #314721.
* Fix handling of global show-hidden-file prefs change. (#306821) Patch fromAlexander Larsson2005-08-291-1/+3
| | | | | | | | | | 2005-08-29 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.c: (filtering_changed_callback): Fix handling of global show-hidden-file prefs change. (#306821) Patch from Christian Neumair <chris@gnome-de.org>
* Better handling of script env vars: Expand uri for desktop directory.Alexander Larsson2005-08-261-5/+27
| | | | | | | | | | | | 2005-08-26 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.c: Better handling of script env vars: Expand uri for desktop directory. Expand uris for links on desktop Expand pathnames for items in trash. Fixes bug #148545 Based on a patch from Christian Neumair <chris@gnome-de.org>
* Remove usage of GNOME_VFS_XFER_REMOVESOURCE inAlexander Larsson2005-08-251-1/+0
| | | | | | | | | | 2005-08-25 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-operations.[ch]: * src/file-manager/fm-directory-view.c: Remove usage of GNOME_VFS_XFER_REMOVESOURCE in nautilus_file_operations_new_file_from_template, instead manually removing source when needed. This fixes #309592.
* Don't allow trashing or deleting the home or desktop folder within aMartin Wehner2005-08-221-6/+56
| | | | | | | | | | | | | | | | 2005-08-22 Martin Wehner <martin.wehner@gmail.com> * libnautilus-private/nautilus-file.c: (nautilus_file_is_desktop_directory), (nautilus_file_can_rename), (prepend_automatic_emblem_names): * libnautilus-private/nautilus-file.h: * src/file-manager/fm-directory-view.c: (desktop_or_home_dir_in_selection), (real_update_location_menu), (real_update_menus): Don't allow trashing or deleting the home or desktop folder within a selection or via the location button context menu. Fixes #310414. Based on a patch from Christian Neumair <chris@gnome-de.org>
* Use actual/guessed MIME type relation instead of relying on their defaultChristian Neumair2005-08-011-13/+5
| | | | | | | | 2005-08-01 Christian Neumair <chris@gnome-de.org> * src/file-manager/fm-directory-view.c: (activate_check_mime_types): Use actual/guessed MIME type relation instead of relying on their default application information. Partially fixes #309862.
* Don't use trash icon for location button delete action. Fixes #310414.Martin Wehner2005-07-231-1/+1
| | | | | | | | | | 2005-07-23 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: Don't use trash icon for location button delete action. Fixes #310414. Patch from Christian Neumair <chris@gnome-de.org>
* Fix up some strings for the translators. (#309879) Patch from ChristianAlexander Larsson2005-07-111-9/+8
| | | | | | | | | | | 2005-07-11 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-dnd.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-properties-window.c: * src/nautilus-emblem-sidebar.c: Fix up some strings for the translators. (#309879) Patch from Christian Neumair <chris@gnome-de.org>
* Correctly sort files before operating on them. Fixes #308884.Christian Neumair2005-07-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-06 Christian Neumair <chris@gnome-de.org> * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_get_selection): * src/file-manager/fm-directory-view.c: (delete_selected_files): Correctly sort files before operating on them. Fixes #308884. * libnautilus-private/nautilus-dnd.c: (nautilus_drag_init): * libnautilus-private/nautilus-dnd.h: * libnautilus-private/nautilus-icon-dnd.c: (get_data_on_first_target_we_support), (nautilus_icon_dnd_init): * libnautilus-private/nautilus-tree-view-drag-dest.c: (nautilus_tree_view_drag_dest_new): * src/nautilus-spatial-window.c: (nautilus_spatial_window_instance_init): * src/file-manager/fm-list-model.c: (fm_list_model_multi_drag_data_get): Use GTK+ helpers for text D'n'D. * src/nautilus-shell-ui.xml: * src/nautilus-window-menus.c: Register control-+/- keys on keypad for zooming. Fixes #309018. * libnautilus-private/nautilus-file-operations.c: (new_file_transfer_callback): Fix template duplicate numbering. Fixes #307252.
* Change NAUTILUS_ICON_DND_TEXT_TYPE to UTF-8 string.Christian Neumair2005-07-051-12/+72
| | | | | | | | | | | | | | | | | | | 2005-07-05 Christian Neumair <chris@gnome-de.org> * libnautilus-private/nautilus-dnd.h: Change NAUTILUS_ICON_DND_TEXT_TYPE to UTF-8 string. * libnautilus-private/nautilus-file-operations.[ch]: * libnautilus-private/nautilus-icon-container.[ch]: * libnautilus-private/nautilus-icon-dnd.c: * libnautilus-private/nautilus-marshal.list: * libnautilus-private/nautilus-tree-view-drag-dest.[ch]: * src/file-manager/fm-directory-view.[ch]: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-tree-view.c: Enable dropping of text, which will create a new file containing the dropped text. Fix drop handle marshallers.
* Add icon for empty file in create menu.Alexander Larsson2005-07-011-0/+29
| | | | | | | | | | 2005-07-01 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c: Add icon for empty file in create menu. Patch from Christian Neumair <chris@gnome-de.org>
* Better strings for browser tooltips. Patch from Luca FerrettiAlexander Larsson2005-07-011-5/+5
| | | | | | | | 2005-07-01 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.c: Better strings for browser tooltips. Patch from Luca Ferretti <elle.uca@libero.it>
* Plug a couple leaks. ClosesKjartan Maraas2005-06-201-2/+2
| | | | | | | 2005-06-20 Kjartan Maraas <kmaraas@gnome.org> * src/file-manager/fm-directory-view.c: (reset_open_with_menu), (real_update_menus_volumes): Plug a couple leaks. Closes
* Plug leak by freeing the sorted list instead.Anders Carlsson2005-06-201-1/+5
| | | | | | | 2005-06-20 Anders Carlsson <andersca@imendio.com> * src/file-manager/fm-directory-view.c (process_old_files): Plug leak by freeing the sorted list instead.
* Fix uninitialized variable warning.Alexander Larsson2005-06-201-1/+2
| | | | | | | | 2005-06-20 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.c: (paste_clipboard_data): * src/file-manager/fm-tree-view.c: (paste_clipboard_data): Fix uninitialized variable warning.
* Remove subdirectories when destroying the view.Martin Wehner2005-06-161-0/+5
| | | | | | | | 2005-06-16 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy): Remove subdirectories when destroying the view.
* Slightly slower auto hover expand.Alexander Larsson2005-06-161-59/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-16 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-tree-view-drag-dest.c: Slightly slower auto hover expand. * src/file-manager/fm-directory-view.c: Make add/remove_subdirectory more straightforward. Now remove just removes the NautilusDirectory passed in, and you're not allowed to add multiple times or remove non-added. * src/file-manager/fm-list-model.[ch]: Actually track the NautilusDirectories that are added to the FMDirectoryView so we can easily remove them when the files are removed. This was causing problem before where directories for removed files weren't removed. Emits the subdirectory_unloaded signal when subdirectories go away. Add support for unloading subdirectories. * src/file-manager/fm-list-view.c: Unload subdirectories in timeout on collapse. remove subdirectories when they get unloaded.
* src/file-manager/fm-icon-view.c addAlexander Larsson2005-06-161-5/+18
| | | | | | | | | | | | | | | | | | 2005-06-16 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.[ch]: * src/file-manager/fm-icon-view.c add fm_directory_view_get_selection_for_file_transfer and use it for all file transfers * src/file-manager/fm-list-view.c: Implement fm_directory_view_get_selection_for_file_transfer by filtering out all files there a parent is also in the selection. Do the same for the dnd source list. * src/file-manager/fm-list-model.c: Allow deletion of dummy node so that clearing the model doesn't loop forever.
* Don't try to setup renaming if the view was already destroyed. Fixes aMartin Wehner2005-06-151-9/+22
| | | | | | | | | | 2005-06-15 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: (new_folder_done), (new_folder_data_new), (fm_directory_view_new_folder), (fm_directory_view_new_file): Don't try to setup renaming if the view was already destroyed. Fixes a crash when closing a window while creating files/folders.
* Add hover expansionAlexander Larsson2005-06-151-1/+104
| | | | | | | | | | | | | | | | | | 2005-06-15 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-tree-view-drag-dest.c: Add hover expansion * src/file-manager/fm-directory-view.[ch]: Add support for adding/removing subdirectories. * src/file-manager/fm-list-model.[ch]: Add support for subdirectories making this a tree view. * src/file-manager/fm-list-view.c: Turn listview into a treeview. Patch from Jürg Billeter <j@bitron.ch>
* Check for n_uris instead of real_uri_list. Looks neater.Martin Wehner2005-06-111-1/+1
| | | | | | | | 2005-06-11 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: (fm_directory_view_handle_uri_list_drop): Check for n_uris instead of real_uri_list. Looks neater.
* Don't try to start a file operation if there are no real uris left afterMartin Wehner2005-06-111-0/+6
| | | | | | | | | 2005-06-11 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: (fm_directory_view_handle_uri_list_drop): Don't try to start a file operation if there are no real uris left after sanitizing the list. Fixes #306246.
* Mark two strings for translation.Kjartan Maraas2005-06-101-2/+2
| | | | | | | 2005-06-10 Kjartan Maraas <kmaraas@gnome.org> * src/file-manager/fm-directory-view.c: (fm_directory_view_confirm_deletion): Mark two strings for translation.
* Always initialize cut.Martin Wehner2005-06-101-3/+3
| | | | | | | | | | | | | | | 2005-06-10 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: (convert_lines_to_str_list): * src/file-manager/fm-tree-view.c: (convert_lines_to_str_list): Always initialize cut. * configure.in: Add --Wno-pointer-sign Fix gcc4 compilation (#303491/#307038). Based on patches from James M. Cape <jcape@ignore-your.tv> and Kjartan Maraas <kmaraas@gnome.org>
* Fix critical warnings from the new accelerators by adding dummy labels.Martin Wehner2005-06-041-1/+1
| | | | | | | | | | 2005-06-04 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: * src/nautilus-shell-ui.xml: * src/nautilus-window-menus.c: Fix critical warnings from the new accelerators by adding dummy labels.
* Always pre-select the whole name of a directory when renaming it. FixesChristian Neumair2005-06-021-0/+5
| | | | | | | | 2005-06-02 Christian Neumair <chris@gnome-de.org> * src/file-manager/fm-directory-view.c: (real_action_rename): Always pre-select the whole name of a directory when renaming it. Fixes #306217.
* Change scroll zoom modifier to control. Fixes #79352.Christian Neumair2005-06-021-1/+1
| | | | | | | | | | | | 2005-06-02 Christian Neumair <chris@gnome-de.org> * src/file-manager/fm-directory-view.c: (fm_directory_view_scroll_event): Change scroll zoom modifier to control. Fixes #79352. * src/nautilus-shell-ui.xml: * src/nautilus-window-menus.c: Bind control-= to zoom-in. Fixes #306225.
* Declare GtkActionEntry arrays const. Thanks to Paolo Borelli for pointingChristian Neumair2005-06-021-2/+2
| | | | | | | | | | | | | | 2005-05-02 Christian Neumair <chris@gnome-de.org> * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: * src/nautilus-navigation-window-menus.c: * src/nautilus-spatial-window.c: * src/nautilus-window-menus.c: Declare GtkActionEntry arrays const. Thanks to Paolo Borelli for pointing this out.
* Bind shift-f2 to rename whole file. Fixes #131467.Christian Neumair2005-06-021-9/+31
| | | | | | | | | | | | | | | | | 2005-06-02 Christian Neumair <chris@gnome-de.org> * libnautilus-private/nautilus-icon-container.c: (process_pending_icon_to_rename), (nautilus_icon_container_start_renaming_selected_item): * libnautilus-private/nautilus-icon-container.h: * src/file-manager/fm-directory-view.c: (start_renaming_file), (real_action_rename), (action_rename_callback), (action_rename_select_all_callback): * src/file-manager/fm-directory-view.h: * src/file-manager/fm-icon-view.c: (fm_icon_view_start_renaming_file): * src/file-manager/fm-list-view.c: (fm_list_view_start_renaming_file): * src/file-manager/nautilus-directory-view-ui.xml: Bind shift-f2 to rename whole file. Fixes #131467.
* Don't display "Properties" background context menu item for Desktop.Christian Neumair2005-05-271-0/+2
|
* Better handling of default action for mozilla dnd drops.Alexander Larsson2005-05-271-17/+34
| | | | | | | | | | 2005-05-27 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.c: (fm_directory_view_handle_url_drop): Better handling of default action for mozilla dnd drops. Patch from Dave Ahlswede
* Remove qualifiers from Cut/Copy/Paste, except for "Paste Into Folders".Christian Neumair2005-05-261-27/+17
| | | | | | | | | | | | 2005-05-26 Christian Neumair <chris@gnome-de.org> * libnautilus-private/nautilus-clipboard.c: * src/file-manager/fm-directory-view.c: (copy_or_cut_files), (real_update_menus): * src/file-manager/fm-tree-view.c: (copy_or_cut_files), (create_popup_menu): Remove qualifiers from Cut/Copy/Paste, except for "Paste Into Folders". Fixes #95112.
* Fix empty trash accelerator. Fixes #173059.Christian Neumair2005-05-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-26 Christian Neumair <chris@gnome-de.org> * src/file-manager/fm-directory-view.c: (real_update_menus): Fix empty trash accelerator. Fixes #173059. * libnautilus-private/nautilus-clipboard.c: (cut_callback), (copy_callback), (paste_callback), (editable_select_all_callback), (text_view_select_all_callback), (action_cut_callback), (action_copy_callback), (action_paste_callback), (action_select_all_callback), (merge_in_clipboard_menu_items), (selection_changed_callback), (nautilus_clipboard_real_set_up), (nautilus_clipboard_set_up_editable), (nautilus_clipboard_set_up_text_view): * libnautilus-private/nautilus-clipboard.h: (nautilus_clipboard_set_up_text_view): * src/nautilus-notes-viewer.c: Add nautilus_clipboard_set_up_text_view, setup clipboard for notes text view. * src/nautilus-window-menus.c: (action_about_nautilus_callback): Fix two possible memory leaks. Kudos to Brian Pepple for tracking this issue down and providing a patch. Fixes #305551.
* Bind shift+scroll to zoom in/out. Fixes #79352.Christian Neumair2005-05-251-0/+35
| | | | | | | | | 2005-05-25 Christian Neumair <chris@gnome-de.org> * src/file-manager/fm-directory-view.c: (fm_directory_view_scroll_event), (fm_directory_view_class_init): Bind shift+scroll to zoom in/out. Fixes #79352.
* Add nautilus_view_pop_up_location_context_menuAlexander Larsson2005-05-171-10/+237
| | | | | | | | | | | | | | | | | 2005-05-17 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-view.[ch]: Add nautilus_view_pop_up_location_context_menu * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-directory-view.h: * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-location-bar.c: * src/nautilus-spatial-window.c: Add location context menu to location button/label. Patch from Christian Neumair
* Add "Properties" item to background context menu which displays theChristian Neumair2005-05-161-0/+26
| | | | | | | | | | | 2005-05-16 Christian Neumair <chris@gnome-de.org> * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c: (action_self_properties_callback), (real_update_menus): * src/file-manager/nautilus-directory-view-ui.xml: Add "Properties" item to background context menu which displays the properties of the currently displayed folder.
* Don't loop when a bookmarked file is removedAlexander Larsson2005-05-161-1/+1
| | | | | | | | | | | | | | 2005-05-16 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-bookmark.c: (bookmark_file_changed_callback): Don't loop when a bookmarked file is removed * src/file-manager/fm-directory-view.c: (process_new_files): Don't call get_file_info for files no longer in the directory (was caused by the ready_to_load call). This fixes #165530 and likely #170761
* Add translator comments. Fixes #46338, #46339, #46341. Change "Show HiddenChristian Neumair2005-05-111-1/+2
| | | | | | | | | | | | 2005-05-11 Christian Neumair <chris@gnome-de.org> * libnautilus-private/nautilus-file-utilities.c: (nautilus_get_vfs_method_display_name): * data/browser.xml: * src/file-manager/fm-directory-view.c: Add translator comments. Fixes #46338, #46339, #46341. Change "Show Hidden Files" tooltip to infinitive construction. Fixes #46337.
* Fix a string conflict between the c-format plural string and non-c-formatMartin Wehner2005-05-101-2/+2
| | | | | | | | | | 2005-05-10 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: (real_update_menus): Fix a string conflict between the c-format plural string and non-c-format strings. Fixes bug #167344. Patch from Changwoo Ryu <cwryu@debian.org>
* Allow freeze of update processing inside a view.Martin Wehner2005-05-031-0/+56
| | | | | | | | | | | | | | | | | | | 2005-05-03 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.[ch]: (display_pending_files), (fm_directory_view_freeze_updates), (fm_directory_view_unfreeze_updates), (queue_pending_files): Allow freeze of update processing inside a view. * src/file-manager/fm-list-view.c: (cell_renderer_editing_canceled), (cell_renderer_edited), (create_and_set_up_tree_view), (fm_list_view_start_renaming_file): Freeze and unfreeze the list view when renaming. Workaround for bug #87701: Updates to the list view are put on hold during rename to prevent losing editing focus. If too many changes are queued while being frozen, further changes are thrown away and the view is marked for reload.
* Remove delayed_rename timeout when registering a new one or destroying theMartin Wehner2005-04-111-2/+13
| | | | | | | | | 2005-04-11 Martin Wehner <martin.wehner@gmail.com> * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy), (rename_file): Remove delayed_rename timeout when registering a new one or destroying the view.