1. 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
  2. 14 May, 2003 1 commit
  3. 12 May, 2003 1 commit
  4. 08 May, 2003 1 commit
  5. 07 May, 2003 1 commit
  6. 06 May, 2003 4 commits
  7. 05 May, 2003 8 commits
  8. 04 May, 2003 2 commits
  9. 03 May, 2003 2 commits
    • Dave Camp's avatar
      Implemented a "Keep Aligned" mode on the desktop, that snaps icons to a · 3bb16943
      Dave Camp authored
      2003-05-03  Dave Camp  <dave@ximian.com>
      
      	* libnautilus-private/nautilus-icon-container.c: (icon_set_size),
      	(icon_toggle_selected), (snap_position),
      	(compare_icons_by_position), (placement_grid_new),
      	(placement_grid_free), (placement_grid_position_is_free),
      	(placement_grid_mark), (canvas_position_to_grid_position),
      	(placement_grid_mark_icon), (find_empty_location), (align_icons),
      	(lay_down_icons_tblr), (nautilus_icon_container_move_icon),
      	(destroy), (update_stretch_at_idle), (undo_stretching),
      	(nautilus_icon_container_unstretch),
      	(nautilus_icon_container_is_keep_aligned), (align_icons_callback),
      	(unschedule_align_icons), (schedule_align_icons),
      	(nautilus_icon_container_set_keep_aligned):
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-dnd.c: (handle_local_move):
      	* libnautilus-private/nautilus-icon-private.h:
      	* libnautilus-private/nautilus-metadata.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_class_init), (real_supports_auto_layout),
      	(real_supports_keep_aligned):
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_supports_keep_aligned), (update_layout_menus),
      	(get_default_directory_keep_aligned),
      	(fm_icon_view_get_directory_keep_aligned),
      	(fm_icon_view_set_directory_keep_aligned),
      	(real_supports_keep_aligned), (fm_icon_view_begin_loading),
      	(keep_aligned_state_changed_callback), (fm_icon_view_merge_menus),
      	(fm_icon_view_reset_to_defaults), (fm_icon_view_class_init):
      	* src/file-manager/fm-icon-view.h:
      	* src/file-manager/nautilus-icon-view-ui.xml:
      	Implemented a "Keep Aligned" mode on the desktop, that snaps icons
      	to a grid.
      3bb16943
    • Masahiro Sakai's avatar
      Call AC_LIBTOOL_WIN32_DLL which is necessary for building shared library · 2dbe9bfa
      Masahiro Sakai authored
      
      2003-05-03  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>
      
      	* configure.in: Call AC_LIBTOOL_WIN32_DLL which is necessary for
      	building shared library on win32 platform. Check fstab.h.
      
      	* components/emblem/Makefile.am (libnautilus_emblem_view_la_LDFLAGS):
      	* components/history/Makefile.am (libnautilus_history_view_la_LDFLAGS):
      	* components/image_properties/Makefile.am (libnautilus_image_properties_view_la_LDFLAGS):
      	* components/notes/Makefile.am (libnautilus_notes_view_la_LDFLAGS):
      	* components/tree/Makefile.am (libnautilus_tree_view_la_LDFLAGS):
      	* libnautilus/Makefile.am (libnautilus_la_LDFLAGS):
      	* libnautilus-adapter/Makefile.am (libnautilus_adapter_la_LDFLAGS):
      	* libnautilus-private/Makefile.am (libnautilus_private_la_LDFLAGS):
      	Add -no-undefined which is necessary for building shared library
      	on some platforms (e.g. Win32, BeOS, etc).
      
      	* libnautilus-adapter/Makefile.am (libnautilus_adapter_la_LIBADD):
      	Fix library order. libnautilus.la should be ahead of other libraries
      	that libnautilus.la depends on.
      
      	* libnautilus-private/nautilus-volume-monitor.c:
      	Include fstab.h conditionaly.
      	Define MOUNT_TABLE_PATH as MOUNTED on cygwin.
      	(get_removable_volumes, volume_is_removable, get_mount_list) Use
      	endmntent() to close a file opened by setmntent(). Because using
      	fclose() causes a crash on cygwin.
      2dbe9bfa
  10. 02 May, 2003 1 commit
  11. 30 Apr, 2003 1 commit
  12. 29 Apr, 2003 3 commits
  13. 28 Apr, 2003 1 commit
    • Alexander Larsson's avatar
      Based on a patch by Frank Worsley <fworsley@shaw.ca> · 9de4bf44
      Alexander Larsson authored
      2003-04-28  Alexander Larsson  <alexl@redhat.com>
      
      	Based on a patch by Frank Worsley <fworsley@shaw.ca>
      
      	* libnautilus-private/nautilus-program-chooser.[ch]:
      	(nautilus_program_chooser_show_no_choices_message),
      	(nautilus_program_chooser_show_invalid_message):
      	Added the term 'action' to the dialogs when there is
      	no default application or component.
      
      	* libnautilus-private/nautilus-program-choosing.[ch]:
      	(application_cannot_open_location), (nautilus_launch_show_file),
      	(nautilus_launch_action), (nautilus_launch_application):
      	Updated to use the new gnome-vfs functions and error codes.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_launch_application), (activate_callback),
      	(activate_activation_uri_ready_callback),
      	(cancel_activate_callback), (fm_directory_view_activate_file):
      	Cleaned up to properly support the new gnome-vfs functionality
      	and an external component viewer. Also fixed to get activation uri
      	for a file and then retrieve properties for the activation uri
      	not the file that was clicked (fixes #42391).
      9de4bf44
  14. 27 Apr, 2003 1 commit
  15. 25 Apr, 2003 1 commit
    • Michael Meeks's avatar
      add some pre-conditions. · 18f4560c
      Michael Meeks authored
      2003-04-25  Michael Meeks  <michael@ximian.com>
      
              * src/nautilus-view-frame.c (nautilus_view_frame_get_first_visible_file),
              (nautilus_view_frame_scroll_to_file): add some pre-conditions.
      18f4560c
  16. 23 Apr, 2003 8 commits
    • Dave Camp's avatar
      Modify emblems on the original_file, not the target_file. · 9c7687da
      Dave Camp authored
      2003-04-23  Dave Camp  <dave@ximian.com>
      
      	* src/file-manager/fm-properties-window.c: (create_emblems_page):
      	Modify emblems on the original_file, not the target_file.
      9c7687da
    • Alexander Larsson's avatar
      Bring up context menu is Ctrl-F10, not Shift-F9 · e8aa1cbb
      Alexander Larsson authored
      2003-04-23  Alexander Larsson  <alexl@redhat.com>
      
      	* src/file-manager/fm-list-view.c (key_press_callback):
      	* libnautilus-private/nautilus-icon-container.c (key_press_event):
      	* docs/key_mouse_navigation.txt (Keyboard):
      	Bring up context menu is Ctrl-F10, not Shift-F9
      e8aa1cbb
    • Glynn Foster's avatar
      Add navigation to the bookmarks editor and changed UI to be more inline · e2543b16
      Glynn Foster authored
      2003-04-23  Glynn Foster  <glynn.foster@sun.com>
      
      	* src/nautilus-bookmarks-window.c:
      	(nautilus_bookmarks_window_response_callback),
      	(create_bookmarks_window), (go_to_selected_bookmark),
      	(on_jump_button_clicked), (on_row_activated),
      	(on_selection_changed), (repopulate):
      	* src/nautilus-bookmarks-window.glade: Add navigation to the bookmarks
      	editor and changed UI to be more inline with the Epiphany bookmarks
      	dialog. Fixes bug #47180.
      e2543b16
    • Alexander Larsson's avatar
      Check for file: instead of is_local when verifying a volume desktop file · a389a2e0
      Alexander Larsson authored
      2003-04-23  Alexander Larsson  <alexl@redhat.com>
      
      	* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
      	Check for file: instead of is_local when verifying a volume desktop file
      	is ok. Fixes bug #98306.
      a389a2e0
    • Alexander Larsson's avatar
      Patch from Michael Meeks in bug #87414. · e807263d
      Alexander Larsson authored
      2003-04-23  Alexander Larsson  <alexl@redhat.com>
      
      	Patch from Michael Meeks in bug #87414.
      
      	* src/nautilus-window.c (nautilus_window_finalize):
      	NULL various pointers to help debugging.
      	(nautilus_window_ui_thaw, nautilus_window_ui_freeze):
      	hold a reference on the window over the various
      	re-enterancy points guarded by the freeze / thaw.
      e807263d
    • Alexander Larsson's avatar
      Add schemas.in file. · 7b8da86b
      Alexander Larsson authored
      2003-04-23  Alexander Larsson  <alexl@redhat.com>
      
      	* POTFILES.in:
      	Add schemas.in file.
      
      2003-04-23  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/Makefile.am:
      	* libnautilus-private/apps_nautilus_preferences.schemas:
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	Mark schema for translation.
      7b8da86b
    • Alexander Larsson's avatar
      Do a zoom to 100%, not a best-fit. Fixes bug #109413, patch by Jens Finke. · 72090270
      Alexander Larsson authored
      2003-04-23  Alexander Larsson  <alexl@redhat.com>
      
      	* src/nautilus-window-menus.c (view_menu_zoom_normal_callback):
      	Do a zoom to 100%, not a best-fit.
      	Fixes bug #109413, patch by Jens Finke.
      72090270
    • Alexander Larsson's avatar
      AIX port from Laurent.Vivier@bull.net (Laurent Vivier) · 3e0d21df
      Alexander Larsson authored
      2003-04-23  Alexander Larsson  <alexl@redhat.com>
      
              AIX port from Laurent.Vivier@bull.net (Laurent Vivier)
      
      	* configure.in:
      	Look for popt and some aix headers
      
      	* components/hardware/Nautilus_View_hardware.server.in.in:
      	Fix up LIBEXECDIR reference
      
      	* components/history/nautilus-history-view.c:
      	* components/notes/nautilus-notes.c:
      	* components/throbber/nautilus-throbber.c:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-program-chooser.c:
      	* libnautilus-private/nautilus-volume-monitor.h:
      	* src/nautilus-applicable-views.h:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-sidebar-title.c:
      	* src/file-manager/fm-directory-view.c:
      	* test/test-nautilus-preferences-change.c: (main):
      	* test/test.c: (test_quit):
      	Fix c++ comments and commas at end of enums.
      	Move math.h includes to top.
      
      	* data/Makefile.am:
      	Remove duplicate definitions
      
      	* libnautilus-adapter/Makefile.am:
      	* libnautilus-private/Makefile.am:
      	* libnautilus/Makefile.am:
      	Add correct libs
      
      	* libnautilus-private/nautilus-file-private.h:
      	Bitfields can't be enums.
      
      	* libnautilus-private/nautilus-volume-monitor.c:
      	Implement AIX support.
      
      	* src/Makefile.am:
      	Add POPT_FLAGS
      3e0d21df
  17. 22 Apr, 2003 1 commit
  18. 16 Apr, 2003 2 commits
    • Alexander Larsson's avatar
      Add the nautilus-cd-burner integration patch from RH. · af26751c
      Alexander Larsson authored
      2003-04-16  Alexander Larsson  <alexl@redhat.com>
      
      	* src/nautilus-information-panel.c: (burn_cd_callback),
      	(nautilus_information_panel_update_buttons):
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-window-manage-views.c: (update_burn_cd_items),
      	(update_for_new_location):
      	* src/nautilus-window-menus.c: (file_menu_burn_cd_callback),
      	(go_menu_go_to_burn_cd_callback),
      	(nautilus_window_initialize_menus_part_1):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_allow_reload), (nautilus_window_allow_burn_cd):
      	* src/nautilus-window.h:
      	Add the nautilus-cd-burner integration patch from RH.
      af26751c
    • Alexander Larsson's avatar
      Remove old files · bf73f13e
      Alexander Larsson authored
      2003-04-16  Alexander Larsson  <alexl@redhat.com>
      
      	* cut-n-paste-code/libegg/Makefile.am:
      	* cut-n-paste-code/libegg/egg-recent-vfs-util.c:
      	* cut-n-paste-code/libegg/egg-recent-vfs-util.h:
      	Remove old files
      
      	* cut-n-paste-code/libegg/egg-recent-item.c:
      	(egg_recent_item_set_uri), (egg_recent_item_get_uri_for_display):
      	* cut-n-paste-code/libegg/egg-recent-model.c:
      	(egg_recent_model_update_item), (egg_recent_model_filter),
      	(egg_recent_model_read), (egg_recent_model_add_full),
      	(egg_recent_model_get_list), (egg_recent_model_changed):
      	* cut-n-paste-code/libegg/egg-screen-exec.c:
      	(egg_screen_exec_environment),
      	(egg_screen_execute_command_line_async):
      
      	Update libegg stuff.
      	Among other stuff this makes nautilus scripts execute in the
      	right directory.
      bf73f13e