summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Better get_uri_scheme implementationAlexander Larsson2007-11-019-398/+109
| | | | | | | | | | | | | | | | | | | | | | | 2007-11-01 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file.c: (nautilus_file_get_uri_scheme): Better get_uri_scheme implementation * libnautilus-private/nautilus-mime-actions.[ch]: Remove the open_with versions (not needed anymore) Add support for uri_handlers * libnautilus-private/nautilus-program-choosing.[ch]: Remove now unused function nautilus_launch_show_file * src/file-manager/fm-directory-view.c: * src/nautilus-information-panel.c: * src/nautilus-window.c: Update for above api changes svn path=/branches/gio-branch/; revision=13394
* Convert default dnd op to gio codeAlexander Larsson2007-10-312-26/+58
| | | | | | | | | | 2007-10-31 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-dnd.c: Convert default dnd op to gio code svn path=/branches/gio-branch/; revision=13393
* Update to changed gio APIAlexander Larsson2007-10-312-4/+9
| | | | | | | | | | 2007-10-31 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-search-engine-simple.c: Update to changed gio API svn path=/branches/gio-branch/; revision=13392
* Remove more unused gnome-vfs helpersAlexander Larsson2007-10-313-13/+5
| | | | | | | | | | 2007-10-31 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-vfs-utils.[ch]: Remove more unused gnome-vfs helpers svn path=/branches/gio-branch/; revision=13390
* Use a better pipeline for audio preview (doesn't play videos) Add backAlexander Larsson2007-10-314-53/+71
| | | | | | | | | | | | | | | | | | | | 2007-10-31 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-icon-view.c (play_file): Use a better pipeline for audio preview (doesn't play videos) Add back totem preview app. * libnautilus-private/nautilus-file.c: (nautilus_file_get_volume_name): Get volume name using gio * src/file-manager/fm-properties-window.c: Show volume name for non local files too Avoid crashes if query fsinfo fails svn path=/branches/gio-branch/; revision=13389
* Avoid gnome_vfs callsAlexander Larsson2007-10-302-6/+8
| | | | | | | | | | | 2007-10-30 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-program-choosing.c: (nautilus_launch_show_file): Avoid gnome_vfs calls svn path=/branches/gio-branch/; revision=13388
* Remove old commentAlexander Larsson2007-10-301-3/+0
| | | | svn path=/branches/gio-branch/; revision=13387
* Fix indentationAlexander Larsson2007-10-305-153/+162
| | | | | | | | | | | | | | | | | 2007-10-30 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-canvas-item.c: (real_map_pixbuf): Fix indentation * src/file-manager/Makefile.am: * src/file-manager/fm-icon-view.c: * src/file-manager/nautilus-audio-mime-types.h: Replace audio preview code with new one based on gst-launch, removing all the gnome-vfs code svn path=/branches/gio-branch/; revision=13386
* Fix buildAlexander Larsson2007-10-291-1/+0
| | | | svn path=/branches/gio-branch/; revision=13385
* Remove gnome-vfs codeAlexander Larsson2007-10-292-13/+7
| | | | | | | | | | 2007-10-29 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-dnd.c: Remove gnome-vfs code svn path=/branches/gio-branch/; revision=13384
* Move public gnome-vfs functions from file-utilities to internal calls inAlexander Larsson2007-10-296-154/+118
| | | | | | | | | | | | | | | | | 2007-10-29 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-utilities.[ch]: * libnautilus-private/nautilus-file-operations.c: Move public gnome-vfs functions from file-utilities to internal calls in file-operations.c Replace gnome-vfs use with gio * libnautilus-private/nautilus-file-operations-progress.c: * src/file-manager/fm-tree-view.c: Replace gnome-vfs use with gio svn path=/branches/gio-branch/; revision=13383
* Move nautilus_file_operations_delete to the gio code.Alexander Larsson2007-10-295-306/+161
| | | | | | | | | | | | | | 2007-10-29 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-operations.[ch]: Move nautilus_file_operations_delete to the gio code. * src/file-manager/fm-directory-view.c: * src/file-manager/fm-tree-view.c: Update to use new nautilus_file_operations_delete svn path=/branches/gio-branch/; revision=13382
* Fix valgrind warning on shutdown (#346401, ported from trunk).Paolo Borelli2007-10-262-4/+22
| | | | | | | | | | 2007-10-26 Paolo Borelli <pborelli@katamail.com> * libnautilus-private/nautilus-module.c: Fix valgrind warning on shutdown (#346401, ported from trunk). svn path=/branches/gio-branch/; revision=13375
* Plug minor memory leaks and improper uses of eel_ref_str_*Paolo Borelli2007-10-267-98/+80
| | | | | | | | | | | | | | | 2007-10-26 Paolo Borelli <pborelli@katamail.com> * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-desktop-link.c: * libnautilus-private/nautilus-desktop-icon-file.c: * libnautilus-private/nautilus-bookmark.c: * libnautilus-private/nautilus-trash-monitor.c: * libnautilus-private/nautilus-file.c: Plug minor memory leaks and improper uses of eel_ref_str_* svn path=/branches/gio-branch/; revision=13374
* unref the icon instead of freeing it to avoid memory corruption.Paolo Borelli2007-10-262-1/+8
| | | | | | | | | | 2007-10-26 Paolo Borelli <pborelli@katamail.com> * libnautilus-private/nautilus-desktop-link.c: unref the icon instead of freeing it to avoid memory corruption. svn path=/branches/gio-branch/; revision=13373
* Rename some file change queue functions to _by_uri add GFile based versionAlexander Larsson2007-10-258-264/+579
| | | | | | | | | | | | | | | | | | | | 2007-10-25 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-changes-queue.[ch]: * libnautilus-private/nautilus-monitor.c: Rename some file change queue functions to _by_uri add GFile based version with the original name * libnautilus-private/nautilus-file-operations.[ch]: Add gio based nautilus_file_operations_trash_or_delete() call. * src/file-manager/fm-directory-view.c: Call nautilus_file_operations_trash_or_delete() Remove unused code svn path=/branches/gio-branch/; revision=13372
* Update TODOAlexander Larsson2007-10-251-0/+2
| | | | svn path=/branches/gio-branch/; revision=13371
* Make file activation handle mounting of mountables and non-mountedAlexander Larsson2007-10-254-381/+431
| | | | | | | | | | | | 2007-10-25 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.[ch]: Make file activation handle mounting of mountables and non-mounted locations. Also general cleanup of activation. Cancellation not handled yet. svn path=/branches/gio-branch/; revision=13370
* Plug some minor memory leaks.Paolo Borelli2007-10-254-10/+16
| | | | | | | | | | | | 2007-10-25 Paolo Borelli <pborelli@katamail.com> * src/file-manager/fm-list-view.c: * libnautilus-private/nautilus-icon-info.c: * libnautilus-private/nautilus-file.c: Plug some minor memory leaks. svn path=/branches/gio-branch/; revision=13368
* Fix a warning when switching view.Paolo Borelli2007-10-252-1/+8
| | | | | | | | | | 2007-10-25 Paolo Borelli <pborelli@katamail.com> * src/nautilus-window-manage-view.c (location_has_really_changed): Fix a warning when switching view. svn path=/branches/gio-branch/; revision=13367
* Do not use EelStringList.Paolo Borelli2007-10-254-57/+88
| | | | | | | | | | | | | 2007-10-25 Paolo Borelli <pborelli@katamail.com> * src/nautilus-application.c: * src/nautilus-property-browser.c: * src/nautilus-shell.c: Do not use EelStringList. svn path=/branches/gio-branch/; revision=13366
* remove eel_string_list (ab)use.Paolo Borelli2007-10-242-20/+31
| | | | | | | | | | 2007-10-24 Paolo Borelli <pborelli@katamail.com> * src/nautilus-file-management-properties.c: remove eel_string_list (ab)use. svn path=/branches/gio-branch/; revision=13365
* Pass GMountOperation instead of parent to mount. Nothing for unmount/ejectAlexander Larsson2007-10-245-40/+63
| | | | | | | | | | | | | | | | 2007-10-24 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file.[ch]: * libnautilus-private/nautilus-vfs-file.c: Pass GMountOperation instead of parent to mount. Nothing for unmount/eject * src/file-manager/fm-directory-view.c: Pass in a mount operation for mount. Disable timeout cancel dialog when mount operation is active svn path=/branches/gio-branch/; revision=13364
* Use g_utf8_collate, not eel_strcoll.Alexander Larsson2007-10-242-4/+9
| | | | | | | | | | 2007-10-24 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file.c: Use g_utf8_collate, not eel_strcoll. svn path=/branches/gio-branch/; revision=13363
* Update for eel changesAlexander Larsson2007-10-243-53/+10
| | | | | | | | | | | 2007-10-24 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-canvas-item.c: * test/test.c: Update for eel changes svn path=/branches/gio-branch/; revision=13362
* Remove libart dependency, use eel rect and point typesAlexander Larsson2007-10-238-124/+127
| | | | | | | | | | | | | | | 2007-10-23 Alexander Larsson <alexl@redhat.com> * configure.in: * libnautilus-private/nautilus-icon-canvas-item.[ch]: * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-dnd.c: * libnautilus-private/nautilus-icon-private.h: * test/test.c: Remove libart dependency, use eel rect and point types svn path=/branches/gio-branch/; revision=13360
* Use gdk_spawn instead of eelAlexander Larsson2007-10-232-1/+7
| | | | | | | | | | | | 2007-10-23 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-program-choosing.c: (nautilus_launch_application_from_command): Use gdk_spawn instead of eel svn path=/branches/gio-branch/; revision=13359
* Don't use removed eel gnome-vfs functionsAlexander Larsson2007-10-238-43/+55
| | | | | | | | | | | | | | | | 2007-10-23 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-dnd.c: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-program-choosing.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-properties-window.c: * src/nautilus-emblem-sidebar.c: * src/nautilus-information-panel.c: Don't use removed eel gnome-vfs functions svn path=/branches/gio-branch/; revision=13358
* Add nautilus_directory_get_locationAlexander Larsson2007-10-2312-23/+78
| | | | | | | | | | | | | | | | | | | | | | | 2007-10-23 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-directory.[ch]: Add nautilus_directory_get_location * libnautilus-private/nautilus-file.[ch]: Add nautilus_file_get_parent_location. Port from eel_format_uri_for_display to gio parse names * libnautilus-private/nautilus-program-choosing.c: * src/file-manager/fm-directory-view.c: * src/nautilus-emblem-sidebar.c: * src/nautilus-location-bar.c: * src/nautilus-location-dialog.c: * src/nautilus-navigation-window-menus.c: * src/nautilus-window-bookmarks.c: Port from eel_format_uri_for_display to gio parse names svn path=/branches/gio-branch/; revision=13357
* Port from gnome-vfsAlexander Larsson2007-10-233-53/+52
| | | | | | | | | | | | | | | 2007-10-23 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-utilities.c: (nautilus_ensure_unique_file_name): Port from gnome-vfs * src/file-manager/fm-directory-view.c: (fm_directory_view_handle_netscape_url_drop): Handle missing mimetype svn path=/branches/gio-branch/; revision=13356
* Make this use only display name.Alexander Larsson2007-10-237-59/+84
| | | | | | | | | | | | | | | | | | | | | | 2007-10-23 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-utilities.c: (nautilus_compute_title_for_location): Make this use only display name. * libnautilus-private/nautilus-icon-info.c: (nautilus_icon_info_lookup): Don't free filename before use * libnautilus-private/nautilus-search-directory-file.[ch]: * libnautilus-private/nautilus-search-directory.c: Create nice display name for search directories, and keep it updated. * src/nautilus-window-manage-views.c: Fix wrong type of argument passed to signal svn path=/branches/gio-branch/; revision=13355
* Replace some gnome vfs callsAlexander Larsson2007-10-232-41/+42
| | | | | | | | | | | 2007-10-23 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file.c: Replace some gnome vfs calls svn path=/branches/gio-branch/; revision=13354
* Use new gio uri escape functions instead of gnome-vfsAlexander Larsson2007-10-232-15/+49
| | | | | | | | | | 2007-10-23 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-metafile.c: Use new gio uri escape functions instead of gnome-vfs svn path=/branches/gio-branch/; revision=13353
* Use GFilenameCompleterAlexander Larsson2007-10-222-219/+39
| | | | | | | | | | 2007-10-22 Alexander Larsson <alexl@redhat.com> * src/nautilus-location-entry.c: Use GFilenameCompleter svn path=/branches/gio-branch/; revision=13352
* Use GFile * instead of uris in some more placesAlexander Larsson2007-10-226-75/+51
| | | | | | | | | | | | | | | | 2007-10-22 Alexander Larsson <alexl@redhat.com> * src/nautilus-application.c: * src/nautilus-information-panel.c: * src/nautilus-spatial-window.c: * src/nautilus-spatial-window.h: * src/nautilus-window-manage-views.c: Use GFile * instead of uris in some more places Patch from Paolo Borelli svn path=/branches/gio-branch/; revision=13351
* Fix handling of mimetype as refstring Fix leak of GFile Code cleanupsAlexander Larsson2007-10-225-71/+39
| | | | | | | | | | | | | | | | | 2007-10-22 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-desktop-icon-file.c: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-saved-search-file.c: * libnautilus-private/nautilus-search-directory-file.c: Fix handling of mimetype as refstring Fix leak of GFile Code cleanups Patch from Paolo Borelli svn path=/branches/gio-branch/; revision=13350
* use g_content_type_equals instead of strcasecmp on the mime type.Paolo Borelli2007-10-194-47/+43
| | | | | | | | | | | | | | 2007-10-19 Paolo Borelli <pborelli@katamail.com> * src/file-manager/fm-icon-view.c: * src/file-manager/fm-directory-view.c: use g_content_type_equals instead of strcasecmp on the mime type. * src/nautilus-window-menus.c: Remove unneeded includes svn path=/branches/gio-branch/; revision=13347
* Make nautilus_emblem_load_pixbuf_for_emblem take a GFile.Paolo Borelli2007-10-195-40/+66
| | | | | | | | | | | | | 2007-10-19 Paolo Borelli <pborelli@katamail.com> * libnautilus-private/nautilus-emblem-utils.h: * libnautilus-private/nautilus-emblem-utils.c: * src/nautilus-emblem-sidebar.c: * src/nautilus-property-browser.c: Make nautilus_emblem_load_pixbuf_for_emblem take a GFile. svn path=/branches/gio-branch/; revision=13346
* Don't crash on NULL display nameAlexander Larsson2007-10-192-0/+10
| | | | | | | | | | | | 2007-10-19 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file.c: (nautilus_file_set_display_name): Don't crash on NULL display name svn path=/branches/gio-branch/; revision=13345
* Remove NautilusFileMountCallback and just makeAlexander Larsson2007-10-1910-83/+90
| | | | | | | | | | | | | | | | | | | | | | | | 2007-10-19 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.[ch]: * libnautilus-private/nautilus-vfs-file.c: Remove NautilusFileMountCallback and just make NautilusFileOperationCallback take an extra resultant file argument. * src/file-manager/fm-directory-view.c: * src/file-manager/fm-error-reporting.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: Update to API change * src/nautilus-pathbar.c: (get_display_name_for_folder): Fix crash if NULL display name svn path=/branches/gio-branch/; revision=13344
* Set can_mount/unmount to FALSE unless setAlexander Larsson2007-10-196-46/+228
| | | | | | | | | | | | | | | | | | | 2007-10-19 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-desktop-icon-file.c: Set can_mount/unmount to FALSE unless set * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-file.h: Make the Operation object semi-public Move mount ops to virtual functions * libnautilus-private/nautilus-vfs-file.c: Initial work to implement mount op svn path=/branches/gio-branch/; revision=13342
* Add & use nautilus_get_desktop_locationAlexander Larsson2007-10-186-35/+51
| | | | | | | | | | | | | | | | | | 2007-10-18 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-utilities.[ch]: * src/nautilus-pathbar.c: Add & use nautilus_get_desktop_location * libnautilus-private/nautilus-dnd.c: Port code to gio * libnautilus-private/nautilus-icon-dnd.c: Trash is now a real uri location, remove special case svn path=/branches/gio-branch/; revision=13341
* Make compute_title take a GFileAlexander Larsson2007-10-1829-337/+440
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-18 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-utilities.[ch]: Make compute_title take a GFile * libnautilus-private/nautilus-view-factory.[ch]: * libnautilus-private/nautilus-window-info.[ch]: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-tree-view.c: * src/nautilus-application.[ch]: * src/nautilus-bookmark-list.c: * src/nautilus-bookmarks-window.c: * src/nautilus-connect-server-dialog-nonmain.c: * src/nautilus-desktop-window.c: * src/nautilus-history-sidebar.c: * src/nautilus-location-bar.c: * src/nautilus-location-dialog.c: * src/nautilus-navigation-window.c: * src/nautilus-places-sidebar.c: * src/nautilus-shell.c: * src/nautilus-spatial-window.c: * src/nautilus-window-manage-views.[ch]: * src/nautilus-window-menus.c: * src/nautilus-window-private.h: * src/nautilus-window.[ch]: Use GFile * instead of char * uri in all loation handling for windows. svn path=/branches/gio-branch/; revision=13340
* port to gio.Paolo Borelli2007-10-182-132/+178
| | | | | | | | 2007-10-18 Paolo Borelli <pborelli@katamail.com> * src/nautilus-image-properties-page.c: port to gio. svn path=/branches/gio-branch/; revision=13339
* Make nautilus_directory_get_existing take GFile *. AddAlexander Larsson2007-10-185-17/+28
| | | | | | | | | | | | | 2007-10-18 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory.[ch]: * src/nautilus-application.c: Make nautilus_directory_get_existing take GFile *. Add nautilus_directory_get taking a GFile * svn path=/branches/gio-branch/; revision=13338
* Rename nautilus_directory_get to nautilus_directory_get_by_uri.Alexander Larsson2007-10-1813-26/+42
| | | | | | | | | | | | | | | | | | | | | | 2007-10-18 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-desktop-directory-file.c: * libnautilus-private/nautilus-desktop-directory.c: * libnautilus-private/nautilus-desktop-icon-file.c: * libnautilus-private/nautilus-desktop-link-monitor.c: * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-file-utilities.c: * src/file-manager/fm-directory-view.c: * src/nautilus-navigation-window.c: * src/nautilus-window-manage-views.c: * test/test-nautilus-directory-async.c: Rename nautilus_directory_get to nautilus_directory_get_by_uri. svn path=/branches/gio-branch/; revision=13337
* Handle NULL volumeAlexander Larsson2007-10-186-93/+83
| | | | | | | | | | | | | | | 2007-10-18 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-desktop-link.c: * libnautilus-private/nautilus-desktop-icon-file.c: Handle NULL volume * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-icon-dnd.c: Convert gnome_vfs calls to gio svn path=/branches/gio-branch/; revision=13336
* Remove unneeded includesAlexander Larsson2007-10-182-2/+0
| | | | svn path=/branches/gio-branch/; revision=13335
* Convert gnome_vfs calls to gioAlexander Larsson2007-10-186-29/+39
| | | | | | | | | | | | | | 2007-10-18 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-desktop-icon-file.c: * src/nautilus-application.c: * src/nautilus-window-menus.c: * test/test-nautilus-directory-async.c: * test/test.c: Convert gnome_vfs calls to gio svn path=/branches/gio-branch/; revision=13334
* Convert gnome_vfs calls to gioAlexander Larsson2007-10-184-52/+54
| | | | | | | | | | | | | 2007-10-18 Alexander Larsson <alexl@redhat.com> * src/nautilus-application.[ch]: Convert gnome_vfs calls to gio * TODO-gio: Document some stuff that needs doing in gio-branch svn path=/branches/gio-branch/; revision=13333