1. 14 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      Only use <gio/gio.h> include · 6559286c
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-bookmark.c:
              * libnautilus-private/nautilus-bookmark.h:
              * libnautilus-private/nautilus-desktop-icon-file.c:
              * libnautilus-private/nautilus-desktop-link-monitor.c:
              * libnautilus-private/nautilus-desktop-link.c:
              * libnautilus-private/nautilus-desktop-link.h:
              * libnautilus-private/nautilus-directory-private.h:
              * libnautilus-private/nautilus-directory.h:
              * libnautilus-private/nautilus-emblem-utils.h:
              * libnautilus-private/nautilus-file-changes-queue.h:
              * libnautilus-private/nautilus-file-operations.c:
              * libnautilus-private/nautilus-file-operations.h:
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-file-utilities.h:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-file.h:
              * libnautilus-private/nautilus-icon-info.c:
              * libnautilus-private/nautilus-icon-info.h:
              * libnautilus-private/nautilus-link.c:
              * libnautilus-private/nautilus-mime-actions.h:
              * libnautilus-private/nautilus-mime-application-chooser.c:
              * libnautilus-private/nautilus-monitor.c:
              * libnautilus-private/nautilus-monitor.h:
              * libnautilus-private/nautilus-open-with-dialog.c:
              * libnautilus-private/nautilus-open-with-dialog.h:
              * libnautilus-private/nautilus-program-choosing.c:
              * libnautilus-private/nautilus-program-choosing.h:
              * libnautilus-private/nautilus-progress-info.h:
              * libnautilus-private/nautilus-recent.h:
              * libnautilus-private/nautilus-search-directory.c:
              * libnautilus-private/nautilus-search-engine-simple.c:
              * libnautilus-private/nautilus-trash-monitor.c:
              * libnautilus-private/nautilus-trash-monitor.h:
              * libnautilus-private/nautilus-ui-utilities.c:
              * libnautilus-private/nautilus-view-factory.h:
              * src/file-manager/fm-directory-view.c:
              * src/file-manager/fm-directory-view.h:
              * src/file-manager/fm-icon-container.c:
              * src/file-manager/fm-icon-view.c:
              * src/file-manager/fm-tree-model.h:
              * src/file-manager/fm-tree-view.c:
              * src/nautilus-application.c:
              * src/nautilus-application.h:
              * src/nautilus-bookmark-list.c:
              * src/nautilus-bookmark-list.h:
              * src/nautilus-desktop-window.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-location-entry.c:
              * src/nautilus-navigation-window.c:
              * src/nautilus-pathbar.c:
              * src/nautilus-pathbar.h:
              * src/nautilus-places-sidebar.c:
              * src/nautilus-property-browser.c:
              * src/nautilus-query-editor.c:
              * src/nautilus-window-menus.c:
      	Only use <gio/gio.h> include 
      
      
      svn path=/trunk/; revision=13529
      6559286c
  2. 11 Dec, 2007 1 commit
    • David Zeuthen's avatar
      Update for API changes in gio trunk. · 6b62b6df
      David Zeuthen authored
      2007-12-11  David Zeuthen  <davidz@redhat.com>
      
      	Update for API changes in gio trunk.
      
      	* libnautilus-private/nautilus-desktop-icon-file.c:
      	(update_info_from_link):
      	* libnautilus-private/nautilus-desktop-link-monitor.c:
      	(volume_delete_dialog), (volume_file_name_used),
      	(create_mount_link), (mount_added_callback),
      	(mount_removed_callback), (mount_changed_callback),
      	(desktop_volumes_visible_changed),
      	(nautilus_desktop_link_monitor_init),
      	(desktop_link_monitor_finalize):
      	* libnautilus-private/nautilus-desktop-link.c:
      	(nautilus_desktop_link_new),
      	(nautilus_desktop_link_new_from_mount),
      	(nautilus_desktop_link_get_mount), (desktop_link_finalize):
      	* libnautilus-private/nautilus-desktop-link.h:
      	* libnautilus-private/nautilus-file-operations.c:
      	(custom_mount_to_string), (custom_mount_skip),
      	(unmount_mount_callback), (do_unmount), (get_trash_dirs_for_mount),
      	(has_trash_files), (nautilus_file_operations_unmount_mount):
      	* libnautilus-private/nautilus-file-operations.h:
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_get_volume_name):
      	* src/file-manager/fm-icon-container.c: (get_sort_category):
      	* src/file-manager/fm-tree-model.c: (fm_tree_model_add_root_uri),
      	(fm_tree_model_get_mount_for_root_node_file),
      	(fm_tree_model_remove_root_uri):
      	* src/file-manager/fm-tree-model.h:
      	* src/file-manager/fm-tree-view.c: (add_root_for_mount),
      	(mount_added_callback), (mount_removed_callback),
      	(button_pressed_callback), (fm_tree_view_unmount_cb),
      	(create_tree):
      	* src/nautilus-application.c: (nautilus_application_instance_init),
      	(mount_added_callback), (mount_removed_callback):
      	* src/nautilus-pathbar.c:
      	(nautilus_path_bar_update_button_appearance),
      	(is_file_path_mounted_mount), (find_button_type),
      	(make_directory_button):
      	* src/nautilus-places-sidebar.c: (add_place), (update_places),
      	(mount_added_callback), (mount_removed_callback),
      	(mount_changed_callback), (volume_added_callback),
      	(volume_removed_callback), (volume_changed_callback),
      	(drive_changed_callback), (bookmarks_popup_menu_detach_cb),
      	(check_visibility), (bookmarks_check_popup_sensitivity),
      	(volume_mount_cb), (open_selected_bookmark), (mount_shortcut_cb),
      	(unmount_shortcut_cb), (eject_shortcut_cb),
      	(drive_poll_for_media_cb), (rescan_shortcut_cb),
      	(bookmarks_build_popup_menu), (nautilus_places_sidebar_init),
      	(nautilus_places_sidebar_set_parent_window):
      
      
      svn path=/trunk/; revision=13520
      6b62b6df
  3. 30 Nov, 2007 1 commit
  4. 02 Feb, 2007 1 commit
  5. 18 Mar, 2006 1 commit
    • Martin Wehner's avatar
      Use gi18n.h instead of deprecated gnome-i18n.h header. · cb131b9c
      Martin Wehner authored
      2006-03-18  Martin Wehner  <martin.wehner@gmail.com>
      
      	* libnautilus-private/*.c:
      	* src/file-manager/*.c:
      	* src/*.c:
      	Use gi18n.h instead of deprecated gnome-i18n.h header.
      
      	* libnautilus-private/nautilus-query.c:
      	(nautilus_query_to_readable_string):
      	Mark string for translation.
      
      	* po/POTFILES.in:
      	Add nautilus-query.c
      
      	Patch from Wouter Bolsterlee <uws+gnome@xs4all.nl>
      cb131b9c
  6. 12 Dec, 2005 1 commit
    • Alexander Larsson's avatar
      Use GNOME_VFS_FILE_INFO_FIELDS_ACCESS to calculate permissions. · 146945c1
      Alexander Larsson authored
      2005-12-12  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-desktop-icon-file.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-file.c:
      	Use GNOME_VFS_FILE_INFO_FIELDS_ACCESS to calculate
      	permissions.
      
      	Patch from Christian Neumair and Christian Kellner
      
      	* configure.in:
      	Require latest gnome-vfs for GNOME_VFS_FILE_INFO_FIELDS_IDS.
      146945c1
  7. 22 Feb, 2005 1 commit
    • Alexander Larsson's avatar
      Handle nautilus_desktop_icon_file_get_link() returning NULL. Likely fixes · 80d81ac5
      Alexander Larsson authored
      2005-02-22  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-desktop-icon-file.c:
      	* libnautilus-private/nautilus-file-operations.c:
      	(nautilus_file_operations_delete):
      	* libnautilus-private/nautilus-file.c: (nautilus_file_can_rename),
      	(rename_guts), (nautilus_file_get_drop_target_uri):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(trash_link_is_selection):
      	* src/file-manager/fm-icon-container.c: (get_sort_category):
      	* src/file-manager/fm-properties-window.c:
      	(get_target_file_for_original_file):
      	Handle nautilus_desktop_icon_file_get_link() returning NULL.
      	Likely fixes bug #145971
      80d81ac5
  8. 18 May, 2004 1 commit
  9. 06 Nov, 2003 1 commit
    • Alexander Larsson's avatar
      New desktop files · e162b7dc
      Alexander Larsson authored
      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:///
      e162b7dc
  10. 05 Nov, 2003 1 commit
    • Alexander Larsson's avatar
      Require new gnome-vfs · 3613a86b
      Alexander Larsson authored
      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
      3613a86b
  11. 23 May, 2003 1 commit
    • Alexander Larsson's avatar
      Don't ref directory twice. Rename finalizer. · e69640f9
      Alexander Larsson authored
      2003-05-23  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-desktop-icon-file.c:
      	Don't ref directory twice. Rename finalizer.
      
      	* libnautilus-private/nautilus-desktop-link-monitor.c:
      	unref monitor on shutdown
      	Unref correct object in finalize
      
      	* libnautilus-private/nautilus-desktop-link.c:
      	unref icon file in finalizer.
      e69640f9
  12. 15 May, 2003 1 commit
    • Alexander Larsson's avatar
      Added new files. · 11958681
      Alexander Larsson authored
      2003-05-15  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/Makefile.am:
      	Added new files.
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.[ch]:
      	New prefs for home and trash links.
      
      	* libnautilus-private/nautilus-desktop-directory.[ch]:
      	New files. Implements the NautilusDesktop object for the
      	virtual x-nautilus-desktop: uri. The directory merges the contents
      	of the directory with the real desktop directory.
      
      	* libnautilus-private/nautilus-desktop-directory-file.[ch]:
      	New files. Implements the Nautilusfile corresponding to
      	NautilusDestkopDirectory.
      
      	* libnautilus-private/nautilus-desktop-icon-file.[ch]:
      	New files.
      	Implement NautilusFile for a virtual file in a NautilusDesktopDirectory.
      	Gets all the actual file data from a NautilusDesktopLink.
      
      	* libnautilus-private/nautilus-desktop-link-monitor.[ch]:
      	New files.
      	Keep track of home and trash visibility prefs and mounted volumes and
      	create/destroy corresponding NautilusDesktopLink object.
      
      	* libnautilus-private/nautilus-desktop-link.[ch]:
      	New files.
      	Keeps track of all the real information in a desktop icon link.
      	These are home, trash and volume links at the moment.
      
      	* libnautilus-private/nautilus-directory-async.c:
      	Indentation correction.
      
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_new):
      	Create NautilusDesktopDirectory objects for x-nautilus-desktop: uris
      
      	* libnautilus-private/nautilus-dnd.c: (nautilus_drag_items_local):
      	Handle NULL GnomeVFSURIs.
      	(nautilus_drag_items_on_desktop): New function to check if items
      	are on the desktop.
      	(nautilus_drag_default_drop_action_for_icons):
      	Special case desktop uris.
      	(nautilus_drag_selection_includes_special_link):
      	Convert from old-style special links to current.
      
      	* libnautilus-private/nautilus-dnd.h:
      	New function nautilus_drag_items_on_desktop.
      
      	* libnautilus-private/nautilus-file-operations.c:
      	(is_special_link), (nautilus_file_operations_copy_move):
      	Convert from old-style special links to current.
      	(nautilus_file_operations_delete):
      	Special case desktop links
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	(nautilus_get_desktop_directory):
      	(nautilus_get_gmc_desktop_directory):
      	Change desktop dir to ~/Desktop
      	(nautilus_get_desktop_directory_uri):
      	New function to return desktop dir as a uri.
      
      
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_new_from_relative_uri),
      	(nautilus_file_get_internal):
      	Handle creation of desktop icon files.
      	(nautilus_file_can_rename), (rename_guts),
      	(nautilus_file_get_drop_target_uri):
      	Update for new special links.
      	(nautilus_file_is_in_desktop):
      	Update for new desktop dir.
      	(nautilus_file_get_uri):
      	Fix uris for self owned files. This changed due to
      	the new canonicalization rules for foo:
      
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	(nautilus_icon_container_selection_items_local),
      	(handle_nonlocal_move):
      	Handle desktop uri.
      
      	* src/Nautilus_shell.server.in:
      	icon view handles x-nautilus-desktop: uris
      
      	* src/nautilus-application.c: (finish_startup):
      	Initialize the desktop link monitor
      
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_update_directory):
      	Show x-nautilus-desktop:
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_finalize), (fm_desktop_icon_view_init),
      	(volume_ops_callback), (trash_link_is_selection),
      	(volume_link_is_selection), (volume_link_device_type),
      	(real_supports_zooming):
      
      	* src/file-manager/fm-directory-view.c:
      	Remove lots of old support for desktop icon.
      	Reimplement some of it with the new desktop icon support.
      
      	* src/file-manager/fm-directory-view.h:
      	New function fm_directory_view_get_backing_uri
      
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_get_icon_text):
      	Don't show extra text for desktop icons
      	(get_sort_category): Update for new desktop icons
      
      	* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
      	Use get_backing_uri()
      
      	* src/file-manager/fm-properties-window.c: (get_target_file):
      	Use the new desktop icon support.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(lay_down_icons_tblr):
      	Don't loop forever if icon doesn't in the height of the container.
      11958681