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. 12 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      Update to new gio attribute names · fd9cb7f3
      Alexander Larsson authored
      2007-12-12  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-file-private.h:
              * libnautilus-private/nautilus-file-utilities.c:
      	Update to new gio attribute names
      
      
      svn path=/trunk/; revision=13524
      fd9cb7f3
  3. 30 Nov, 2007 1 commit
  4. 24 Aug, 2007 1 commit
  5. 23 Jun, 2007 1 commit
    • Martin Wehner's avatar
      Destroy xdg-user-dirs cache at shutdown. · 9563193d
      Martin Wehner authored
      2007-06-23  Martin Wehner  <martin.wehner@gmail.com>
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(update_xdg_dir_cache), (unschedule_user_dirs_changed),
      	(destroy_xdg_dir_cache), (free_xdg_dir_cache):
      	Destroy xdg-user-dirs cache at shutdown.
      
      svn path=/trunk/; revision=12946
      9563193d
  6. 16 May, 2007 1 commit
    • Alexander Larsson's avatar
      Add support for xdg-user-dirs · eb8c6ad2
      Alexander Larsson authored
      2007-05-16  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-file-utilities.[ch]:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-signaller.c:
              * src/file-manager/fm-directory-view.c:
      	Add support for xdg-user-dirs
      
      
      svn path=/trunk/; revision=12893
      eb8c6ad2
  7. 12 Mar, 2007 2 commits
    • Alexander Larsson's avatar
      Set version to 2.18.0.1 · c01e3b36
      Alexander Larsson authored
      2007-03-12  Alexander Larsson  <alexl@redhat.com>
      
              * configure.in:
      	Set version to 2.18.0.1
      	
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-file-utilities.h:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-signaller.c:
              * src/file-manager/fm-directory-view.c:
      	Revert accidental commit.
      
      
      svn path=/trunk/; revision=12798
      c01e3b36
    • Alexander Larsson's avatar
      Update for release · ae46508b
      Alexander Larsson authored
      2007-03-12  Alexander Larsson  <alexl@redhat.com>
      
      	* NEWS:
      	Update for release
      
      	* configure.in:
      	Bump version to 2.18.--This
      
      
      svn path=/trunk/; revision=12795
      ae46508b
  8. 08 Dec, 2006 1 commit
    • Paolo Borelli's avatar
      Use nautilus_get_home_directory_uri everywhere instead of open coding it · fca9952a
      Paolo Borelli authored
      2006-12-08  Paolo Borelli  <pborelli@katamail.com>
      
      	* libnautilus-private/nautilus-desktop-link.c:
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-query.c:
      	* src/nautilus-navigation-window.c:
      	* src/nautilus-navigation-window.h:
      	* src/nautilus-pathbar.c:
      	* src/nautilus-places-sidebar.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.c:
      	* src/file-manager/fm-tree-model.c:
      	* src/file-manager/fm-tree-view.c:
      
      	Use nautilus_get_home_directory_uri everywhere instead of
      	open coding it and other minor cleanups.
      fca9952a
  9. 19 Oct, 2006 1 commit
    • Christian Neumair's avatar
      Handle NULL pattern chit, don't unref pattern tile in make_pattern_chit. · 69ddc193
      Christian Neumair authored
      2006-10-19  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-customization-data.c:
      	(nautilus_customization_data_new),
      	(nautilus_customization_data_get_next_element),
      	(nautilus_customization_make_pattern_chit):
      	Handle NULL pattern chit, don't unref pattern tile in
      	make_pattern_chit.
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_pixmap_file):
      	Bail using g_debug if pixmap couldn't be found.
      
      	* src/nautilus-emblem-sidebar.c: (nautilus_emblem_sidebar_populate):
      	Only create pixmap if path lookup succeeded.
      
      	* src/nautilus-property-browser.c: (nautilus_property_browser_init),
      	(make_drag_image), (make_color_drag_image),
      	(make_properties_from_directories), (add_reset_property),
      	(property_browser_category_button_new):
      	Handle NULL pattern chits, don't operate on NULL pixbufs.
      69ddc193
  10. 23 Aug, 2006 1 commit
    • Alexander Larsson's avatar
      Cache return value from gnome_vfs_uri_is_local · 8caca851
      Alexander Larsson authored
      2006-08-23  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-directory-private.h:
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_is_local):
      	Cache return value from gnome_vfs_uri_is_local
      
      	* libnautilus-private/nautilus-file-operations.c:
      	* libnautilus-private/nautilus-file-utilities.c:
      	Avoid using gnome_vfs_uri_is_local.
      8caca851
  11. 27 Jul, 2006 1 commit
    • Christian Neumair's avatar
      Rename nautilus_drag_default_drop_action_for_url to · bef04d93
      Christian Neumair authored
      2006-07-25  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-dnd.c:
      	Rename nautilus_drag_default_drop_action_for_url to
      	nautilus_drag_default_drop_action_for_netscape_url.
      	Don't offer netscape URL drags.
      
      	* libnautilus-private/nautilus-dnd.h: Rename
      	NAUTILUS_ICON_DND_URL(_TYPE) to NAUTILUS_ICON_DND_NETSCAPE_URL(_TYPE)
      	and nautilus_drag_default_drop_action_for_url to
      	nautilus_drag_default_drop_action_for_netscape_url.
      
      	* libnautilus-private/nautilus-file-operations.c:
      	(nautilus_file_operations_new_file_from_template):
      	Filter out special URIs, handle gnome_vfs_uri_new() failure.
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(test_uri_exists), (nautilus_ensure_unique_file_name):
      	Handle gnome_vfs_uri_new() failure by returning NULL.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-container.h:
      	Rename HANDLE_URL signal to HANDLE_NETSCAPE_URL.
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-icon-dnd.h:
      	* libnautilus-private/nautilus-tree-view-drag-dest.c:
      	* libnautilus-private/nautilus-tree-view-drag-dest.h:
      	Don't offer netscape URL drags, prefer netscape URL drops over
      	"text/uri-list" drops. Also rename DND_URL symbols to DND_NETSCAPE_URL.
      
      	* libnautilus-private/nautilus-link-desktop-file.c:
      	(nautilus_link_desktop_file_local_create):
      	Handle trash, desktop and search URIs, handle
      	NULL retval of nautilus_ensure_unique_file_name.
      
      	* src/nautilus-location-bar.c:
      	* src/nautilus-spatial-window.c:
      	* src/file-manager/fm-list-model.c:
      	Don't offer/handle netscape URL drags.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view:
      	Rename DND_URL symbols to DND_NETSCAPE_URL.
      
      	Should fix #347673.
      bef04d93
  12. 08 Jul, 2006 1 commit
    • Christian Neumair's avatar
      Add nautilus_find_existing_uri_in_hierarchy. Remove undefined · 092c35cb
      Christian Neumair authored
      2006-07-08  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-file-utilities.h:
      	Add nautilus_find_existing_uri_in_hierarchy.
      	Remove undefined in_gnome_path helper declarations.
      
      	* src/nautilus-pathbar.c:
      	* src/nautilus-pathbar.h:
      	Make nautilus_path_bar_clear_buttons public.
      
      	* src/nautilus-window-manage-views.c: (viewed_file_changed_callback):
      	If the displayed location was removed, and it has an existing parent,
      	navigate window to this parent. Fixes #336724.
      092c35cb
  13. 24 May, 2006 1 commit
    • Christian Neumair's avatar
      Use gnome_vfs_volume_monitor_get_volume_for_path instead of · fa7d36c8
      Christian Neumair authored
      2006-05-24  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_file_operations_copy_move):
      	Use gnome_vfs_volume_monitor_get_volume_for_path instead of
      	nautilus_file_get_enclosing_volume.
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-file-utilities.h:
      	Remove nautilus_get_enclosing_volume.
      fa7d36c8
  14. 20 Mar, 2006 1 commit
    • Christian Neumair's avatar
      Speed up stock icon registration, as discussed on the mailing list: · bb783d13
      Christian Neumair authored
      2006-03-19  Christian Neumair  <chris@gnome-de.org>
      
      	* src/nautilus-main.c: (register_icons):
      	Speed up stock icon registration, as discussed on the mailing list:
      
      	http://mail.gnome.org/archives/nautilus-list/2006-March/msg00036.html
      
      	Also fixes #335158.
      
      	* src/nautilus-spatial-window.c: (action_add_bookmark_callback):
      	Don't add location bookmark for desktop windows. Fixes #334860.
      
      	* libnautilus-private/nautilus-file-operations.c:
      	(nautilus_file_operations_copy_move):
      	Check whether enclosing volume for any of the source files is
      	read-only, and set GNOME_VFS_XFER_TARGET_DEFAULT_PERMS in this case.
      	Fixes #167102.
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-file-utilities.h:
      	Add nautilus_get_enclosing_volume.
      bb783d13
  15. 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
  16. 12 Dec, 2005 1 commit
  17. 13 Jul, 2005 1 commit
  18. 23 Jun, 2005 1 commit
    • Alexander Larsson's avatar
      Patch from Jamie McCracken <jamiemcc@blueyonder.co.uk> · 199f10b4
      Alexander Larsson authored
      2005-06-23  Alexander Larsson  <alexl@redhat.com>
      
              Patch from Jamie McCracken <jamiemcc@blueyonder.co.uk>
      
      	* src/nautilus-bookmark-list.[ch]:
      	Share bookmarks with gtk+.
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	* src/nautilus-window.c: (real_get_title):
      	Move compute_default_title to nautilus_compute_title_for_uri.
      
      	* libnautilus-private/nautilus-bookmark.[ch]:
      	* src/nautilus-bookmarks-window.c:
      	Add has_custom_name boolean to NautilusBookmark
      
      	* src/Makefile.am:
      	* src/nautilus-bookmark-parsing.[ch]:
      	* src/nautilus-navigation-window-menus.c:
      	Remove no longer needed files nautilus-bookmark-parsing.[ch].
      199f10b4
  19. 11 May, 2005 1 commit
    • Christian Neumair's avatar
      Add translator comments. Fixes #46338, #46339, #46341. Change "Show Hidden · 3c6400db
      Christian Neumair authored
      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.
      3c6400db
  20. 31 Mar, 2005 1 commit
    • Kjartan Maraas's avatar
      Plug the leak. · d64d1c02
      Kjartan Maraas authored
      2005-03-31  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_get_uri_shortname_for_display): Plug the leak.
      d64d1c02
  21. 14 Jan, 2005 1 commit
    • Alexander Larsson's avatar
      New function nautilus_ensure_unique_file_name · 4553e1c8
      Alexander Larsson authored
      2005-01-14  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	New function nautilus_ensure_unique_file_name
      
      	* libnautilus-private/nautilus-link.[ch]:
      	* libnautilus-private/nautilus-link-desktop-file.[ch]:
      	Uniquify name for nautilus_link_local_create if requested.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_handle_url_drop):
      	Uniquify desktop link name
      
      	Patch from Jorn Baayen <jbaayen@gnome.org>
      4553e1c8
  22. 15 Dec, 2004 1 commit
    • Alexander Larsson's avatar
      Require glib 2.6.0 · a35db3f5
      Alexander Larsson authored
      2004-12-15  Alexander Larsson  <alexl@redhat.com>
      
      	* configure.in:
      	Require glib 2.6.0
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_get_uri_shortname_for_display):
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_get_display_name_nocopy):
      	Use g_filename_display_basename() for display names
      a35db3f5
  23. 28 Oct, 2004 1 commit
    • Alexander Larsson's avatar
      Use eel_get_filename_charset to handle the new filename charset env vars. · 1fd8052f
      Alexander Larsson authored
      2004-10-28  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_get_uri_shortname_for_display):
      	* libnautilus-private/nautilus-file-utilities.h:
      	* libnautilus-private/nautilus-file.c: (nautilus_file_rename),
      	(nautilus_file_get_display_name_nocopy):
      	* src/nautilus-location-entry.c: (try_to_expand_path):
      	Use eel_get_filename_charset to handle the new filename
      	charset env vars.
      1fd8052f
  24. 11 Oct, 2004 1 commit
  25. 29 Jul, 2004 1 commit
    • Bastien Nocera's avatar
      change the name "CD Creator" to "CD/DVD Creator" following changes in · 22d82d15
      Bastien Nocera authored
      2004-07-29  Bastien Nocera  <hadess@hadess.net>
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_get_vfs_method_display_name):
      	* src/nautilus-navigation-window-ui.xml:
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-spatial-window-ui.xml: change the name "CD Creator" to
      	"CD/DVD Creator" following changes in nautilus-cd-burner
      22d82d15
  26. 21 Jun, 2004 1 commit
    • Alexander Larsson's avatar
      Based on patch by Jamie McCracken <jamiemcc@blueyonder.co.uk> · 4b2c8c84
      Alexander Larsson authored
      2004-06-21  Alexander Larsson  <alexl@redhat.com>
      
              Based on patch by Jamie McCracken <jamiemcc@blueyonder.co.uk>
      
      	* libnautilus-private/nautilus-metadata.h:
      	Add show hidden files metadata name
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.[ch]:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-tree-view.c:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/nautilus-spatial-window.[ch]:
      	* src/nautilus-view-frame-corba.c:
      	* src/nautilus-view-frame.[ch]:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.[ch]:
      	Add per-window show hidden files setting, saved per folder
      	in spatial mode.
      
      2004-06-21  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-utilities.c (nautilus_get_vfs_method_display_name):
      	Handle dns-sd name
      4b2c8c84
  27. 13 Feb, 2004 1 commit
    • Alexander Larsson's avatar
      New functions · bcb03985
      Alexander Larsson authored
      2004-02-13  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	(nautilus_have_broken_filenames),
      	(nautilus_get_uri_shortname_for_display):
      	New functions
      
      	* libnautilus-private/nautilus-file.c:
      	Use the public nautilus_have_broken_filenames instead of private copy
      	Make display names for toplevel uris better.
      
      	* src/nautilus-location-entry.c: (try_to_expand_path):
      	Use the public nautilus_have_broken_filenames instead of private copy
      
      	* src/nautilus-spatial-window.c:
      	(location_button_clicked_callback),
      	(nautilus_spatial_window_set_location_button):
      	Use nautilus_get_uri_shortname_for_display()
      
      	* src/nautilus-window.c: (compute_default_title):
      	Special casing toplevel stuff not needed, since this is
      	handled by the display name change.
      bcb03985
  28. 15 Jan, 2004 1 commit
  29. 07 Jan, 2004 1 commit
    • Alexander Larsson's avatar
      New funciton · b728ba92
      Alexander Larsson authored
      2004-01-07  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	(nautilus_get_vfs_method_display_name): New funciton
      
      	* src/nautilus-window.c:
      	Use nautilus_get_vfs_method_display_name to set
      	the title
      
      	* libnautilus-private/nautilus-icon-container.c:
      	Remove tab icon navigation. Makes normal keynav work.
      
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-spatial-window.[ch]:
      	* src/nautilus-window-manage-views.c:
      	Add location button menu to spatial windows.
      b728ba92
  30. 12 Dec, 2003 1 commit
    • Alexander Larsson's avatar
      New function nautilus_file_operations_new_file. · 00b39e06
      Alexander Larsson authored
      2003-12-12  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-operations.[ch]:
      	New function nautilus_file_operations_new_file.
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	New template directory functions
      
      	* src/nautilus-navigation-window-ui.xml:
      	* src/nautilus-spatial-window-ui.xml:
      	* src/nautilus-window-menus.c:
      	Add Templates in location menu
      
      	* src/file-manager/fm-directory-view.[ch]:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	Implement the templates menu.
      	Fix issue that affected create new folder too,
      	sometimes the file has already been added before
      	we get the done callback.
      00b39e06
  31. 29 Aug, 2003 1 commit
    • Alexander Larsson's avatar
      Don't set theme if model is NULL. · c3a49b83
      Alexander Larsson authored
      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.
      c3a49b83
  32. 08 Jul, 2003 1 commit
    • Alexander Larsson's avatar
      Skip assert for commonly run code. · e3621330
      Alexander Larsson authored
      2003-07-08  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-directory-async.c: (is_needy):
      	Skip assert for commonly run code.
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	(desktop_dir_changed_callback),
      	(nautilus_is_desktop_directory_escaped):
      	New function nautilus_is_desktop_directory_escaped to handle
      	faster check if file is desktop dir.
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_info_missing), (compare_by_display_name),
      	(file_is_desktop), (nautilus_file_get_display_name_collation_key),
      	(nautilus_file_get_display_name_nocopy),
      	(nautilus_file_get_file_type):
      	Some micro-optimizations. Faster file_is_desktop
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_invalidate_bounds_cache),
      	(nautilus_icon_canvas_item_invalidate_label_size),
      	(nautilus_icon_canvas_item_set_image),
      	(nautilus_icon_canvas_item_set_emblems),
      	(nautilus_icon_canvas_item_set_attach_points),
      	(nautilus_icon_canvas_item_set_embedded_text_rect),
      	(nautilus_icon_canvas_item_bounds):
      	Cache bounds calculation. Invalidate when needed.
      e3621330
  33. 16 May, 2003 1 commit
    • Dave Camp's avatar
      Add the desktop emblem. New functions. (nautilus_get_desktop_directory), · 868dae3d
      Dave Camp authored
      2003-05-16  Dave Camp  <dave@ximian.com>
      
      	* libnautilus-private/nautilus-emblem-utils.c:
      	(is_reserved_keyword), (nautilus_emblem_should_show_in_list):  Add
      	the desktop emblem.
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_get_desktop_directory_uri_no_create):
      	(get_desktop_path): New functions.
      	(nautilus_get_desktop_directory),
      	(nautilus_get_desktop_directory_uri): Use get_desktop_path()
      	* libnautilus-private/nautilus-file-utilities.h:
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-file.c: (file_is_desktop),
      	(get_automatic_emblems_as_integer),
      	(prepend_automatic_emblem_names): Add a desktop emblem to the
      	desktop directory.
      868dae3d
  34. 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
  35. 08 Jul, 2002 1 commit
    • Gregory Merchan's avatar
      Modified Files: ChangeLog components/music/nautilus-music-view.c · 192f597c
      Gregory Merchan authored
      
      Modified Files:
      	ChangeLog components/music/nautilus-music-view.c
      	components/news/nautilus-news.c
      	libnautilus-private/nautilus-customization-data.c
      	libnautilus-private/nautilus-directory-async.c
      	libnautilus-private/nautilus-file-utilities.c
      	libnautilus-private/nautilus-file-utilities.h
      	libnautilus-private/nautilus-find-icon-image.c
      	libnautilus-private/nautilus-icon-factory.c
      	libnautilus-private/nautilus-link-historical.c
      	libnautilus-private/nautilus-theme.c
      	src/nautilus-application.c src/nautilus-bookmark-list.c
      	src/nautilus-first-time-druid.c
      	src/nautilus-property-browser.c src/nautilus-window-menus.c
      	src/file-manager/fm-desktop-icon-view.c
      Removed nautilus_make_path and calls to it. Fixes bug #42424
      192f597c
  36. 09 May, 2002 1 commit
    • Alexander Larsson's avatar
      Remove public metadata · 54362078
      Alexander Larsson authored
      2002-05-08  Alex Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/apps_nautilus_preferences.schemas:
      	* 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-global-preferences.c:
      	* libnautilus-private/nautilus-global-preferences.h:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-metafile.h:
      	* libnautilus-private/nautilus-thumbnails.c:
      	* libnautilus-private/nautilus-vfs-directory.c:
      	* src/nautilus-preferences-dialog.c:
      	Remove public metadata
      54362078
  37. 19 Apr, 2002 1 commit
    • Anders Carlsson's avatar
      Fix profiler CFLAGS. · d813d0fc
      Anders Carlsson authored
      2002-04-20  Anders Carlsson  <andersca@gnu.org>
      
      	* configure.in:
      	Fix profiler CFLAGS.
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-file-utilities.h:
      	Remove time stamp and build message functions.
      	* src/nautilus-profiler.c: (widget_set_busy_cursor),
      	(dump_dialog_new):
      	Remove deprecated functions.
      
      	* src/nautilus-window-manage-views.c: (update_title):
      	Remove time stamp in title.
      
      	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
      	Remove unused build_message variable.
      
      	* src/nautilus-window.c: (nautilus_window_instance_init):
      	Set initial title to "Nautilus". Fixes #74627.
      d813d0fc
  38. 19 Feb, 2002 1 commit
    • Michael Meeks's avatar
      setup both the rgba and GdkColor variants. (update_label_color): upd. · b99fa350
      Michael Meeks authored
      2002-02-17  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_theme_changed): setup both
      	the rgba and GdkColor variants.
      	(update_label_color): upd. color handling.
      	(alloc_colors): allocate the colors on realize
      
      2002-02-15  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_get_label_color): return
      	the colors we need, grab them from the style's text
      	information though.
      
      2002-02-14  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(nautilus_icon_canvas_item_get_property),
      	(nautilus_icon_canvas_item_set_property): port to
      	properties.
      	(draw_or_measure_label_text): update color handling,
      	could we re-use the gc here ?
      	(draw_stretch_handles): upd gc unref.
      	(nautilus_icon_canvas_item_class_init): upd.
      
      	* libnautilus-private/nautilus-theme.c
      	(nautilus_pixmap_file_may_be_local),
      	(nautilus_theme_install_user_theme),
      	(nautilus_theme_make_preview_pixbuf),
      	(theme_get_property),
      	(load_theme_document): upd. file tests.
      
      	* libnautilus-private/nautilus-monitor.c
      	(get_event_uri): use g_build_filename.
      
      	* libnautilus-private/nautilus-find-icon-image.c
      	(get_user_emblem_path, make_full_icon_path),
      	(make_full_icon_path): upd. file test.
      
      	* libnautilus-private/nautilus-file-utilities.c
      	(nautilus_pixmap_file),
      	(nautilus_get_data_file_path),
      	(nautilus_get_user_directory),
      	(nautilus_get_desktop_directory): upd. file tests.
      
      	* libnautilus-private/nautilus-directory-metafile.c
      	(nautilus_directory_get_boolean_file_metadata): use
      	strcasecmp not ascii_strdown to save yet more malloc
      	locking penalty.
      
      	* libnautilus-private/nautilus-directory-background.c
      	(nautilus_file_background_receive_root_window_changes),
      	(desktop_background_destroyed_callback): upd. root
      	window macro.
      	(nautilus_connect_background_to_file_metadata),
      	(initialize_background_from_settings),
      	(image_loading_done_callback): upd g_signal bits.
      
      	* libnautilus-private/nautilus-volume-monitor.c
      	(nautilus_volume_monitor_class_init): upd file test.
      
      	* libnautilus-private/nautilus-undo-signal-handlers.c
      	(nautilus_undo_tear_down_nautilus_entry_for_undo): upd.
      
      	* libnautilus-private/nautilus-undo-manager.c
      	(nautilus_undo_manager_class_init): upd. signal bits.
      
      	* libnautilus-private/nautilus-trash-monitor.c
      	(nautilus_trash_monitor_class_init): g_cclosureize.
      	(nautilus_trash_monitor_init): g_signal upds.
      
      	* libnautilus-private/nautilus-trash-file.c
      	(trash_destroy, nautilus_trash_file_init),
      	(remove_real_file): upd. g_signal bits.
      
      	* libnautilus-private/nautilus-trash-directory.c
      	(nautilus_trash_directory_init): upd. signal connect.
      	(trash_destroy): upd. signal bits.
      
      	* libnautilus-private/nautilus-program-choosing.c
      	(get_xalf_prefix): upd. find_program_in_path.
      
      	* libnautilus-private/nautilus-program-chooser.c
      	(nautilus_program_chooser_init): upd. window policy
      
      	* libnautilus-private/nautilus-merged-directory.c
      	(merged_remove_real_directory): upd. g_signal.
      	(nautilus_merged_directory_class_init): upd. g_closure
      
      	* libnautilus-private/nautilus-link-desktop-file.c
      	(nautilus_link_desktop_file_get_link_icon_from_desktop):
      	upd. pixmap location.
      
      	* libnautilus-private/nautilus-icon-factory.c
      	(nautilus_icon_factory_class_init): upd. marshallers
      	(is_theme_in_user_directory): upd. file test.
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(auto_scroll_timeout_callback): do a queue_draw_area
      	instead of a widget_draw.
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_init),
      	(set_pending_icon_to_reveal): g_signal updates.
      	(nautilus_icon_container_new): remove visual
      	push/pop.
      
      	* libnautilus-private/nautilus-file.c
      	(nautilus_file_fit_date_as_string): upd. julian date get.
      	(nautilus_file_class_init): upd. marshallers.
      
      	* libnautilus-private/nautilus-file-operations.c
      	(extract_and_ellipsize_file_name_for_dialog): use
      	get_basename.
      	(nautilus_file_operations_copy_move): use gtk stock.
      
      
      	* libnautilus-private/nautilus-file-operations-progress.c
      	(nautilus_file_operations_progress_update): use
      	progress_bar_set_fraction.
      	(nautilus_file_operations_progress_init): prune
      	progress setup - these are the defaults.
      
      	* libnautilus-private/nautilus-entry.c
      	(nautilus_entry_key_press): upd select_region.
      
      	* libnautilus-private/nautilus-drag-window.c
      	(get_ancestor_blocked_by): upd type_is_a.
      
      	* libnautilus-private/nautilus-dnd.c
      	(nautilus_drag_finalize),
      	(nautilus_drag_init): g_object ref upd.
      
      	* libnautilus-private/nautilus-directory.c
      	(nautilus_directory_class_init): marshaller upd..
      	(nautilus_directory_schedule_metadata_remove),
      	(nautilus_directory_schedule_metadata_copy),
      	(nautilus_directory_schedule_metadata_move):
      	basename upd.
      
      	* libnautilus-private/nautilus-directory-background.c
      	(desktop_background_realized): g_signal upd.
      	(theme_image_path_to_uri): file test upd.
      	(image_loading_done_callback): object unref on gc & pixmap.
      	(background_changed_callback): g_signal upd.
      
      	* libnautilus-private/nautilus-bookmark.c
      	(nautilus_bookmark_disconnect_file): g_signal upd.
      	(nautilus_bookmark_uri_known_not_to_exist): upd
      	file test.
      
      	* libnautilus-private/nautilus-authn-manager.c
      	(authentication_dialog_button_clicked): use
      	GTK_RESPONSE_OK
      
      	* libnautilus-private/Makefile.am: add deprc.
      	CFLAGS.
      
      	* libnautilus/Makefile.am: ditto.
      
      	* configure.in (DISABLE_DEPRECATED_CFLAGS): add.
      
      2002-02-13  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(nautilus_icon_container_free_drag_data):
      	re-enterancy protection.
      b99fa350
  39. 08 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove e-paned. · bc8ad1bf
      Darin Adler authored
      	* configure.in:
      	* cut-n-paste-code/widgets/Makefile.am:
      	* cut-n-paste-code/widgets/e-paned:
      	* libnautilus-private/Makefile.am:
      	* libnautilus-private/nautilus-horizontal-splitter.c:
      	* libnautilus-private/nautilus-horizontal-splitter.h:
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_set_content_view_widget),
      	(nautilus_window_hide_sidebar), (nautilus_window_show_sidebar),
      	(nautilus_window_sidebar_showing):
      	Remove e-paned.
      
      	* configure.in:
      	* data/Makefile.am:
      	* data/linksets/
      	* libnautilus-private/Makefile.am:
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-link-set.c:
      	* libnautilus-private/nautilus-link-set.h:
      	* src/Makefile.am:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-link-set-window.h:
      	* src/nautilus-sidebar.c: (metadata_button_callback):
      	Remove link sets.
      
      	* libnautilus-private/nautilus-program-chooser.c:
      	(launch_mime_capplet_on_ok),
      	(launch_mime_capplet_and_close_dialog):
      	* src/nautilus-window-menus.c: (forget_history_if_yes),
      	(remove_bookmarks_for_uri_if_yes):
      	Destroy dialogs when done, since GtkDialog doesn't do this for us.
      
      	* src/nautilus-preferences-dialog.c: (preferences_dialog_create):
      	Get rid of close signal handler, since default close handler does
      	the same thing as a delete_event, which is what we want. We still
      	might have to do something fancier on a delete_event.
      bc8ad1bf