2001-06-06 Darin Adler * NEWS: Made a list of changes since 1.0.3 to get ready for the 1.0.4 release. 2001-06-06 Darin Adler * components/music/nautilus-music-view.c: (play_current_file): * libnautilus-private/nautilus-icon-factory.c: (get_cache_time): * src/nautilus-window-menus.c: (get_static_bookmarks_file_path): Oops, a few of my changes were still in the editor. More places where we should follow links. 2001-06-06 Darin Adler Frederic Devernay pointed out that the icon factory wasn't following links. I found similar problems elsewhere. * components/music/nautilus-music-view.c: (nautilus_music_view_update): * libnautilus-private/nautilus-customization-data.c: (nautilus_customization_data_new), (nautilus_customization_data_get_next_element_for_display): * libnautilus-private/nautilus-icon-factory.c: (path_represents_svg_image): * libnautilus-private/nautilus-metafile.c: (metafile_read_check_for_directory): * libnautilus-private/nautilus-thumbnails.c: (first_file_more_recent): * src/nautilus-link-set-window.c: (get_link_set_names), (nautilus_link_set_configure_window): * src/nautilus-property-browser.c: (ensure_uri_is_image): Updated all places where we were using the gnome-vfs file info calls and not following links. 2001-06-03 Seth Nickell Added Ben FrantzDale's revisions of the classic GNOME theme as well as his slightly revised classic icons for mime types (where they replace something that wasn't modified since GMC). Basically these add drop shadows and some higher resolution versions, as well as an attractive sidebar. I've made some alterations to his theme to make it sit better with our original and added the build stuff. * configure.in: Update configure.in to add a Makefile for the new sidebar tabs directory in the GNOME theme. * icons/gnome-application-encapsulated_postscript.png: * icons/gnome-application-pdf-192.png: * icons/gnome-application-pdf.png: * icons/gnome-application-pgp-192.png: * icons/gnome-application-pgp.png: * icons/gnome-application-postscript-192.png: * icons/gnome-application-postscript-72.png: * icons/gnome-application-postscript-96.png: * icons/gnome-application-postscript.png: * icons/gnome-application-x-c-header.png: * icons/gnome-application-x-c-source.png: * icons/gnome-application-x-cc-source.png: * icons/gnome-application-x-e-theme.png: * icons/gnome-application-x-generic-spreadsheet.png: * icons/gnome-application-x-gnome-app-info.png: * icons/gnome-application-x-java-source.png: * icons/gnome-application-x-kde-app-info.png: * icons/gnome-application-x-php.png: * icons/gnome-application-x-reject.png: * icons/gnome-application-x-scheme-source.png: * icons/gnome-application-x-sql.png: * icons/gnome-audio-basic.png: * icons/gnome-audio-midi.png: * icons/gnome-audio-ulaw.png: * icons/gnome-audio-x-aiff.png: * icons/gnome-audio-x-mod-192.png: * icons/gnome-audio-x-mod.png: * icons/gnome-audio-x-mp3-192.png: * icons/gnome-audio-x-mp3.png: * icons/gnome-audio-x-ogg-192.png: * icons/gnome-audio-x-ogg.png: * icons/gnome-audio-x-pn-realaudio.png: * icons/gnome-audio-x-real-192.png: * icons/gnome-audio-x-s3m-192.png: * icons/gnome-audio-x-s3m.png: * icons/gnome-audio-x-stm-192.png: * icons/gnome-audio-x-stm.png: * icons/gnome-audio-x-voc.png: * icons/gnome-audio-x-wav.png: * icons/gnome-audio-x-xi-192.png: * icons/gnome-audio-x-xi.png: * icons/gnome-audio-x-xm.png: * icons/gnome-compressed-192.png: * icons/gnome-compressed.png: * icons/gnome-core.png: * icons/gnome-emacs-192.png: * icons/gnome-font-afm.png: * icons/gnome-font-ttf.png: * icons/gnome-font-x-pcf.png: * icons/gnome-http-url.png: * icons/gnome-image-bmp.png: * icons/gnome-image-generic.png: * icons/gnome-image-gif.png: * icons/gnome-image-ief.png: * icons/gnome-image-jpeg.png: * icons/gnome-image-pbm.png: * icons/gnome-image-pgm.png: * icons/gnome-image-png.png: * icons/gnome-image-pnm.png: * icons/gnome-image-ppm.png: * icons/gnome-image-psd.png: * icons/gnome-image-ras.png: * icons/gnome-image-rgb.png: * icons/gnome-image-tga.png: * icons/gnome-image-tiff.png: * icons/gnome-image-x-xfig.png: * icons/gnome-image-xbm.png: * icons/gnome-image-xcf.png: * icons/gnome-image-xpm.png: * icons/gnome-image-xwd.png: * icons/gnome-library.png: * icons/gnome-manpage.png: * icons/gnome-objectfile.png: * icons/gnome-pack-deb.png: * icons/gnome-pack-rpm.png: * icons/gnome-package.png: * icons/gnome-tex-192.png: * icons/gnome-tex.png: * icons/gnome-text-html-192.png: * icons/gnome-text-html.png: * icons/gnome-text-x-authors.png: * icons/gnome-text-x-copying.png: * icons/gnome-text-x-credits.png: * icons/gnome-text-x-install.png: * icons/gnome-text-x-makefile-192.png: * icons/gnome-text-x-makefile.png: * icons/gnome-text-x-readme.png: * icons/gnome-textfile.png: * icons/gnome-video-mpeg.png: * icons/gnome-video-quicktime.png: * icons/gnome-video-x-msvideo.png: * icons/gnome-word-192.png: Ben's revisions of classic mime type icons that we didn't modify (basically he added alpha blended drop shadows), and some high res versions. * icons/gnome/Makefile.am: * icons/gnome/application-x-e-cfg.png: * icons/gnome/audio-192.png: * icons/gnome/emblem-nowrite-72.png: * icons/gnome/emblem-nowrite-96.png: * icons/gnome/emblem-nowrite.png: * icons/gnome/gnome.xml: * icons/gnome/i-core.png: * icons/gnome/i-dirclosed.png: * icons/gnome/i-directory-12-aa.png: * icons/gnome/i-directory-192-aa.png: * icons/gnome/i-directory-20-aa.png: * icons/gnome/i-directory-20.png: * icons/gnome/i-directory-24-aa.png: * icons/gnome/i-directory-36-aa.png: * icons/gnome/i-directory-72-aa.png: * icons/gnome/i-directory-96-aa.png: * icons/gnome/i-directory-aa.png: * icons/gnome/i-directory-accept-12-aa.png: * icons/gnome/i-directory-accept-12.png: * icons/gnome/i-directory-accept-192-aa.png: * icons/gnome/i-directory-accept-192.png: * icons/gnome/i-directory-accept-20-aa.png: * icons/gnome/i-directory-accept-20.png: * icons/gnome/i-directory-accept-24-aa.png: * icons/gnome/i-directory-accept-24.png: * icons/gnome/i-directory-accept-36-aa.png: * icons/gnome/i-directory-accept-36.png: * icons/gnome/i-directory-accept-72-aa.png: * icons/gnome/i-directory-accept-72.png: * icons/gnome/i-directory-accept-96-aa.png: * icons/gnome/i-directory-accept-96.png: * icons/gnome/i-directory-accept-aa.png: * icons/gnome/i-directory-accept.png: * icons/gnome/i-executable.png: * icons/gnome/i-music-192.png: * icons/gnome/i-music.png: * icons/gnome/i-nfs.png: * icons/gnome/i-regular-12.png: * icons/gnome/i-regular-192.png: * icons/gnome/i-regular-24.png: * icons/gnome/i-regular-36.png: * icons/gnome/i-regular-72.png: * icons/gnome/i-regular-96-aa.png: * icons/gnome/i-regular.png: * icons/gnome/i-regular.xml: * icons/gnome/i-stalled.png: * icons/gnome/linux-penguin.png: * icons/gnome/rpm-directory.png: * icons/gnome/sidebar_tab_pieces/.cvsignore: * icons/gnome/sidebar_tab_pieces/Makefile.am: * icons/gnome/sidebar_tab_pieces/fill-active-prelight.png: * icons/gnome/sidebar_tab_pieces/fill-active.png: * icons/gnome/sidebar_tab_pieces/fill-empty-space.png: * icons/gnome/sidebar_tab_pieces/fill-prelight.png: * icons/gnome/sidebar_tab_pieces/fill.png: * icons/gnome/sidebar_tab_pieces/left-bumper-active-prelight.png: * icons/gnome/sidebar_tab_pieces/left-bumper-active.png: * icons/gnome/sidebar_tab_pieces/left-bumper-prelight.png: * icons/gnome/sidebar_tab_pieces/left-bumper.png: * icons/gnome/sidebar_tab_pieces/middle-normal-normal.png: * icons/gnome/sidebar_tab_pieces/middle-normal-prelight.png: * icons/gnome/sidebar_tab_pieces/middle-prelight-normal.png: * icons/gnome/sidebar_tab_pieces/right-bumper-prelight.png: * icons/gnome/sidebar_tab_pieces/right-bumper.png: * icons/gnome/sidebar_tab_pieces/right-empty-space.png: * icons/gnome/sidebar_tab_pieces/right-top-active-prelight.png: * icons/gnome/sidebar_tab_pieces/right-top-active.png: * icons/gnome/sidebar_tab_pieces/right-top-prelight.png: * icons/gnome/sidebar_tab_pieces/right-top.png: * icons/gnome/theme_preview.png: * icons/gnome/throbber/001.png: * icons/gnome/throbber/002.png: * icons/gnome/throbber/003.png: * icons/gnome/throbber/004.png: * icons/gnome/throbber/005.png: * icons/gnome/throbber/006.png: * icons/gnome/throbber/007.png: * icons/gnome/throbber/008.png: * icons/gnome/throbber/009.png: * icons/gnome/throbber/010.png: * icons/gnome/throbber/011.png: * icons/gnome/throbber/012.png: * icons/gnome/throbber/013.png: * icons/gnome/throbber/014.png: * icons/gnome/throbber/015.png: * icons/gnome/throbber/Makefile.am: * icons/gnome/throbber/rest.png: * icons/gnome/trash-empty-192.png: * icons/gnome/trash-empty-accept-192.png: * icons/gnome/trash-empty-accept.png: * icons/gnome/trash-empty.png: * icons/gnome/trash-full-192.png: * icons/gnome/trash-full.png: * icons/i-cdrom-192.png: * icons/i-cdrom.png: * icons/i-chardev.png: * icons/i-floppy.png: * icons/i-printer.png: * icons/i-sock.png: * icons/i-zip.png: Revision of the classic GNOME theme. 2001-06-02 Darin Adler * src/nautilus-window-manage-views.c: (update_for_new_location), (handle_view_failure), (nautilus_window_set_sidebar_panels): Check the sidebar for NULL in a few more places. 2001-06-02 Darin Adler * libnautilus-private/nautilus-volume-monitor.c: (modify_volume_name_for_display), (nautilus_volume_monitor_get_target_uri), (mount_volume_make_cdrom_name), (make_volume_name_from_path), (mount_volume_make_name), (mount_volume_activate), (mount_volume_deactivate), (get_current_mount_list), (update_modifed_volume_name), (verify_current_mount_state), (nautilus_volume_monitor_set_volume_name), (get_iso9660_volume_name), (load_additional_mount_list_info): Change volume name logic to be simpler. Also fixed some assert problems with the last check-in. 2001-06-01 Darin Adler Started with patch by Caleb "J." Land and added XFS support so that trash will work on XFS volumes. * libnautilus-private/nautilus-volume-monitor.h: * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_should_integrate_trash), (make_volume_name_from_path), (mount_volume_get_name), (do_volume_activate), (mount_volume_activate), (verify_current_mount_state), (mount_volume_ext2_add), (mount_volume_udf_add), (mount_volume_vfat_add), (mount_volume_msdos_add), (mount_volume_affs_add), (mount_volume_auto_add), (mount_volume_fat_add), (mount_volume_hpfs_add), (mount_volume_hsfs_add), (mount_volume_minix_add), (mount_volume_proc_add), (mount_volume_reiserfs_add), (mount_volume_ufs_add), (mount_volume_smb_add), (mount_volume_unsdos_add), (mount_volume_xenix_add), (mount_volume_xfs_add), (mount_volume_xiafs_add), (copy_volume), (load_additional_mount_list_info), (mount_volume_prepend_filesystem): Added an XFS case and crunched code a bit. Rolled in patch by Johan Dahlin to install the public IDL files in $(datadir)/idl so that non-C programmers can use them. * libnautilus/Makefile.am: Install the IDL files. Also added them to the .spec file. * nautilus.spec.in: Install the IDL files as part of nautilus-devel. 2001-06-01 Darin Adler Rolled in patch by Juan Pablo Mendoza to make the file dialog show up in the right position instead of showing up in one place and then moving right away. * libnautilus-private/nautilus-file-operations.c: (create_transfer_dialog): Move gtk_show_widget until after the center_dialog_over_window call. 2001-06-01 Darin Adler Fixed mistakes in my MIME type change from yesterday. * libnautilus-private/nautilus-mime-actions.c: (build_joined_string): Correct variable so we build the string from all the elements in the list, not just the first element repeated over and over again. (nautilus_mime_get_short_list_components_for_file): Remove stray single-quote character so we build a legal query. The queries were all failing due to this typo. * src/nautilus-window.c: Spacing tweak. * NEWS: Remove lack-of-tinderbox lament. 2001-06-01 Darin Adler Integrated revised version of patch by zilch.am@home.se to fix problems typing characters with values > 127 on some systems. * libnautilus-private/nautilus-icon-container.c: (match_best_name): Cast the result of tolower to a (char) before comparing it with another char. 2001-05-31 Darin Adler Integrated patch by limval@yahoo.com to make typing and clicking faster by sending fewer "selection_changed" signals. This may fix bug 5010. * libnautilus-private/nautilus-entry.c: (nautilus_entry_key_press), (nautilus_entry_motion_notify): Only send the "selection_changed" signal when a selection was there to change. 2001-05-31 Darin Adler * src/nautilus-window-manage-views.c: (update_title): Missed a place that required a non-NULL sidebar. Thanks to Miguel Rodriguez Perez for pointing it out. 2001-05-31 Darin Adler Fixed a bug where the MIME type components short list query was not sorted. This could result in the wrong default component being selected, and may be the problem that caused some users to get the text component instead of the Mozilla web page component. * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_get_default_component_for_file_internal): Update since nautilus_do_component_query no longer takes an &ev. (nautilus_mime_get_short_list_applications_for_file): Remove unused ev variable. Fix problem where the user's added items would be added in reverse order. (build_joined_string): New helper function. (nautilus_mime_get_short_list_components_for_file): Update since nautilus_do_component_query no longer takes an &ev. Pass in a sorting order to the query so we don't lose the order of the short list. (nautilus_mime_actions_file_needs_full_file_attributes): Update since nautilus_do_component_query no longer takes an &ev. (nautilus_mime_get_all_components_for_file): Update since nautilus_do_component_query no longer takes an &ev. (mime_get_all_components_for_uri_scheme): Update since nautilus_do_component_query no longer takes an &ev. (nautilus_do_component_query): Update to use its own &ev instead of take one passed in. None of the callers were looking at the &ev. * libnautilus-private/nautilus-directory-async.c: Bumped the number of items per call back up. Now that we've done other bug fixes, this makes things faster overall, not slower, although it does make the time until the first icon shows up a bit longer. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_set_file): Don't monitor the directory item count. If the main view monitors it we'll display it. If the main view doesn't, we'll show the old "last known" value or nothing. It's better to do less I/O and sometimes be wrong than do more I/O to always be right in this case. * src/nautilus-window.c: (add_sidebar_panel_callback), (nautilus_window_initialize), (nautilus_window_constructed), (nautilus_window_add_sidebar_panel), (update_sidebar_panels_from_preferences), (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar), (nautilus_window_sidebar_showing): Simplify sidebar logic. Among other things, we no longer create an invisible sidebar for the desktop. * libnautilus-private/nautilus-icon-canvas-item.c: (in_single_click_mode): Use "(void)", not "()". * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_did_not_drag): Coding style tweak. 2001-05-29 John Fleck Initial checkin of gnome-db2html3, the new DocBook xml->html converter * components/help/converters/gnome-db2html3/ gnome-db2html3.c, README, AUTHORS * components/help/converters/gnome-db2html3/gnome-customization, which contains GNOME customization stylesheet * components/help/converters/gnome-db2html3/docbook/, which contains Norman Walsh's xsl stylesheet extravaganza (the actual checkin was done the 29th, but there was a lock on the ChangeLog, which is why this is being checked in a day later) 2001-05-23 Darin Adler * libnautilus-private/nautilus-global-preferences.c: Added a default for the ADD_TO_SESSION preference. This should fix the problem where some people don't get any session management. Miguel's patch removed the code to set this preference in the first time druid so we need to default to TRUE. * libnautilus-private/nautilus-file.c: (nautilus_file_get_string_attribute_with_default): Used return statements to simplify the logic a bit. 2001-05-22 John Harper Fallout from fixing bug 8220 (Having Ctrl as default "modifier key used for default WM shortcuts" breaks everything...): * libnautilus-private/nautilus-icon-container.c (keyboard_space, keyboard_move_to): changed to use Control modifier instead of Alt 2001-05-22 Darin Adler Fixed problem compiling with new gettext: * hack-macros/gnome.m4: Add BUILD_INCLUDED_LIBINTL for compatibility with the new gettext. Fixed a problem with the throbber detecting that its X window is gone. Based on suggestions from Owen Taylor. * libnautilus/nautilus-bonobo-workarounds.h: * libnautilus/nautilus-bonobo-workarounds.c: (destroy_later_callback), (destroyed_before_timeout_callback), (nautilus_bonobo_object_force_destroy_later): Changed to "destroy later" instead of "destroy at idle". This makes us less likely to experience race conditions. * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_unrealize), (nautilus_window_destroy): Moved the throbber destruction to unrealize so we destroy the throbber before we destroy its X window. Starting with patch by Anders Carlsson , added both prelighting and tracking to the throbber, also making it take action on release, not press. * components/throbber/nautilus-throbber.c: (nautilus_throbber_initialize_class): Add handlers for enter, leave, and release. (nautilus_throbber_initialize): Set flags so we get enter and leave events. (select_throbber_image): Ref the image that's returned. (draw_throbber_image): Make the image be prelit if the mouse is over the throbber but it wasn't clicked, and darkened if the mouse is over the throbber and it was clicked. (nautilus_throbber_enter_notify_event): Set flag and request redraw to prelight. (nautilus_throbber_leave_notify_event): Set flag and request redraw to un-prelight. (nautilus_throbber_button_press_event): Set flag to indicate we hit the button in the throbber. Also, respond only to left clicks. (nautilus_throbber_button_release_event): Look at flag set in press event. Do the work here now instead of at press time since we are more like a real button. Rolled in change by Miguel Rodríguez Pérez to fix volume mounting problems: * configure.in: Check for hasmntopt. * libnautilus-private/nautilus-volume-monitor.c: (get_removable_volumes): Fix typo (HAVE_MNTTENT_H -> HAVE_MNTENT_H). Integrated patch by Miguel Rodríguez Pérez to make Nautilus not try to preview MPEG lists: * src/file-manager/fm-icon-view.c: (icon_container_preview_callback): Made audio/x-mpegurl another exception to the list of audio types we can preview. Rolled in change by Dennis Smit : * THANKS: added more translators that were missing from the THANKS file (names from all the .po files in ./po). Other updates to THANKS: * THANKS: Added Jon K Hellan. * check-THANKS.pl: Fixed logic so you can be credited as both an author and translator. Other changes: * src/file-manager/fm-list-view.c: (get_default_zoom_level): Fix typo (storaged -> storage). * src/nautilus-shell-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: Fixed keybindings entries to use the correct tags as described by ui-xml.txt. 2001-05-21 Andy Hertzfeld made the news panel flash less by defering async updates with a timer task, so ones that fire close together are coalesced. * components/news/nautilus-news.c: (do_destroy), (rss_logo_callback), (update_timeout_callback), (queue_update_size_and_redraw), (rss_read_done_callback), (make_remove_widgets), (make_news_view): 2001-05-18 Yoann Vandoorselaere Code reviewed by Darin Adler . * src/file-manager/fm-directory-view.c (display_pending_idle_callback): return TRUE if real_display_pending_files() return FALSE which mean that there is other icon to be drawn (the idle won't be removed until the idle callback return FALSE). return FALSE if real_display_pending_files() return TRUE, which mean all files were drawn. 2001-05-18 Jon K Hellan Code reviewed by Darin Adler * components/music/mpg123.h (struct id3v1tag_t): Fix track info. (struct id3tag_t): Fix track info. Not tested for v2, but big enough for what can be represented in v1.1. * components/music/mpg123.c (mpg123_id3v1_to_id3v2): Fix track info. Track in id3v1.1 is an 8 bit integer, not a string. Track is still unimplemented for id3v2. I did not fix it, as I don't have examples to test with. 2001-05-18 Yoann Vandoorselaere Code reviewed by Darin Adler , also, thanks for the help solving this issue. * src/file-manager/fm-directory-view.c (g_list_split_off_first_n): moved from fm-list-view.c. (real_display_pending_files): move the fm-list-view.c function to display pending file, but remove the clist sorting code. (FILES_TO_PROCESS_AT_ONCE): new constant, appear to be a better name than LIST_VIEW_DISPLAY_PENDING_FILES_GROUP_SIZE. * src/file-manager/fm-list-view.c (LIST_VIEW_DISPLAY_PENDING_FILES_GROUP_SIZE): removed this constant. (fm_list_view_display_pending_files): just sort the list by the clist criteria then call the parent function to display_pending_file. (g_list_split_off_first_n): removed. This should fix the issue where UI response (icon drawing) would take a long time because the directory loaded was cached by the kernel. We now draw with a fixed maximum number of files at once. The list view code was already doing that, so the code was just moved, and adaptated for use in directory view, so list view has the same behavior as before without any code being duplicated. 2001-05-17 Darin Adler Yoann and I did some more debugging and analysis and we stumbled over a bug that was responsible for some big slowdowns. * libnautilus-private/nautilus-directory-async.c: (activation_uri_start): Fixed bug that was causing activation URI reads to work strangely. * src/file-manager/nautilus-directory-view-ui.xml: * src/file-manager/fm-directory-view.c: (delete_callback), (bonobo_control_activate_callback), (fm_directory_view_destroy): * src/nautilus-shell-ui.xml: * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_realize): Rip out keybinding hack and use Bonobo's (undocumented as far as I can tell) keybinding machinery instead. * libnautilus-private/nautilus-metafile.c: (schedule_next_read): Use (void), not (). 2001-05-17 Darin Adler * configure.in: * nautilus.spec.in: Don't require ammonite any more in the default Nautilus RPM. I left the ability to compile ammonite support in for now. That can be removed at any time, but it doesn't hurt anybody. * libnautilus-private/nautilus-global-preferences.c: Change default web search to use google instead of the defunct Eazel search page. 2001-05-16 Darin Adler * configure.in: Up version to 1.0.3.1 so we don't confuse cvs builds with the release. * libnautilus-private/nautilus-file.c: (nautilus_file_fit_date_as_string): Fix i18n problem by calling _() on strings before using. * src/file-manager/fm-directory-view.c: (key_press_event_callback), (bonobo_control_activate_callback), (fm_directory_view_destroy): * src/nautilus-window.c: (nautilus_window_key_press_event): Change key press event callbacks to run only after the parent class. This makes keys go to the focused text field first, so hitting delete while editing a file name doesn't delete the file. 2001-05-16 Darin Adler * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy), (activate_callback), (cancel_activate_callback), (fm_directory_view_activate_file), Got rid of monitor_file_for_activation, another example of this same loose end as last time. * src/nautilus-window-manage-views.c: (set_to_pending_location_and_selection): There was an overzealous assert in here. Looked into why it fired, and fixed it up. 2001-05-16 Darin Adler * src/nautilus-window-private.h: * src/nautilus-window-manage-views.c: (free_location_change), (begin_location_change): Finished up a loose end from when I made the change to determine_initial_view to not get full attributes. This leftover code was causing an extra directory load. * THANKS: Added Yoann. 2001-05-15 Andy Hertzfeld * src/nautilus-sidebar.c: (notify_current_sidebar_view), (nautilus_sidebar_activate_panel), (nautilus_sidebar_deactivate_panel): at Darin's urging, coalesced the open and closed properties into a single one with a value. * components/news/nautilus-news.c: (get_bonobo_properties), (set_bonobo_properties), (nautilus_news_load_location): made it maintain the closed state and made load_location only redraw when opened. 2001-05-13 Yoann Vandoorselaere * libnautilus-private/nautilus-directory-async.c (DIRECTORY_LOAD_ITEMS_PER_CALLBACK): Change from 32 item by callback to 10. This is much better for UI response time and will prevent having too much latency time when loading the directory. * src/file-manager/fm-directory-view.c (DISPLAY_TIMEOUT_INTERVAL_MSECS): Change from 700 ms to 100 ms, this is much better for the user as he won't see any latency time before drawing start. Theses are the better experienced setting for now. 2001-05-13 Maciej Stachowiak Integrated patch from Yoann Vandoorselaere . Yoann found that double-clicking on on a directory would wait for all the files to be read in before displaying anything, while typing the path in the location bar would should proper progressive loading. This checkin solves that problem. * src/file-manager/fm-directory-view.c: (fm_directory_view_activate_file): Only call_when_ready on the minimum attributes, not full. All the checks in activate_callback only depend on the minimum attributes, and do not need the extra directory item mime types attribute. 2001-05-11 Darin Adler reviewed by: Yoann Vandoorselaere Yoann Vandoorselaere discovered that the code to load a directory was accidentally waiting for all the files to be read in before displaying anything. This fixes the two problems that caused that, but there are remaining loose ends (it's not entirely clear why View As Music is still showing properly in the View menu). * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_call_when_ready_internal): Take a parameter to say whether to wait for all the files in the file list, instead of deducing it from other parameters. * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_call_when_ready): Take a parameter to say whether to wait for all the files in the file list, instead of deducing it from other parameters. (nautilus_self_check_directory): Pass TRUE so we wait for the file list. * libnautilus-private/nautilus-merged-directory.c: (merged_call_when_ready): Pass through the new boolean. * libnautilus-private/nautilus-trash-file.c: (real_call_when_ready): Pass FALSE since there is no file list for a single file. * libnautilus-private/nautilus-vfs-directory.c: (vfs_call_when_ready): Pass through the new boolean. * libnautilus-private/nautilus-vfs-file.c: (vfs_file_call_when_ready): Pass FALSE since there is no file list for a single file. * src/nautilus-applicable-views.c: (nautilus_determine_initial_view), (nautilus_determine_initial_view_cancel): Removed the code to get full file attributes after getting the minimum required if nautilus_mime_actions_file_needs_full_file_attributes return TRUE. We want to make the choice fast, and it's OK if we choose poorly as a result. The question is whether this will cause any real end-user problems. * src/file-manager/fm-directory-view.c: (call_when_ready_on_scripts_directory): Pass TRUE so we read the entire scripts directory. (load_directory): Pass FALSE so we don't wait for all the files to be loaded before starting to display them. This is the core of the fix. * components/tree/nautilus-tree-change-queue.c: (nautilus_tree_change_queue_enqueue): A place where we can use g_slist_prepend instead of g_slist_append. * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_initialize): A place where we can use g_slist_prepend instead of g_slist_append. 2001-05-10 John Sullivan Made the thumbnail mechanism respect the "PUBLIC_METADATA" preference, so if you change "Make Folder Appearance Details Public" to Never (in Speed Tradeoffs at Advanced user level), thumbnails will always be created in ~/.nautilus/thumbnails, instead of in a .thumbnails subdirectory in each directory. Thanks to Michael Rothwell for the idea and a first pass at the code. * libnautilus-private/nautilus-thumbnails.h: * libnautilus-private/nautilus-thumbnails.c: (uri_is_local): New convenience function, calls gnome_vfs_uri_is_local (prefer_global_thumbnails_location): New function that checks preference value. (make_thumbnail_uri): Call preference-checking function. (first_file_more_recent), (nautilus_thumbnail_has_invalid_thumbnail), (nautilus_get_thumbnail_uri), (nautilus_update_thumbnail_file_renamed_one), (nautilus_update_thumbnail_file_renamed), (nautilus_remove_thumbnail_for_file_one), (nautilus_remove_thumbnail_for_file): Use uri_is_local () to reduce duplicated code; change some parameter names for clarity. 2001-05-10 Darin Adler * components/help/hyperbola-filefmt.c: (prepend_help_dir_if_exists), (fmt_help_populate_tree): * components/mozilla/nautilus-mozilla-content-view.c: (mozilla_view_create_charset_encoding_submenu), (mozilla_new_window_callback), (should_uri_navigate_bypass_nautilus), (should_mozilla_load_uri_directly): * components/music/fileinfo.c: (mpg123_file_info_box): * components/music/nautilus-music-view.c: (nautilus_music_view_update): * components/notes/nautilus-notes.c: (notes_load_metainfo): * components/throbber/nautilus-throbber.c: (nautilus_throbber_load_images): * components/tree/nautilus-tree-node.c: (nautilus_tree_node_set_parent): * libnautilus-private/nautilus-directory-background.c: (nautilus_connect_background_to_file_metadata): * libnautilus-private/nautilus-directory.c: (nautilus_self_check_directory): * libnautilus-private/nautilus-file-changes-queue.c: (nautilus_file_changes_consume_changes): * libnautilus-private/nautilus-file-dnd.c: (nautilus_drag_file_receive_dropped_keyword): * libnautilus-private/nautilus-file-operations.c: (handle_transfer_ok), (nautilus_file_operations_new_folder): * libnautilus-private/nautilus-file.c: (nautilus_self_check_file): * libnautilus-private/nautilus-icon-container.c: (lay_down_icons_tblr): * libnautilus-private/nautilus-mime-actions.c: (nautilus_do_component_query): * libnautilus-private/nautilus-search-uri.c: (tokenize_uri): * libnautilus-private/nautilus-theme.c: (theme_list_prepend), (theme_get_themes_for_location), (theme_get_default_themes), (nautilus_theme_remove_user_theme): * libnautilus-private/nautilus-thumbnails.c: (nautilus_get_thumbnail_uri): * libnautilus-private/nautilus-trash-monitor.c: (nautilus_trash_monitor_initialize), (add_one_volume_trash): * libnautilus-private/nautilus-volume-monitor.c: (get_removable_volumes), (build_volume_list_delta), (get_mount_list), (get_current_mount_list), (mount_volume_prepend_filesystem): * src/file-manager/fm-directory-view.c: (prepend_uri_one), (fm_directory_view_create_links_for_files), (fm_directory_view_duplicate_selection): * src/file-manager/fm-properties-window.c: (property_button_toggled): * src/nautilus-window-manage-views.c: (determined_initial_view_callback): Changed code that uses g_list_append to use g_list_prepend in all the cases where it was simple enough. 2001-05-10 Darin Adler Integrated a patch from peter@ximian.com to move the MOZILLA_FIVE_HOME-setting code from the main Nautilus program (where it does no good) to the Mozilla component (which is a nicer place for it anyway). While integrating the patch I made some other small cleanups to the Mozilla component and the patch itself. I removed the code to set up LD_LIBRARY_PATH, since it's not needed, and changed the name of some things and simplified others. * components/mozilla/Makefile.am: Define PREFIX. * components/mozilla/main.c: (is_good_mozilla_path), (get_mozilla_path), (set_up_MOZILLA_FIVE_HOME), (main): Add the new code to set up MOZILLA_FIVE_HOME. * src/nautilus-application.c: (finish_startup): Remove the code from the old place. * check-THANKS.pl: Updated. 2001-05-09 Darin Adler * libnautilus-private/nautilus-metafile-factory.c: * libnautilus-private/nautilus-vfs-directory.c: * libnautilus-private/nautilus-vfs-file.c: Added dummy members so we have no illegal empty structures. * src/nautilus-sidebar-title.c: (update_emblems): Get rid of some dead code. 2001-05-09 Darin Adler * README: Updated required versions of packages. 2001-05-08 Darin Adler Started with patch by Yoann Vandoorselaere to not re-open /proc/mounts each time, but to simply rewind it instead. The patch had a lot of problems on Solaris and when HAVE_CDDA is true, but I reworked it so it should be OK. * libnautilus-private/nautilus-volume-monitor.c: (get_mount_list), (get_current_mount_list): Use rewind. 2001-05-08 Darin Adler Integrated a fixed version of Gene's patch to compile under FreeBSD. * libnautilus-private/nautilus-volume-monitor.c: (has_removable_mntent_options), (get_removable_volumes), (volume_is_removable), (volume_is_read_only), (nautilus_volume_monitor_mount_unmount_removable), (nautilus_volume_monitor_get_mount_name_for_display): Added more ifdefs all over the place. This could be done more elegantly some day. 2001-05-08 Darin Adler Integrated patch by Yoann Vandoorselaere to fix a problem where we would try to get metadata for all files in the home directory if it was set to be used as the desktop directory. * libnautilus-private/nautilus-file-utilities.h: * libnautilus-private/nautilus-file-utilities.c: (nautilus_get_desktop_directory): Changed this to not bother with the call to create the directory when the home directory is used as the desktop. (nautilus_get_gmc_desktop_directory): New function. * libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Use nautilus_get_gmc_desktop_directory for the check when deciding to look for old-fashioned gmc metadata. === Nautilus 1.0.3 === 2001-05-08 Ramiro Estrugo * components/mozilla/Makefile.am: * configure.in: * README: Remove some Mozilla Milestone cruft. Make the Mozilla component build with the newly released Mozilla 0.9. Update the README with the latest Mozilla 0.9 support. 2001-05-07 John Sullivan reviewed by: Darin Adler Fixed bug 8122 (Folders opened from the desktop should not reuse frontmost window). The previous behavior was intended to match the behavior of web browsers, but user feedback made it clear that it was confusing and annoying people too much. * src/nautilus-window-manage-views.c: (get_topmost_nautilus_window_in_current_workspace_and_area): Removed this no-longer-needed function. (open_location): Always create a new window in the desktop case. 2001-05-07 Darin Adler reviewed by: John Sullivan Fix bug 8251 (Mozilla component crashes every time I try to view a web page) by putting the same logic for locating Mozilla that is used by galeon into Nautilus. * src/nautilus-application.c: (is_mozilla_path_good), (get_mozilla_path), (find_mozilla): Code to find Mozilla and set up some environment variables that matches the code in galeon's startup script. (finish_startup): New function for initialization code that should be done only in the main Nautilus, not in clients that are going to contact the main Nautilus. More initialization should be moved in here over time. Calls find_mozilla among other things. (nautilus_application_startup): Moved the sound initialization and the code to migrate desktop directory contents inside the new initialization function. 2001-05-07 Robin * Slomkowski * src/nautilus-first-time-druid.c: (make_title_page_icon_box): changed "arlo/i-directory-aa.png" to "crux_eggplant/i-directory-aa.png" as the arlo directory has been renamed. 2001-05-04 Jonathan Blandford * src/file-manager/fm-icon-view.c (icon_container_preview_callback): Possibly play the file if it's an ogg. * src/file-manager/fm-icon-view.c (play_file): Check for ogg file. 2001-05-04 Darin Adler * nautilus-installer.spec.in: Removed this obsolete file. 2001-05-04 Darin Adler * THANKS: Add an entry for Bart. * indent.sh: Update switches (one was wrong for Nautilus style). 2001-05-04 Darin Adler * libnautilus-private/.cvsignore: Update for name change. 2001-05-04 Darin Adler * libnautilus-private/nautilus-mime-actions.c: (is_known_mime_type): Fix mistake where we put quotes around GNOME_VFS_MIME_TYPE_UNKNOWN. Use g_strcasecmp. (nautilus_mime_get_default_action_type_for_file), (application_supports_uri_scheme): Use g_strcasecmp. 2001-05-04 Robin * Slomkowski * configure.in: upped version required of eel to 1.0 and librsvg to 1.0.0 2001-05-04 Robin * Slomkowski * configure.in: upped versions required, medusa >= 0.5.1 ammonite >= 1.0.2, gnome-vfs >= 1.0.1 2001-05-04 Robin * Slomkowski * configure.in: requires eel 0.1 2001-05-04 Ramiro Estrugo * configure.in: No need to set gconf flags here since eel will have already done so. * nautilus.spec.in: Change the BuildRequires entries for eel and librsvg to be eel-devel and librsvg-devel. * libnautilus-private/nautilus-dateedit-extensions.c: * libnautilus-private/nautilus-dateedit-extensions.h: * libnautilus-private/nautilus-generous-bin.c: * libnautilus-private/nautilus-generous-bin.h: * libnautilus-private/nautilus-gconf-extensions.c: * libnautilus-private/nautilus-gconf-extensions.h: * libnautilus-private/nautilus-preferences-box.c: * libnautilus-private/nautilus-preferences-box.h: * libnautilus-private/nautilus-preferences-group.c: * libnautilus-private/nautilus-preferences-group.h: * libnautilus-private/nautilus-preferences-item.c: * libnautilus-private/nautilus-preferences-item.h: * libnautilus-private/nautilus-preferences-pane.c: * libnautilus-private/nautilus-preferences-pane.h: * libnautilus-private/nautilus-preferences.c: * libnautilus-private/nautilus-preferences.h: Moved to Eel. * applets/preferences-applet/nautilus-preferences-applet.c: * components/adapter/nautilus-adapter.c: * components/news/nautilus-news.c: * components/text/nautilus-text-view.c: * components/throbber/nautilus-throbber.c: * components/tree/nautilus-tree-expansion-state.c: * components/tree/nautilus-tree-view.c: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory-background.c: * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-entry.c: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-file-utilities.c: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-font-factory.c: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-icon-canvas-item.c: * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-lib-self-check-functions.h: * libnautilus-private/nautilus-link-set.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-sidebar-functions.c: * libnautilus-private/nautilus-sound.c: * libnautilus-private/nautilus-theme.c: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/nautilus-indexing-info.c: * src/nautilus-application.c: * src/nautilus-first-time-druid.c: * src/nautilus-link-set-window.c: * src/nautilus-main.c: * src/nautilus-navigation-bar.c: * src/nautilus-navigation-bar.h: * src/nautilus-preferences-dialog.c: * src/nautilus-property-browser.c: * src/nautilus-search-bar-criterion.c: * src/nautilus-shell.c: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar.c: * src/nautilus-switchable-search-bar.c: * src/nautilus-theme-selector.c: * src/nautilus-view-frame.c: * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: * src/nautilus-window-menus.c: * src/nautilus-window-toolbars.c: * src/nautilus-window.c: * src/nautilus-zoom-control.c: * test/test-nautilus-preferences-change.c: * test/test-nautilus-preferences-display.c: * test/test-nautilus-smooth-graphics.c: * test/test.c: Update for latest round of stuff moving into Eel. 2001-05-03 Andy Hertzfeld * components/news/nautilus-news.c: (ellipsize_string), (extract_items): made the news panel ellipsize long items. I hope this can make it into 1.0.3, but it's not worth making new rpms unless we have other reasons to do so. 2001-05-03 Robin * Slomkowski * configure.in: upped version to 1.0.3 2001-05-03 Ramiro Estrugo * RENAMING: Remove libnautilus-extensions -> libnautilus-private entry since its done now. 2001-05-03 Ramiro Estrugo * Makefile.am: * applets/launcher/Makefile.am: * applets/preferences-applet/Makefile.am: * applets/preferences-applet/nautilus-preferences-applet.c: * components/adapter/Makefile.am: * components/adapter/nautilus-adapter.c: * components/hardware/Makefile.am: * components/hardware/nautilus-hardware-view.c: * components/help/Makefile.am: * components/help/hyperbola-main.c: * components/help/hyperbola-nav-tree.c: * components/history/Makefile.am: * components/history/nautilus-history-view.c: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/bonobo-extensions.c: * components/mozilla/bonobo-extensions.h: * components/music/Makefile.am: * components/music/main.c: * components/music/nautilus-music-view.c: * components/news/Makefile.am: * components/news/nautilus-news.c: * components/notes/Makefile.am: * components/notes/nautilus-notes.c: * components/text/Makefile.am: * components/text/main.c: * components/text/nautilus-text-view.c: * components/throbber/Makefile.am: * components/throbber/main.c: * components/throbber/nautilus-throbber.c: * components/tree/nautilus-tree-expansion-state.c: * components/tree/nautilus-tree-model.c: * components/tree/nautilus-tree-node.c: * components/tree/nautilus-tree-node.h: * components/tree/nautilus-tree-view-dnd.c: * components/tree/nautilus-tree-view.c: * configure.in: * helper-utilities/error-dialog/nautilus-error-dialog.c: * libnautilus-extensions/.cvsignore: * libnautilus-extensions/Makefile.am: * libnautilus-extensions/README: * libnautilus-extensions/nautilus-audio-player.c: * libnautilus-extensions/nautilus-audio-player.h: * libnautilus-extensions/nautilus-bonobo-extensions.c: * libnautilus-extensions/nautilus-bonobo-extensions.h: * libnautilus-extensions/nautilus-bookmark.c: * libnautilus-extensions/nautilus-bookmark.h: * libnautilus-extensions/nautilus-cdrom-extensions.h: * libnautilus-extensions/nautilus-customization-data.c: * libnautilus-extensions/nautilus-customization-data.h: * libnautilus-extensions/nautilus-dateedit-extensions.c: * libnautilus-extensions/nautilus-dateedit-extensions.h: * libnautilus-extensions/nautilus-default-file-icon.c: * libnautilus-extensions/nautilus-default-file-icon.h: * libnautilus-extensions/nautilus-directory-async.c: * libnautilus-extensions/nautilus-directory-background.c: * libnautilus-extensions/nautilus-directory-background.h: * libnautilus-extensions/nautilus-directory-metafile-monitor.c: * libnautilus-extensions/nautilus-directory-metafile-monitor.h: * libnautilus-extensions/nautilus-directory-metafile.c: * libnautilus-extensions/nautilus-directory-metafile.h: * libnautilus-extensions/nautilus-directory-notify.h: * libnautilus-extensions/nautilus-directory-private.h: * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-directory.h: * libnautilus-extensions/nautilus-drag-window.c: * libnautilus-extensions/nautilus-drag-window.h: * libnautilus-extensions/nautilus-druid-page-eazel.c: * libnautilus-extensions/nautilus-druid-page-eazel.h: * libnautilus-extensions/nautilus-druid.c: * libnautilus-extensions/nautilus-druid.h: * libnautilus-extensions/nautilus-entry.c: * libnautilus-extensions/nautilus-entry.h: * libnautilus-extensions/nautilus-file-attributes.h: * libnautilus-extensions/nautilus-file-changes-queue.c: * libnautilus-extensions/nautilus-file-changes-queue.h: * libnautilus-extensions/nautilus-file-dnd.c: * libnautilus-extensions/nautilus-file-dnd.h: * libnautilus-extensions/nautilus-file-operations-progress.c: * libnautilus-extensions/nautilus-file-operations-progress.h: * libnautilus-extensions/nautilus-file-operations.c: * libnautilus-extensions/nautilus-file-operations.h: * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-file-utilities.c: * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file.c: * libnautilus-extensions/nautilus-file.h: * libnautilus-extensions/nautilus-font-factory.c: * libnautilus-extensions/nautilus-font-factory.h: * libnautilus-extensions/nautilus-gconf-extensions.c: * libnautilus-extensions/nautilus-gconf-extensions.h: * libnautilus-extensions/nautilus-generous-bin.c: * libnautilus-extensions/nautilus-generous-bin.h: * libnautilus-extensions/nautilus-global-preferences.c: * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-horizontal-splitter.c: * libnautilus-extensions/nautilus-horizontal-splitter.h: * libnautilus-extensions/nautilus-icon-canvas-item.c: * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-container.c: * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-dnd.c: * libnautilus-extensions/nautilus-icon-dnd.h: * libnautilus-extensions/nautilus-icon-factory-private.h: * libnautilus-extensions/nautilus-icon-factory.c: * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-private.h: * libnautilus-extensions/nautilus-icon-text-item.c: * libnautilus-extensions/nautilus-icon-text-item.h: * libnautilus-extensions/nautilus-iso9660.h: * libnautilus-extensions/nautilus-keep-last-vertical-box.c: * libnautilus-extensions/nautilus-keep-last-vertical-box.h: * libnautilus-extensions/nautilus-lib-self-check-functions.c: * libnautilus-extensions/nautilus-lib-self-check-functions.h: * libnautilus-extensions/nautilus-link-set.c: * libnautilus-extensions/nautilus-link-set.h: * libnautilus-extensions/nautilus-link.c: * libnautilus-extensions/nautilus-link.h: * libnautilus-extensions/nautilus-medusa-support.c: * libnautilus-extensions/nautilus-medusa-support.h: * libnautilus-extensions/nautilus-merged-directory.c: * libnautilus-extensions/nautilus-merged-directory.h: * libnautilus-extensions/nautilus-metadata.h: * libnautilus-extensions/nautilus-metafile-factory.c: * libnautilus-extensions/nautilus-metafile-factory.h: * libnautilus-extensions/nautilus-metafile-server.idl: * libnautilus-extensions/nautilus-metafile.c: * libnautilus-extensions/nautilus-metafile.h: * libnautilus-extensions/nautilus-mime-actions.c: * libnautilus-extensions/nautilus-mime-actions.h: * libnautilus-extensions/nautilus-monitor.c: * libnautilus-extensions/nautilus-monitor.h: * libnautilus-extensions/nautilus-preferences-box.c: * libnautilus-extensions/nautilus-preferences-box.h: * libnautilus-extensions/nautilus-preferences-group.c: * libnautilus-extensions/nautilus-preferences-group.h: * libnautilus-extensions/nautilus-preferences-item.c: * libnautilus-extensions/nautilus-preferences-item.h: * libnautilus-extensions/nautilus-preferences-pane.c: * libnautilus-extensions/nautilus-preferences-pane.h: * libnautilus-extensions/nautilus-preferences.c: * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-program-chooser.c: * libnautilus-extensions/nautilus-program-chooser.h: * libnautilus-extensions/nautilus-program-choosing.c: * libnautilus-extensions/nautilus-program-choosing.h: * libnautilus-extensions/nautilus-search-uri.c: * libnautilus-extensions/nautilus-search-uri.h: * libnautilus-extensions/nautilus-sidebar-functions.c: * libnautilus-extensions/nautilus-sidebar-functions.h: * libnautilus-extensions/nautilus-sound.c: * libnautilus-extensions/nautilus-sound.h: * libnautilus-extensions/nautilus-theme.c: * libnautilus-extensions/nautilus-theme.h: * libnautilus-extensions/nautilus-thumbnails-jpeg.c: * libnautilus-extensions/nautilus-thumbnails-jpeg.h: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-thumbnails.h: * libnautilus-extensions/nautilus-trash-directory.c: * libnautilus-extensions/nautilus-trash-directory.h: * libnautilus-extensions/nautilus-trash-file.c: * libnautilus-extensions/nautilus-trash-file.h: * libnautilus-extensions/nautilus-trash-monitor.c: * libnautilus-extensions/nautilus-trash-monitor.h: * libnautilus-extensions/nautilus-undo-context.c: * libnautilus-extensions/nautilus-undo-context.h: * libnautilus-extensions/nautilus-undo-manager.c: * libnautilus-extensions/nautilus-undo-manager.h: * libnautilus-extensions/nautilus-undo-signal-handlers.c: * libnautilus-extensions/nautilus-undo-signal-handlers.h: * libnautilus-extensions/nautilus-vfs-directory.c: * libnautilus-extensions/nautilus-vfs-directory.h: * libnautilus-extensions/nautilus-vfs-file.c: * libnautilus-extensions/nautilus-vfs-file.h: * libnautilus-extensions/nautilus-view-identifier.c: * libnautilus-extensions/nautilus-view-identifier.h: * libnautilus-extensions/nautilus-volume-monitor.c: * libnautilus-extensions/nautilus-volume-monitor.h: * libnautilus-private/Makefile.am: * libnautilus-private/README: * libnautilus-private/nautilus-directory-background.h: * libnautilus-private/nautilus-directory-metafile-monitor.c: * libnautilus-private/nautilus-directory-metafile-monitor.h: * libnautilus-private/nautilus-directory-metafile.c: * libnautilus-private/nautilus-directory-notify.h: * libnautilus-private/nautilus-druid-page-eazel.c: * libnautilus-private/nautilus-entry.c: * libnautilus-private/nautilus-file-dnd.h: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-metafile-factory.c: * libnautilus-private/nautilus-metafile-factory.h: * libnautilus-private/nautilus-mime-actions.h: * libnautilus-private/nautilus-preferences-box.h: * libnautilus-private/nautilus-preferences-group.h: * libnautilus-private/nautilus-preferences-item.h: * libnautilus-private/nautilus-preferences-pane.h: * libnautilus-private/nautilus-undo-signal-handlers.h: * libnautilus/nautilus-view.c: * nautilus.spec.in: * po/POTFILES.in: * src/Makefile.am: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-directory-view.h: * src/file-manager/fm-error-reporting.c: * src/file-manager/fm-error-reporting.h: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/fm-properties-window.h: * src/file-manager/fm-search-list-view.c: * src/file-manager/nautilus-indexing-info.c: * src/nautilus-about.c: * src/nautilus-applicable-views.c: * src/nautilus-applicable-views.h: * src/nautilus-application.c: * src/nautilus-application.h: * src/nautilus-bookmark-list.c: * src/nautilus-bookmark-list.h: * src/nautilus-bookmark-parsing.c: * src/nautilus-bookmark-parsing.h: * src/nautilus-bookmarks-window.c: * src/nautilus-complex-search-bar.c: * src/nautilus-complex-search-bar.h: * src/nautilus-desktop-window.c: * src/nautilus-first-time-druid.c: * src/nautilus-link-set-window.c: * src/nautilus-link-set-window.h: * src/nautilus-location-bar.c: * src/nautilus-main.c: (main): * src/nautilus-navigation-bar.h: * src/nautilus-preferences-dialog.c: * src/nautilus-preferences-dialog.h: * src/nautilus-profiler.h: * src/nautilus-property-browser.c: * src/nautilus-search-bar-criterion.c: * src/nautilus-search-bar-criterion.h: * src/nautilus-search-bar.h: * src/nautilus-services.c: * src/nautilus-shell.c: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar-title.h: * src/nautilus-sidebar.c: * src/nautilus-simple-search-bar.c: * src/nautilus-switchable-navigation-bar.c: * src/nautilus-switchable-search-bar.c: * src/nautilus-theme-selector.c: * src/nautilus-view-frame.c: * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: * src/nautilus-window-menus.c: * src/nautilus-window-private.h: * src/nautilus-window-toolbars.c: * src/nautilus-window.c: * src/nautilus-window.h: * src/nautilus-zoom-control.c: * test/Makefile.am: * test/test-nautilus-async-activation.c: * test/test-nautilus-mime-actions-set.c: * test/test-nautilus-mime-actions.c: * test/test-nautilus-preferences-change.c: * test/test-nautilus-preferences-display.c: * test/test-nautilus-smooth-graphics.c: * test/test-nautilus-wrap-table.c: * test/test.c: * test/test.h: Rename libnautilus-extensions to libnautilus-private. 2001-05-03 Ramiro Estrugo * icons/arlo/throbber/.cvsignore: * icons/arlo/throbber/001.png: * icons/arlo/throbber/002.png: * icons/arlo/throbber/003.png: * icons/arlo/throbber/004.png: * icons/arlo/throbber/005.png: * icons/arlo/throbber/006.png: * icons/arlo/throbber/007.png: * icons/arlo/throbber/008.png: * icons/arlo/throbber/009.png: * icons/arlo/throbber/010.png: * icons/arlo/throbber/011.png: * icons/arlo/throbber/012.png: * icons/arlo/throbber/013.png: * icons/arlo/throbber/014.png: * icons/arlo/throbber/015.png: * icons/arlo/throbber/016.png: * icons/arlo/throbber/017.png: * icons/arlo/throbber/018.png: * icons/arlo/throbber/019.png: * icons/arlo/throbber/020.png: * icons/arlo/throbber/021.png: * icons/arlo/throbber/022.png: * icons/arlo/throbber/023.png: * icons/arlo/throbber/024.png: * icons/arlo/throbber/025.png: * icons/arlo/throbber/026.png: * icons/arlo/throbber/027.png: * icons/arlo/throbber/028.png: * icons/arlo/throbber/029.png: * icons/arlo/throbber/030.png: * icons/arlo/throbber/Makefile.am: * icons/arlo/throbber/rest.png: Remove old unused icons. 2001-05-03 Darin Adler * cut-n-paste-code/freetype/.cvsignore: Removing this file so that this empty directory will become completely empty. * cut-n-paste-code/.cvsignore: Tweak. * cut-n-paste-code/widgets/.cvsignore: Tweak. 2001-05-03 Darin Adler * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Fix Nautilus Link support so it works for links that have paths instead of URIs in their custom icon field. 2001-05-03 Dan Mueth Added information about configuration files. * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-05-03 Andy Hertzfeld * components/news/nautilus-news.c: (add_site_from_fields): fixed a memory trashing bug that Bart found in the news panel. 2001-05-03 John Sullivan reviewed by: Darin Adler Fixed bug 8239 ("Zoom In" keyboard shortcut (Control-=) is untypable on many non-US keyboards) * src/nautilus-shell-ui.xml: Changed Zoom In shortcut to Control-+, so the more-mnemonic + appears in the menu. * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_key_press_event): Make Control-+ and Control-= both activate Zoom In. 2001-05-03 Bart Decrem Added more RSS feeds: - Appwatch - Barrapunto - Barrapunto-Gnome - Security Focus - Linux.com - Mozilla Zine Fixed alphabetization error. * components/news/news_channels.xml 2001-05-03 Darin Adler * RENAMING: Removed some obsolete name changes. * src/nautilus-property-browser.h: Got rid of one last NTL. 2001-05-03 Darin Adler Fixed bug that was preventing custom icons from working in many cases. * libnautilus-extensions/nautilus-icon-factory.c: (load_icon_with_embedded_text): Pass in the URI for the custom icon. 2001-05-03 Darin Adler reviewed by: John Sullivan More tweaking on keyboard shortcuts for deleting and trashing. * src/file-manager/fm-directory-view.c: (ALL_NON_LOCK_MODIFIER_KEYS): Don't include MOD2, because it is "num lock". Don't include MOD3-5 because I don't know for sure if they are lock modifiers or not. (trash_or_delete_selected_files), (trash_callback): Separated out the Move To Trash command into a non-callback function. (delete_selected_files), (delete_callback): Separated out the Delete command into a non-callback function. (key_press_event_callback): Shift-Delete now means "Delete" if that command is turned on. Control-Backspace now means "Move To Trash". 2001-05-03 Bart Decrem reviewed by: no one :( Updated list of RSS feeds for the News sidebar. * components/news/news_channels.xml Removed: - Marihuana News - Macintosh News Added: - BSD Today - Dictionary.Com - Internet.com - Segfault - Web Reference 2001-05-03 Darin Adler reviewed by: John Sullivan Fixed bug 8232 (Trash.gmc and home directory link files made by gmc show on Desktop): * libnautilus-extensions/nautilus-file.c: (nautilus_file_should_show): Moved special case for gmc files in here. (filter_hidden_and_backup_partition_callback): Removed special case for gmc files, since it's now in the lower level. Also fixed code that was casting a pointer to an int without using GPOINTER_TO_INT. * src/nautilus-application.c: Fix typo. 2001-05-03 Darin Adler reviewed by: John Sullivan Fixed bug 8230 (launchers dragged from panel don't get icons as they did in Ximian's Nautilus 1.0.2): * libnautilus-extensions/nautilus-link.c: (nautilus_link_local_create_from_gnome_entry): Changed to use eel_make_uri_from_half_baked_uri so we can handle the kind of "URI"s that are in most .desktop files. Also did a lot of code cleanup. * src/file-manager/fm-desktop-icon-view.c: (icon_view_handle_uri_list): Changed to use eel_make_uri_from_half_baked_uri so we can handle the kind of "URI"s that are passed when dragging from old programs. Also did a lot of code cleanup. 2001-05-03 Darin Adler Fixed bug 8228 (http://www.yahoo.com shows plain document icon, not HTML icon). * src/nautilus-sidebar-title.c: (update_icon): Changed code to pass in icon names to nautilus_icon_factory_get_pixbuf_by_name, instead of passing icon paths (no reason to do that). 2001-05-03 John Fleck * components/help/converters/gnome-db2html2/sect-elements.c improve support for tag to proporly support role="bold" and role="strong" attributes with but *no* tags 2001-05-03 Dan Mueth Updating Nautilus Release Notes to mention that anybody who builds or repackages Nautilus should make sure Medusa support isn't built in by accident. * help/nautilus-release-notes/C/nautilus-release-notes.sgml: 2001-05-03 Dan Mueth Updates to Nautilus User Manual, including two new screenshots. * help/nautilus-user-manual/C/Makefile.am: * help/nautilus-user-manual/C/figures/help_num.png: * help/nautilus-user-manual/C/figures/news_num.png: * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-05-03 Zbigniew Chyla * src/nautilus-theme-selector.c (install_theme_button_clicked_callback): Destroy fileselector after pressing escape key. 2001-05-02 Darin Adler * src/file-manager/fm-directory-view.c: (key_press_event_callback), (bonobo_control_activate_callback): Hook up the delete key to move files to trash. Another feature requested by Miguel. * src/file-manager/nautilus-icon-view-ui.xml: Only show the F2 in the menu bar, not the right-click menu. * libnautilus-extensions/nautilus-icon-factory.c: (cache_icon_new), (load_specific_icon), (load_icon_for_scaling), (scale_icon), (get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_icon), (load_icon_with_embedded_text): Tried to fix bug 8228, but failed. I still want to keep my changes. I'll get back to this tomorrow. 2001-05-02 Ramiro Estrugo * nautilus.spec.in: Add ammonite requires dependency. 2001-05-02 Darin Adler * src/file-manager/nautilus-icon-view-ui.xml: Added an F2 key equivalent for the Rename command because: 1) we didn't have a key equivalent here before, 2) F2 is what you use to do this on Windows, and 3) Miguel asked me to. 2001-05-02 John Sullivan * src/file-manager/fm-directory-view.c: (open_scripts_folder_callback), (disconnect_script_handlers): Made the dialog explaining how scripts work always show up when you choose "Open Scripts Folder", not just the first time. 2001-05-02 Darin Adler reviewed by: John Sullivan Fixed bug 8200 (News Sidebar panel crash on startup): * components/news/nautilus-news.c: (draw_rss_items): Use eel_strlen so it works with NULL titles. * configure.in: * nautilus.spec.in: Removed dependency on ghttp. Trilobite needs it, but not Nautilus. 2001-05-02 Darin Adler Fix bug where most files weren't getting their MIME type icons. * libnautilus-extensions/nautilus-icon-factory.c: (load_icon_given_two_names), (is_generic_icon_name), (load_specific_icon): Made the two generic icons lose out if there's a MIME type icon. We can't always prefer the MIME type icon, since that would break things like the "thumbnail in progress" icon. 2001-05-02 Darin Adler Fix bug where icon for Nautilus links were not appearing if they were icon names rather than complete URIs. * libnautilus-extensions/nautilus-icon-factory.c: (remove_icon_name_suffix): Separate out this function. (get_mime_type_icon_without_suffix): Use the new remove_icon_name_suffix function. (nautilus_icon_factory_get_icon_for_file): When getting a custom icon name from a file, call remove_icon_name_suffix. * src/file-manager/fm-desktop-icon-view.c: (create_mount_link), (fm_desktop_icon_view_trash_state_changed_callback), (icon_view_handle_uri_list), (update_home_link_and_delete_copies), (update_trash_link_and_delete_copies): Leave the ".png" suffixes out of the icon names. They never did any good. * components/help/help-method.c: (help_uri_to_string): Fix name of info2html2 and disallow parameters that start with "-" (for a slight bit less security vulnerability). 2001-05-02 Ramiro Estrugo * configure.in: Lots of improvement. Make dealing with dependency libs/cflags simpler. * applets/launcher/Makefile.am: * applets/preferences-applet/Makefile.am: * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/news/Makefile.am: * components/notes/Makefile.am: * components/sample/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: * helper-utilities/error-dialog/Makefile.am: * icons/arlo/throbber/Makefile.am: * icons/crux_eggplant/backgrounds/Makefile.am: * icons/crux_eggplant/sidebar_tab_pieces/Makefile.am: * icons/crux_eggplant/throbber/Makefile.am: * icons/gnome/throbber/Makefile.am: * icons/sidebar_tab_pieces/Makefile.am: * libnautilus-adapter/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Eliminate cut-n-paste disease by using dependency macros defined in configure.in. 2001-05-02 Ramiro Estrugo * autogen.sh: Detect whether the invocation of configure failed and print a message accordingly. We used to always assume that configure was successful and print misleading "now type make to build $PROJECT" messages. 2001-05-01 Ramiro Estrugo * configure.in: Use NAUTILUS_VERSION_INSIST from hack-macros instead of EAZEL_VERSION_INSIST. 2001-05-01 Ramiro Estrugo * applets/launcher/Makefile.am: * applets/preferences-applet/Makefile.am: * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/sample/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: * configure.in: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Patch from Christopher Lahey . Use EEL_CFLAGS, LIBRSVG_CFLAGS instead of EEL_INCLUDEDIR, and EEL_CFLAGS. Thanks Chris. 2001-05-01 Andy Hertzfeld * components/news/nautilus-news.c: (draw_rss_title): made the titles prelight when appropriate. Also, tweaked the channel gap size. 2001-05-01 Ramiro Estrugo * configure.in: Simplify the freetype2 detection insanity by using autoconf macro technology. The new test should work with both FreeType2 RPMS as well as freetype built from source in any prefix. 2001-05-01 Dan Mueth More updates to the User Manual for 1.0.3. * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-05-01 Andy Hertzfeld * components/news/nautilus-news.c: (do_destroy), (rss_read_done_callback), (nautilus_news_load_channel), (check_for_updates): fixed bug 8216, removing the news panel when loading channels hangs Nautilus. Fixed by making sure we don't launch multiple I/O request for a single channel. I suspect there are still some problems lurking, but the reported bug is no longer reproducible. 2001-05-01 Andy Hertzfeld * components/news/nautilus-news.c: (has_matching_uri), (mark_new_items): fixed problem where the new flag wasn't being maintained properly after updating, since it was using a whole new item list. Fixed by propogating the new flag from the corresponding old item. 2001-05-01 Darin Adler reviewed by: John Sullivan Some enhancements to icon lookup. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: (get_mime_type_icon_without_suffix): Function used to strip suffixes out so we can have file suffixes in the gnome-vfs icon database, but can ignore them and look at all suffixes for the named icon. (make_icon_name_from_mime_type): Construct an icon name for types that don't specify a particular icon. This allows theme designers to make icons for any MIME type. (get_icon_name_for_regular_file): Use the new "without suffix" call. This requires changing this function to return a strdup'd name. (get_icon_name_for_directory), (get_icon_name_for_file): Change to return a strdup'd name. (make_full_icon_path): Do the file exists check in here (was already doing it in some cases) and also call gnome_vfs_icon_path_from_filename. (get_themed_icon_file_path): Get rid of redundant g_file_exists checks and gnome_vfs_icon_path_from_filename call, since both are now handled inside make_full_icon_path. (nautilus_scalable_icon_get_text_pieces), (nautilus_scalable_icon_new_from_text_pieces), (nautilus_scalable_icon_unref), (nautilus_scalable_icon_hash), (nautilus_scalable_icon_equal): Add MIME type to the scalable icons. (nautilus_icon_factory_get_icon_for_file): Pass in the MIME type. (nautilus_icon_factory_get_emblem_icon_by_name): Pass NULL for MIME type. (load_pixbuf_svg): Change to pass in boolean for emblem hack since we don't always have an icon name. (load_icon_from_path): New function, share common code. (load_named_icon): New function, share common code. (load_specific_icon): Try icon based on MIME type first, then fall back on the name specified. (nautilus_icon_factory_get_pixbuf_from_name): Pass NULL for MIME type. (load_icon_with_embedded_text): Pass in the MIME type. * src/nautilus-bookmark-list.c: (append_bookmark_node): * src/nautilus-bookmark-parsing.c: (nautilus_bookmark_new_from_node): * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_icon_is_different), (nautilus_bookmark_set_icon_to_default): Update to deal with MIME types in scalable icons. * components/help/hyperbola-filefmt.c: (fmt_scrollkeeper_parse_toc_section), (fmt_scrollkeeper_parse_doc_toc), (fmt_scrollkeeper_parse_document), (fmt_scrollkeeper_parse_section), (fmt_scrollkeeper_parse_xml), (fmt_scrollkeeper_trim_empty_branches), (fmt_scrollkeeper_tree_empty), (fmt_scrollkeeper_populate_tree), (remove_leading_and_trailing_white_spaces), (fmt_toplevel_add_doc), (get_path_from_node), (has_content), (fmt_toplevel_parse_xml_tree): Made more compatible with libxml by not using the content field directly and using xmlChildrenNode and xmlRootNode. * libnautilus-extensions/nautilus-trash-monitor.c: (nautilus_trash_monitor_get): Fixed NautilusDirectory leak. * THANKS: Added some more translator credits. * check-THANKS.pl: Fixed some email addresses and such. * icons/ardmore/.cvsignore: * icons/arlo/.cvsignore, * icons/arlo/backgrounds/.cvsignore: * icons/arlo/sidebar_tab_pieces/.cvsignore: * icons/villanova/.cvsignore: Removed these again. 2001-05-01 Andy Hertzfeld * components/news/nautilus-news.c: (mark_new_items), (empty_message_size_allocate): fixed bug where it would inadvertently clear the new flag on items after refetching. fixed bug 8211, criticals when opening the news panel with no selected sites by making sure not to set the wrap width to a negative number. * components/news/news_channels.xml: added some new channels suggested by Joshua K. 2001-05-01 Zbigniew Chyla * components/news/nautilus-news.c: Marked two strings for translation. * icons/ardmore/.cvsignore, icons/arlo/.cvsignore, icons/arlo/backgrounds/.cvsignore, icons/arlo/sidebar_tab_pieces/.cvsignore, icons/villanova/.cvsignore: New files, ignore Makefile.in and Makefile. 2001-05-01 Ramiro Estrugo * components/news/nautilus-news.c: * libnautilus-extensions/nautilus-icon-canvas-item.c: * src/nautilus-about.c: * src/nautilus-sidebar-tabs.c: More work on changing parameters for functions that accept and return ArtIRect, EelArtIPoint, ArtDRect, EelDimensions to pass by value instead of by pointer. 2001-05-01 Ramiro Estrugo * components/mozilla/main.c: (main): Make warnings and criticals stop in the debugger to make this beast easier to debug. * components/mozilla/nautilus-mozilla-content-view.c: Use Eel gtk boilerplate and method invocation macros. 2001-05-01 Ramiro Estrugo * README: Add Mozilla 0.8.1 blurb. 2001-05-01 Dan Mueth Updates to the header and first section of the User Manual. * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-04-30 Ramiro Estrugo * icons/crux_teal/backgrounds/Makefile.am: * icons/crux_teal/sidebar_tab_pieces/Makefile.am: * icons/crux_teal/throbber/Makefile.am: Forgot to change arlo to crux_teal in these 3. 2001-04-30 Ramiro Estrugo * configure.in: * icons/Makefile.am: * nautilus.spec.in: Rename the theme directories to match their displayed name. * icons/arlo * icons/villanova * icons/ardmore Old theme directory names. * icons/crux_teal * icons/sierra * icons/tahoe New theme directory names. 2001-04-30 Pavel Cisler reviewed by: Darin Adler Fixed 4964 (Files dragged to Trash from floppy don't appear in Trash Can) Fixed 7406 (Trash doesn't work until first restart of Nautilus) Fixed 7976 (some files that you can't leave in the Trash just silently go away instead of showing the dialog as they should) New trash directories are created lazily, when someone tries to delete an item on the respective disk for the first time. The problem was that these new trash directories do not get integrated into the unified trash directory. Added logic to do that. * libnautilus-extensions/nautilus-file-operations.c: (nautilus_file_operations_copy_move): Before a move to trash operation is started check for any new trash directories and integrate them if needed. * libnautilus-extensions/nautilus-trash-directory.c: (check_trash_created), (check_trash_directory_added_callback), (volume_mounted_callback) Add calls to allow adding a new physical trash directory to the unified trash. * libnautilus-extensions/nautilus-trash-directory.h: * libnautilus-extensions/nautilus-trash-monitor.c: (nautilus_trash_monitor_initialize_class), (nautilus_trash_monitor_get), * libnautilus-extensions/nautilus-trash-directory.c: (nautilus_trash_directory_initialize), (nautilus_trash_directory_finish_initializing): Rearrange to allow initializing the nautilus trash directory and nautilus trash monitor properly, dodging a cyclic dependency. * libnautilus-extensions/nautilus-trash-monitor.c: * libnautilus-extensions/nautilus-trash-monitor.h: (nautilus_trash_monitor_get_trash_directories), (add_one_trash_directory_if_needed), (nautilus_trash_monitor_add_new_trash_directories): Add a new signal to allow clients get notified when a new trash directory might get added to the unified trash. 2001-04-30 Dan Mueth Updating screenshots for Nautilus User Manual for Nautilus 1.0.3. * help/nautilus-user-manual/C/Makefile.am: * help/nautilus-user-manual/C/figures/custicon.png: * help/nautilus-user-manual/C/figures/custom_icon_num.png: * help/nautilus-user-manual/C/figures/full.png: * help/nautilus-user-manual/C/figures/home_folder_num.png: * help/nautilus-user-manual/C/figures/locationbar_nqr.png: * help/nautilus-user-manual/C/figures/locbar.png: * help/nautilus-user-manual/C/figures/nautilus_window_full_num.png: * help/nautilus-user-manual/C/figures/part-1.png: * help/nautilus-user-manual/C/figures/part-2.png: * help/nautilus-user-manual/C/figures/part-3.png: * help/nautilus-user-manual/C/figures/part.png: * help/nautilus-user-manual/C/figures/preferences_menu_num.png: * help/nautilus-user-manual/C/figures/prefmenu.png: * help/nautilus-user-manual/C/figures/sidebar.png: * help/nautilus-user-manual/C/figures/sidebar_num.png: * help/nautilus-user-manual/C/figures/xcf/custom_icon_num.xcf: * help/nautilus-user-manual/C/figures/xcf/home_folder_num.xcf: * help/nautilus-user-manual/C/figures/xcf/nautilus_window_full_num. xcf: * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-04-30 Andy Hertzfeld * components/news/nautilus-news.c: (draw_rss_items), (nautilus_news_update_display), (nautilus_news_motion_notify_event), (rss_read_done_callback), (news_label_new), (make_add_widgets), (set_up_edit_widgets), (set_up_configure_widgets): fixed bug where things wouldn't prelight properly; fixed by not hit-testing channels that aren't visible in motion_notify made a bunch of layout changes at Arlo's request, including no longer using aa text for widgets. * components/news/changed_bullet.png: * components/news/nautilus-news-pixmaps.h: * components/news/news_bullet.png: new images from Arlo 2001-04-30 Ramiro Estrugo * NEWS: Add blurb about Nautilus Themes moving to preferences dialog. 2001-04-30 Darin Adler Worked on bug 8206 (xalf problems): * libnautilus-extensions/nautilus-program-choosing.c: (get_xalf_prefix): Don't use xalf unless a NAUTILUS_USE_XALF environment variable is defined. * NEWS: Updated with the features added since last time I edited the NEWS file. Since we are mostly doing bug fixes, there aren't too many. 2001-04-30 Darin Adler * help/nautilus-screenshot-guidelines/C/.cvsignore: Ignore the .junk directory. 2001-04-30 Darin Adler reviewed by: John Sullivan Updated for eel changes needed to fix bug 8198 ("New Terminal" does not use GNOME default applications): * libnautilus-extensions/nautilus-link.c: (nautilus_link_local_create_from_gnome_entry): Use the new eel_gnome_make_terminal_command instead of the obsolete eel_gnome_get_terminal_path. * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_launch_application_from_command): Let eel do the /bin/sh -c trick. Get rid of it from here. 2001-04-30 Andy Hertzfeld * components/news/nautilus-news.c: (extract_items), (has_matching_uri), (rss_read_error), (extract_rss_title), (extract_scripting_news_title), (extract_rss_image), (extract_scripting_news_image), (rss_read_done_callback): added support for "Scripting News" style rss files, which are quite a bit different from standard ones. Also, restructured the rss_read_done routine by breaking it into smaller routines, plus other small cleanups. * components/news/news_channels.xml: added a few more channels 2001-04-30 Andy Hertzfeld * components/news/news_channels.xml: added Eazel, GNOME and CNET news channels 2001-04-30 Ramiro Estrugo * components/news/nautilus-news.c: * libnautilus-extensions/nautilus-icon-canvas-item.c: * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-container.c: * libnautilus-extensions/nautilus-icon-dnd.c: * libnautilus-extensions/nautilus-icon-factory.c: * src/file-manager/fm-list-view.c: * src/nautilus-about.c: * test/test.c: Change parameters for functions that accept and return ArtIRect, EelArtIPoint, ArtDRect, EelDimensions to pass by value instead of by pointer. 2001-04-30 Dan Mueth Updating Nautilus Quick Reference, both content and many new screenshots. Removing old screenshots which have been replaced. * help/nautilus-quick-reference/C/Makefile.am: * help/nautilus-quick-reference/C/figures/backgrounds_nqr.png: * help/nautilus-quick-reference/C/figures/emblems.png: * help/nautilus-quick-reference/C/figures/emblems_nqr.png: * help/nautilus-quick-reference/C/figures/full.png: * help/nautilus-quick-reference/C/figures/locationbar_nqr.png: * help/nautilus-quick-reference/C/figures/locbar.png: * help/nautilus-quick-reference/C/figures/menubar.png: * help/nautilus-quick-reference/C/figures/menus_nqr.png: * help/nautilus-quick-reference/C/figures/music.png: * help/nautilus-quick-reference/C/figures/music_nqr.png: * help/nautilus-quick-reference/C/figures/nautilus_window_full_nqr.png: * help/nautilus-quick-reference/C/figures/navbar.png: * help/nautilus-quick-reference/C/figures/patterns.png: * help/nautilus-quick-reference/C/figures/sidebar.png: * help/nautilus-quick-reference/C/figures/sidebar_nqr.png: * help/nautilus-quick-reference/C/figures/themes.png: * help/nautilus-quick-reference/C/figures/themes_nqr.png: * help/nautilus-quick-reference/C/figures/toolbar_nqr.png: * help/nautilus-quick-reference/C/figures/xcf/nautilus_window_full_nqr.xcf: * help/nautilus-quick-reference/C/index.html: 2001-04-30 Ramiro Estrugo * libnautilus-extensions/nautilus-global-preferences.h: Add preferences for default manual layout support. * libnautilus-extensions/nautilus-global-preferences.c: (default_icon_view_sort_order_or_manual_layout_changed_callback), (nautilus_global_preferences_initialize): Use different enumerations for icon view and list view default sort order since only icon view supports manual layout. Add entries for default manual layout preference. Add proxy preference for both icon view sort order and manual layout so that it can be presented to the user as one choice and thus just one menu. This also matches the view menu. * libnautilus-extensions/nautilus-preferences-item.c: (preferences_item_create_enumeration_list), (preferences_item_create_enumeration_menu): Add support for separators in string pickers. * src/file-manager/fm-icon-view.c: (get_default_directory_manual_layout), (fm_icon_view_real_get_directory_auto_layout), (fm_icon_view_real_set_directory_auto_layout), (fm_icon_view_reset_to_defaults), (default_use_manual_layout_changed_callback), (fm_icon_view_initialize): Add support for a default "use manual layout" preference. * src/nautilus-preferences-dialog.c: Make the default sort order preference use the proxy prefernece instead of the real one. 2001-04-29 Dan Mueth Fixing some markup errors. * help/nautilus-user-manual/ko/nautilus-user-manual.sgml: 2001-04-29 Ramiro Estrugo * components/help/converters/gnome-info2html2/main.c: (main): Remove the cast, its not needed and it breaks the build. You probably need a newer popt if your build breaks without the cast. 2001-04-29 Fatih Demir * components/help/converters/gnome-info2html2/main.c: Cast argv to (const char **) to avoid a compiling error. * src/nautilus-window-menus.c: Include . 2001-04-28 Dan Mueth Small updates to a couple docs. * help/nautilus-screenshot-guidelines/C/nautilus-screenshot-guideli nes.sgml: * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-04-27 Andy Hertzfeld * components/news/nautilus-news.c: (nautilus_news_load_channel), (update_remove_button), (add_site_from_fields), (remove_selected_site), (make_news_view): fixed bug 8192, remove button left enabled when all sites are removed, by making the button insensitive when necessary. Also, display the site name instead of the url when loading, since it's much more understandable. 2001-04-27 Darin Adler reviewed by: Robin Slomkowski Update FAM support so it works fine on systems with and without libfam installed. So if you build Nautilus with FAM, then you can run it on a system with or without FAM. * configure.in: * libnautilus-extensions/Makefile.am: Remove the FAM_LIBS part. * libnautilus-extensions/nautilus-monitor.c: (get_fam_connection): Load the module before the FAMOpen2 call, and get all the function pointers. (get_event_uri), (process_fam_notifications), (nautilus_monitor_file), (nautilus_monitor_directory), (nautilus_monitor_cancel): Use the new CALL_FAM macro so we can use the function pointers when we call FAM. 2001-04-27 Andy Hertzfeld * components/news/nautilus-news.c: (go_to_uri): fixed bug 8186, clicking on a title while it's loading crashes the news panel; fixed by checking for NULL. * components/news/news_channels.xml: removed the Dan Gillmor channel since it just moved and I can't find where the rss file is on the new site. 2001-04-27 John Harper reviewed by: Darin Adler Fixed bug 7732 (opening window from prompt spawns endless process cycle): * src/nautilus-application.c (desktop_changed_callback): call update_session () directly (update_session): don't check the SHOW_DESKTOP preference to see if we should add ourselves to the session, check that the current process has actually _created_ a desktop window (init_session): don't register a listener for the SHOW_DESKTOP preference since it's called by desktop_changed_callback () 2001-04-27 Ramiro Estrugo * libnautilus-extensions/nautilus-preferences.c: (nautilus_self_check_preferences): Disabled preferences self checks until I can debug why these seemingly harmless tests dont work. 2001-04-27 Ramiro Estrugo * components/help/hyperbola-main.c: (main): Fix bug 8172 - Nautilus spews GConf error upon repeated clicking of "help" Intiialize preferences before creating the factory in case code in the factory needs to use prefernces. * src/nautilus-application.c: (nautilus_application_startup): Dont do the GMC migration if we are about to kill the nautilus shell. Fixes criticals when 'nautilus --quit' is used. 2001-04-27 Andy Hertzfeld * components/news/Makefile.am: * components/news/changed_bullet.png: added a placed holder "new article" bullet; hopefully, Arlo will provide us with a real one soon. * components/news/nautilus-news.c: (do_destroy), (draw_rss_items), (toggle_open_state), (nautilus_news_make_new_channel), (check_for_updates), (nautilus_news_load_images), (update_interval_changed), (make_news_view): made it use the changed bullet when appropriate; also, completed the preferences work by making it watch the update interval preference. 2001-04-27 Darin Adler * libnautilus-extensions/nautilus-thumbnails-jpeg.c: (fatal_error_handler), (output_message_handler), (nautilus_thumbnail_load_scaled_jpeg): Added error handling based on Alex Larsson's revised patch. Needs more testing. 2001-04-27 Darin Adler Fixed bug 7818 (Duplicating a link to a file on a different partition gives "You can't copy a file over itself" error). * libnautilus-extensions/nautilus-file-operations.c: (nautilus_file_operations_copy_move): There was a bug in the call to check_same_fs in here (it was passing in the target URI, which is often a file that doesn't even exist), so I removed that check. Did some other cleanups too. 2001-04-27 John Sullivan Fixed bug 3214 (Confusing how to make bookmark changes "stick") Fixed bug 6277 (Bookmarks window should close with Escape key) * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Made bookmarks window a GnomeDialog, giving it the single button "Done". 2001-04-27 Andy Hertzfeld added preferences for the maximum numder of items per site and the update interval. It's not quite finished, as the news view isn't watching the update interval preference yet. * components/news/nautilus-news.c: (do_destroy), (draw_rss_items), (nautilus_news_make_new_channel), (max_items_changed), (make_news_view): use the preference for max items and update interval * libnautilus-extensions/nautilus-global-preferences.c: define defaults for news panel preferences * libnautilus-extensions/nautilus-global-preferences.h: define news panel preferences * src/nautilus-preferences-dialog.c: add a news panel pane to the preferences dialog 2001-04-26 Andy Hertzfeld changed the news panel not to display any sites by default, since it's obnoxious to be doing periodic I/O to sites that weren't explicitly enabled. Added an instructive message about the news panel that is displayed when no sites are enabled. Also, made it immediately test new rss urls when they are input, and display an error dialog instead of adding them if they fail. Also, make it always display the main news display (not configuration stuff) when the panel is opened, even if it was in configure mode when closed. Plus a few smaller tweaks. * components/news/nautilus-news.c: (set_bonobo_properties), (toggle_open_state), (count_visible_channels), (set_views_for_mode), (configure_button_clicked), (add_site_from_fields), (make_add_widgets), (set_up_main_widgets), (make_news_view): * components/news/news_channels.xml: turn off all the channels by default 2001-04-26 Ramiro Estrugo * configure.in: Make the control-center (capplet module) check properly decode the version number. Awk wasn't being fed the right delimiter. 2001-04-26 Dan Mueth Bringing three more images over from the 1.0.1/1.0.2 branch. The dimensional size of these are smaller, although they are not all smaller in bytes. I think this difference is why John didn't originally bring these over from the branch. * help/nautilus-quick-reference/C/figures/find.png: * help/nautilus-quick-reference/C/figures/full.png: * help/nautilus-quick-reference/C/figures/music.png: 2001-04-26 Darin Adler * THANKS: Give Alex Larsson credit for his contribution. * configure.in: Added the screenshot directory. Updated the check for control center to check for libcapplet instead. Chris Lahey told me that Ximian did this in the version they released, so I figured I should do it here too. * help/nautilus-screenshot-guidelines/.cvsignore: * help/nautilus-screenshot-guidelines/C/.cvsignore: Ignore more generated files. 2001-04-26 Darin Adler Integrated a patch by Alexander Larsson that adds a JPEG-specific thumbnailing function that's faster than the exiting thumbnail code. This new code is only included if the libjpeg library is present at configure time. We still need RPM spec file changes to require this library if we are going to build RPMs on systems that have libjpeg. I fixed a few bugs in Alex's original patch and made some coding style tweaks as well. * acconfig.h: * configure.in: Added a check for libjpeg. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-thumbnails-jpeg.c: * libnautilus-extensions/nautilus-thumbnails-jpeg.h: Add new source files with JPEG thumbnailer. * libnautilus-extensions/nautilus-thumbnails.c: (make_thumbnails): Call the new function for JPEG files. Other changes. * libnautilus-extensions/nautilus-volume-monitor.c: Change interval back to 2 seconds. * libnautilus-extensions/nautilus-preferences.c: (preferences_set_storage_path): Fix storage leak. (nautilus_self_check_preferences): Added more checks. * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Tiny code tweak. 2001-04-26 Rebecca Schulman Fix bugzilla.eazel.com bug 7934, to remove the ability to make an index using Nautilus. reviewed by: Darin Adler * src/file-manager/fm-list-view.c: (get_cell_text): * src/file-manager/fm-search-list-view.c: (real_load_error), (display_indexed_search_problems_dialog), (real_get_link_column), (real_get_emblems_column): Simplify the dialog that allows a Nautilus user to request a new index. Tell the user instead how to create an index if the user has root access in this dialog instead. * src/file-manager/nautilus-indexing-info.c: (show_last_index_time_dialog), (last_index_time_dialog_new), (index_progress_dialog_new), (show_indexing_info_dialog): * src/file-manager/nautilus-indexing-info.h: Remove the request reindex function. Remove option to create a new index. Keep dialogs to show either the time of the last index creation, or the progress of the current indexing task, depending on whether an index is in progress or not. 2001-04-26 Dan Mueth Committing first draft of the screenshot guidelines for Nautilus documentation. It isn't completely done, but it will be safer in CVS than on my hard drive. * help/Makefile.am: * help/nautilus-screenshot-guidelines/C/Makefile.am: * help/nautilus-screenshot-guidelines/C/figures/callout_after.png: * help/nautilus-screenshot-guidelines/C/figures/callout_before.png: * help/nautilus-screenshot-guidelines/C/figures/circle_callout_after.png: * help/nautilus-screenshot-guidelines/C/figures/circle_callout_before.png: * help/nautilus-screenshot-guidelines/C/figures/dropshadow_after.png: * help/nautilus-screenshot-guidelines/C/figures/dropshadow_before.png: * help/nautilus-screenshot-guidelines/C/nautilus-screenshot-guidelines-C.omf: * help/nautilus-screenshot-guidelines/C/nautilus-screenshot-guidelines.sgml: * help/nautilus-screenshot-guidelines/Makefile.am: 2001-04-26 Darin Adler Integrated Miguel's patches that he included in Ximian's version of Nautilus 1.0 after fixing some bugs, fixing all warnings, and adding code to not do the reload of the desktop every 4 seconds if FAM is working. The patch does a lot of things, mostly so that people can switch back and forth between gmc and nautilus more easily. * components/news/nautilus-news.c: Tweaked includes. * src/nautilus-view-frame.c: Tweaked a comment. Here are notes Miguel included in the patch about the changes he made: - 2001-04-19 Miguel de Icaza * libnautilus-extensions/nautilus-file.c (nautilus_file_get_name): Only return name when we actually loaded the name from the desktop entry. * libnautilus-extensions/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Compute file_path from file_uri, it was missing in this code path. - 2001-04-16 Miguel de Icaza * libnautilus-extensions/nautilus-file.c (is_special_desktop_gmc_file): Use strcmp not strncmp here. * src/nautilus-window.c (nautilus_window_realize): Use gnome-logo here. * src/file-manager/fm-directory-view.c (activate_callback): Launch desktop entries here. - 2001-04-11 Miguel de Icaza * src/file-manager/fm-icon-view.c (get_stored_icon_position_callback): Try to load position information from GNOME metadata as well. (icon_position_changed_callback): Store metadata changes to the desktop as well. * src/nautilus-first-time-druid.c (nautilus_first_time_druid_show): Disable GMC transition page, as we now share the desktop directory and the data files. (druid_finished): Remove desktop link to Eazel services. * libnautilus-extensions/nautilus-file.c (nautilus_file_can_rename): Do not allow to rename x-gnome-apps. (nautilus_file_get_name): Return the translated name of a desktop file instead of the file name. Handle URL files in .gnome-desktop directories. (is_special_desktop_gmc_file): New function: Returns true if a file should be hidden from the desktop-directory display (for sharing the directory with gmc). (filter_hidden_and_backup_partition_callback): If we are scanning the desktop directory, hide gmc metadata files or legacy files. * libnautilus-extensions/nautilus-directory-async.c (activation_uri_gmc_link_read_callback): Handle GMC link files correctly (skip the prefix "URL: ") * libnautilus-extensions/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Load icons from the gnome-metadata for files on the ~/.gnome-desktop directory. (nautilus_icon_factory_get_icon_for_file): Load icons for GNOME .desktop files. - 2001-04-11 Miguel de Icaza * libnautilus-extensions/nautilus-directory-async.c (activation_uri_gmc_link_read_callback): Handle gmc URL links correctly. - 2001-04-10 Miguel de Icaza * libnautilus-extensions/nautilus-file-utilities.c (DESKTOP_DIRECTORY_NAME): Make it .gnome-desktop. (nautilus_get_desktop_directory): Modified to make the nautilus home directory be the normal one. - 2001-04-09 Miguel de Icaza * src/file-manager/fm-desktop-icon-view.c: Eliminated all over the place the loading of the desktop_directory directory from the nautilus api call, and instead just load this value once. Here are changes that Miguel made, but did not mention in his notes: * libnautilus-extensions/nautilus-volume-monitor.c: Changed the interval for polling to every 4 seconds instead of every 2. * libnautilus-extensions/nautilus-file.c: (nautilus_file_rename): Rename GMC URLs by changing their metadata only. This leaves no way to change the real name of the GMC URL file. (nautilus_file_is_in_desktop): New function. Returns TRUE if a file seems to be in the desktop. Uses a simple rule that might give some false positives, but works even for other people's desktop. * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_destroy), (do_desktop_rescan), (done_loading), (delayed_init), (fm_desktop_icon_view_initialize): Set up a callback to reload the desktop every 4 seconds. * src/nautilus-application.c: (migrate_gmc_trash), (migrate_old_nautilus_files), (nautilus_application_startup): Rename ~/.gnome-desktop/Trash to ~/.gnome-desktop/Trash-gmc if it's a directory. Move files from ~/.nautilus/desktop to ~/.gnome-desktop. 2001-04-26 Dan Mueth Updated Nautilus Release Notes for Nautilus 1.0.3. It still will need some work and additions, but I have most of the boilerplate stuff and new features added. * help/nautilus-release-notes/C/nautilus-release-notes.sgml: 2001-04-26 Ramiro Estrugo * libnautilus-extensions/nautilus-preferences-group.c: * libnautilus-extensions/nautilus-preferences-group.h: Add support for custom preferences items. * libnautilus-extensions/nautilus-preferences-item.h: * libnautilus-extensions/nautilus-preferences-item.c: Add support for custom preferences items. For now only the theme selector uses this powerful technology. Fix bug 8167 - Crash boinking on single-click mode. It was a dumb mistake left over from a previous fix. Wrong number of arguments to a signal. Fix bug where strings in enumeration menus would show up untranslated in the preferences dialog, even in locales where translations exist. * libnautilus-extensions/nautilus-theme.h: * libnautilus-extensions/nautilus-theme.c: (load_theme_document), (nautilus_pixmap_file_may_be_local), (nautilus_theme_get_image_path_from_theme), (nautilus_theme_make_preview_pixbuf): Rename this function from nautilus_theme_make_selector for greater clarity. (has_image_file), (theme_get_property), (theme_get_name_property), (theme_get_description_property), (theme_list_insert), (theme_get_themes_for_location): Replace some cut-n-paste code by a shared function. Add some FIXMEs for the funky handling of the "default" theme. (theme_get_builtin_themes), (theme_get_user_themes), (theme_get_default_themes): Functions for reaping the different types of themes available to Nautilus. (nautilus_theme_for_each_theme), (theme_list_invoke_callback): New function to iterate all the themese available to Nautilus. Makes Nautilus code that needs to operate on themes (like the theme selector) easier to write. (nautilus_theme_get_user_themes_directory), (nautilus_theme_remove_user_theme), (nautilus_theme_install_user_theme): Functions for reaping the different types of themes available to Nautilus. * src/nautilus-preferences-dialog.c: (preferences_dialog_populate_sidebar_tabs_group), (theme_changed_callback), (update_theme_selector_displayed_value_callback), (preferences_dialog_populate_themes_group): Add a custom preference item for the theme chooser. * src/nautilus-theme-selector.h: * src/nautilus-theme-selector.c: Use regular Gtk widgets in the list so that all the things that are expect to work do indeed work. This includes Gtk+ theme changes and custom tweaks made in the code to satisfy the design. Larger and bolder labels for example. Simplify this code alot by using iterators for the available themes. Also maintain two lists instead of managing a remove_mode boolean. Makes the code simpler. * src/nautilus-window-menus.c: (nautilus_window_initialize_menus_part_1): Remove the standalone theme selector handling code. * src/nautilus-shell-ui.xml: Remove the standalone theme selector ui. 2001-04-26 John Sullivan Made the emblems column wider to fit the title "Emblems" (in English, in the default font). Made the emblems column in the search results view match the one in the standard list view. Pavel wants to implement images as column titles, but this is passable if that doesn't get done. * src/file-manager/fm-list-view.c: (real_get_column_specification): Widen the emblems column. * src/file-manager/fm-search-list-view.c: (real_get_emblems_column), (real_get_link_column): Swap positions of name/emblems columns. (real_get_column_specification): Widen the emblems column. 2001-04-26 John Sullivan Search results view has been broken for awhile without anyone noticing. Between these changes and a NULL-handling fix I checked into eel-list.c, it works again. (Soon I will move the Emblems column for search list view also, but first I wanted to make it work.) * src/file-manager/fm-list-view.h: * src/file-manager/fm-list-view.c: (fm_list_view_initialize_class), (add_to_list), (install_row_images), (get_emblems_column), (real_get_emblems_column): Replaced #define for emblems column with overridable function. * src/file-manager/fm-search-list-view.c: (fm_search_list_view_initialize_class), (real_get_emblem_names_to_exclude), (real_get_emblems_column): Override get_emblems_column to return correct value. 2001-04-26 John Sullivan Moved over a few changes from the nautilus-1 branch. I've reviewed all the changes in the branch ChangeLog now, so I think we can kiss it goodbye. * configure.in: Bumped a bunch of version numbers to match branch. Robin may have to do some more bumping before shipping 1.0.3. * help/nautilus-user-manual/C/figures/custicon.png: * help/nautilus-user-manual/C/figures/full.png: * help/nautilus-user-manual/C/figures/part.png: Smaller versions of screenshots which were too big to fit in the Nautilus main panel, by Arlo. (For some reason nautilus-quick-reference on HEAD had smaller figures than on nautilus-1, but vice-versa for nautilus-user-manual.) * src/nautilus-preferences-dialog.c: * src/nautilus-shell-ui.xml: * src/nautilus-window-menus.c: (nautilus_window_initialize_menus_part_1): Made Medusa stuff not appear when HAVE_MEDUSA is not defined. Other changes: * libnautilus-extensions/nautilus-program-choosing.c: (get_xalf_prefix): Bug fix from Darin (!= -> ==) that was breaking launching applications unless you had xalf installed (not from branch) 2001-04-26 Dan Mueth Cleaning up documentation build system. Now there should be no or few warnings spit out about the docs. * help/Makefile.am: * help/docs.make: * help/htmldocs.make: * help/nautilus-quick-reference/es/Makefile.am: * help/nautilus-quick-reference/no/Makefile.am: * help/nautilus-release-notes/C/Makefile.am: * help/nautilus-user-manual/C/Makefile.am: * help/nautilus-user-manual/es/Makefile.am: * help/nautilus-user-manual/ko/Makefile.am: * help/sgmldocs.make: 2001-04-25 Andy Hertzfeld * components/news/nautilus-news.c: (nautilus_news_update_display): reversed decision about not drawing while the channel was loading since it's important to give feedback right away when a channel is enabled, and they sometimes takes a long time to load. * libnautilus-extensions/nautilus-global-preferences.c: * libnautilus-extensions/nautilus-sidebar-functions.c: * libnautilus-extensions/nautilus-sidebar-functions.h: enabled the news panel by default. Also, while I was in here, I made the "home as desktop" feature only available at the advanced user level like Bud suggested. 2001-04-25 Andy Hertzfeld * components/news/nautilus-news.c: (draw_rss_items), (nautilus_news_draw_channel), (nautilus_news_size_allocate): fixed measuring bug caused by the size of the scroll bar affecting the layout. Fixed by calculating the line width at size_allocate time, instead of on the spur of the moment. 2001-04-25 Andy Hertzfeld * components/news/nautilus-news.c: (draw_rss_logo_image), (draw_rss_items), (nautilus_news_configure_event), (nautilus_news_button_release_event), (update_size_and_redraw), (nautilus_news_size_allocate), (make_news_view): attach to size_allocate signal to properly resize the panel when the width changes, as well as for the first time when the size isn't allocated yet; don't draw the time when it overlaps the logo, plus other clean-ups. * nautilus-clean.sh: fixed recently introduced problem in nautilus-clean by replacing '==' with '=' as suggested by Darin. 2001-04-25 Robin * Slomkowski * nautilus.spec.in: removed mozilla-mail and mozilla-psm dependency http://bugzilla.eazel.com/show_bug.cgi?id=8020 2001-04-25 Dan Mueth Adding versions from 1_0_1_BRANCH, which are more up-to-date. * help/nautilus-release-notes/C/nautilus-release-notes.sgml: * help/nautilus-user-manual/C/nautilus-user-manual.sgml: Adding version for 1.0.1 and 1.0.2. * help/nautilus-quick-reference/C/index.html: 2001-04-25 Andy Hertzfeld * components/news/nautilus-news.c: (nautilus_news_button_release_event) fixed bug 8153, scroll wheel crashes news panel, by only taking action when button 1 is clicked. (add_site_from_fields): added error handling for when the fields are empty; also, use http as the protocol if no protocol is specified. 2001-04-25 Darin Adler * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback): Made the Copyright string translatable again, by popular demand. 2001-04-24 Dan Mueth Left-justifying the labels in the help sidebar. Also changed strings to remove colons ":". Bug#: 8123 * components/help/hyperbola-nav-tree.c: (hyperbola_navigation_tree_new): Updating so that 'make install' works right and users building RPM's don't get lots of warnings. Bug#: 8125 * omf-install/Makefile.am: Changing from "Customer Support" to "Community Support". Bug#: 7837 * src/nautilus-shell-ui.xml: 2001-04-24 Darin Adler Fix bug 8152 (Opening Help sidebar crashes Nautilus): * src/nautilus-sidebar.c: (notify_current_sidebar_view): Add check for NIL control. * nautilus-clean.sh: Change egrep args so we get fewer false positives. * src/nautilus-view-frame.c: (nautilus_view_frame_get_control): Formatting tweaks. 2001-04-24 Darin Adler reviewed by: Maciej Stachowiak Fix bug 7963 (exiting Nautilus [with Ctrl-C for example] leaves nautilus-adapter behind): * src/nautilus-component-adapter-factory.c: (activate_factory), (unref_factory), (release_factory), (get_corba_factory), (nautilus_component_adapter_factory_initialize), (nautilus_component_adapter_factory_destroy), (nautilus_component_adapter_factory_initialize_class), (component_adapter_factory_at_exit_destructor), (nautilus_component_adapter_factory_get), (nautilus_component_adapter_factory_create_adapter): Redo so it creates the factory as needed, and doesn't keep a Bonobo reference to the factory so it will die if Nautilus goes away. * nautilus-clean.sh: Redo option parsing to use loop. * components/throbber/main.c: (main): Fix main function to match standard main. Tweak formatting. 2001-04-24 John Sullivan Fixed bug 8418 (two more underline-accelerator conflicts) * src/file-manager/nautilus-directory-view-ui.xml: Changed "Make _Link" to "_Make Link" to avoid conflict with sometimes- present "De_lete" * src/file-manager/nautilus-icon-view-ui.xml: Changed "_Tighter Layout" to "Tighter _Layout" to avoid conflict with "By _Type". 2001-04-24 John Sullivan Fixed part of bug 7649 (sidebar font doesn't update when font changed in non-smooth mode) and various other small problems with fonts in sidebar. The font in the tabs is still always the smooth font. Also, made both default smooth and default non-smooth fonts visible simultaneously in the Preferences dialog since they are both used in different places at the same time. Maybe if we fix the sidebar tabs to not insist on using a smooth font we can turn these two controls back into one. * src/nautilus-preferences-dialog.c: Changed labels from "Font for elsewhere in Nautilus", which had become context-free, to "Default smooth font" and "Default non-smooth font". Made both of these always visible. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_initialize_class): Set up auto-variable to get default non-smooth font name so we don't have to call get_preferences repeatedly. (get_non_smooth_font): New helper function to get a non-smooth font of a specified size. (non_smooth_font_changed_callback): New function, updates the non-smooth font for the title and "more info" text. (update_all_cover): Removed this function. (nautilus_sidebar_title_initialize): Call new callback instead of update_all when non-smooth font changes. update_all was bailing out without doing any work since the text hadn't changed. Also call callback once to set the initial non-smooth font info. (update_title_font): Changed name from update_font for clarity; moved some consts to become #defines instead; fixed bug where this routine wasn't using bold font for either smooth or non-smooth font (2 unrelated bugs); removed unnecessary font-setting call (smooth font is already set elsewhere and doesn't change here); remove unnecessary callback for NAUTILUS_PREFERENCES_SMOOTH_GRAPHICS_MODE since each label piece already handles this separately. (update_title), (nautilus_sidebar_title_size_allocate): Updated for name change. 2001-04-24 Darin Adler reviewed by: John Sullivan Fix bug where theme selector would not show themes when the theme directory is a symlink. * src/nautilus-theme-selector.c: (nautilus_theme_selector_destroy): Small code cleanup. (vfs_file_exists): Pass GNOME_VFS_FILE_INFO_FOLLOW_LINKS. (populate_list_with_themes_from_directory): Pass GNOME_VFS_FILE_INFO_FOLLOW_LINKS. More work on making components go away if Nautilus is prematurely terminated. * src/nautilus-window-toolbars.c: (nautilus_window_initialize_toolbars): Don't create a throbber for the desktop, since it doesn't get killed reliably since it never gets an X window. * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_destroy), (nautilus_window_allow_stop): Do some minor cleanup of throbber code. * nautilus-clean.sh: Add an option to just display the processes and not kill them. Useful for me when I'm writing code that's designed to make the processes go away. Also remove the gconfd saved state file if we kill gconfd (only nautilus-clean.sh -x) for maximum cleanliness (but also maximum unhappiness for any remaining gconf clients). 2001-04-24 John Sullivan reviewed by: Darin Adler Fixed bug 7650 (Display flashes forever when Text viewer used in FTP) * components/text/nautilus-text-view.c: (file_read_callback): Bail out when bytes_read is 0, instead of trying again forever. This happens at EOF. 2001-04-23 Andy Hertzfeld * components/news/nautilus-news.c: (mark_new_items), (rss_read_done_callback): when updating, only redraw if something changed 2001-04-23 Ramiro Estrugo * src/nautilus-first-time-druid.c: (nautilus_first_time_druid_show): Remove extra argument to update_draw_desktop_checkbox_state() which was declared as () (instead of (void)) before the last change and so the build broke. 2001-04-23 Darin Adler reviewed by: John Sullivan Add a new command-line option "--no-desktop" as requested by fcrozat on behalf of people who want to run Nautilus under KDE as well as under GNOME. The option has no effect if Nautilus is already running, but if it's the first invocation of Nautilus, then no desktop-related preferences show up and the desktop is not shown regardless of the setting of those preferences. * src/nautilus-main.c: (main): Add the no-desktop option. Make the desktop-related preferences invisible if it's on, and pass it down to the NautilusApplication. * src/nautilus-application.h: * src/nautilus-application.c: (nautilus_application_startup): Don't start the desktop if no_desktop is passed in. Otherwise decide based on the preference. * libnautilus-extensions/nautilus-preferences-box.c: (preferences_box_find_row): Mark this private function static. (preferences_box_populate_pane): Get rid of code that would translate the pane_name twice. (nautilus_preferences_dialog_new): Simplified this code a bit. * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-preferences.c: (preferences_make_user_level_filtered_key), (nautilus_preferences_get_is_invisible), (nautilus_preferences_set_is_invisible), (preferences_key_make_for_getter), (nautilus_preferences_visible_in_current_user_level), (nautilus_preferences_is_visible): Added new flag to make a preference invisible. * src/nautilus-first-time-druid.h: * src/nautilus-first-time-druid.c: (set_up_gmc_transition_page), (nautilus_first_time_druid_show): Removed code that used to make the druid default based on the desktop preference. Fixed the Tinderbox. * libnautilus-extensions/nautilus-global-preferences.c: (default_default_folder_viewer_callback): Allow NULL because that happens during self-check. 2001-04-23 Andy Hertzfeld * components/news/nautilus-news.c: (has_matching_uri), (compare_channel_names), (nautilus_news_add_channels), (add_site_from_fields), (determine_sort_position), (add_channel_entry), (make_remove_widgets): made it maintain the channel lists in alphabetical order, and improved uri matching by canonicalizing them before comparison. * components/news/news_channels.xml: added some new channels * nautilus-spec.in: added news panel to spec file. 2001-04-23 Andy Hertzfeld made the disclosure triangles reflect the changed state by using different images when the channel changed; currently, I'm using placeholder images, but Arlo will give me the real ones soon. * components/news/nautilus-news-pixmaps.h: added images for triangles to reflect the changed state * components/news/nautilus-news.c: (do_destroy), (draw_triangle), (rss_logo_callback), (nautilus_news_load_images): load the new images, release on destroy, and display when appropriate 2001-04-23 John Sullivan reviewed by: Darin Adler Fixed bug 8024 (Default folder viewer chosen from "View As..." window is not reflected in Preferences dialog) * libnautilus-extensions/nautilus-global-preferences.h: Put iids for Icon and List view here since they must be accessed from multiple places now. Add NAUTILUS_DEFAULT_FOLDER_VIEWER_OTHER enum case. Add prototype for nautilus_global_preferences_set_default_folder_viewer. * libnautilus-extensions/nautilus-global-preferences.c: (get_default_folder_viewer_preference_from_iid): New helper function, returns appropriate NAUTILUS_DEFAULT_FOLDER_VIEWER preference value based on folder-viewing iid. (default_default_folder_viewer_callback): New function to determine default value of NAUTILUS_DEFAULT_FOLDER_VIEWER preference; uses gnome_vfs_mime (name is not a typo). (set_default_folder_viewer_in_gnome_vfs): New function, updates gnome-vfs mime database properly for new folder-viewing iid. (default_folder_viewer_changed_callback): New function, reacts to change in NAUTILUS_DEFAULT_FOLDER_VIEWER preference by updating gnome-vfs mime database (moved here from nautilus-application.c). (nautilus_global_preferences_set_default_folder_viewer): New public function to set the default folder viewer with an iid; handles setting both gnome-vfs and gconf's values. (nautilus_global_preferences_initialize): Add callback for when default folder viewer changes (moved here from nautilus-application.c). * libnautilus-extensions/nautilus-program-chooser.c: (set_default_for_type): Special-case folder viewer to call nautilus_global_preferences_set_default_folder_viewer. * src/file-manager/nautilus-directory-view-ui.xml: Changed "Reset to View Preferences" to "Reset View to Match Preferences". It's really long, but the former was very unclear. Improvements to wording are hereby solicited. * src/nautilus-application.c: (manufactures), (create_object), (default_folder_viewer_changed_callback): Updated for #define name changes. (nautilus_application_startup): Moved code that reacted to default folder viewer preference to nautilus-global-preferences.c. 2001-04-23 John Harper * nautilus-clean.sh: added `nautilus-news' to list of auxiliary programs 2001-04-23 Darin Adler * src/nautilus-window-manage-views.c: (open_location): Handle NULL case that can happen now that we check the workspace and area -- the desktop is no longer guaranteed to be in the list considered when looking for the topmost window. 2001-04-23 John Harper * components/news/nautilus-news.c (set_up_edit_widgets): when packing the remove list into its container, use `TRUE, TRUE' instead of `FALSE, FALSE'. This makes the `Remove a site' list expand properly 2001-04-23 Ramiro Estrugo * libnautilus-extensions/nautilus-preferences-box.c: (preferences_box_populate_pane): Make sure we use the translated strings for pane and group names. 2001-04-23 Darin Adler Fix bug 7830 (Nautilus should launch programs with code that has xalf support [like the panel does]). * libnautilus-extensions/nautilus-program-choosing.c: (get_xalf_prefix): Implemented, but not tested with xalf. 2001-04-23 John Harper * components/news/nautilus-news.c (set_up_configure_widgets): don't set the shadow type of the viewport to no shadow. This causes a drawing bug to occur, where vestiges of the checkbox prelight aren't erased 2001-04-23 Darin Adler Prep for xalf feature. Add name of program to all code that uses the launch_application_from_command function. * libnautilus-extensions/nautilus-program-chooser.c: (launch_mime_capplet): Pass the file name of the files and programs capplet when starting it up. (Is there a better name to use for this case?) * src/file-manager/fm-desktop-icon-view.c: (change_background_callback): Pass "Background" as the name when starting the Background capplet. * src/file-manager/fm-directory-view.c: (run_script_callback): Pass the file name of the script as the name when starting a script. (activate_callback): Pass the file name of an executable file when starting an executable file by opening it. * libnautilus-extensions/nautilus-program-choosing.h: * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_launch_application): Pass the application name from the gnome-vfs MIME database when starting an application. (get_xalf_prefix): Placeholder for code to figure out the right set of parameters to pass to xalf. (nautilus_launch_application_from_command): Change to take a name for the application. It's ignored when xalf is not used, but used as the title when xalf is used. 2001-04-23 Darin Adler Fix bug 8027 (Viewer preferences are not respected). * src/nautilus-window.c: (nautilus_window_handle_ui_event_callback): Check updating_bonobo_state and ignore any callbacks while it's true. 2001-04-23 Ramiro Estrugo * test/test-nautilus-preferences-display.c: (main): Need to initialize preferences. 2001-04-23 Ramiro Estrugo * components/news/Makefile.am: Make sure the nautilus-news-pixmaps.h header is exported to the dist tarball. 2001-04-23 Ramiro Estrugo Part of bug 7601 - FreeBSD portability fixes. * components/music/esd-audio.c: (esdout_loop): Add return NULL to make gcc happy. * components/music/mpg123.c: (decode_loop): Add return NULL to make gcc happy. * libnautilus-extensions/nautilus-customization-data.c: Add missing include of * libnautilus-extensions/nautilus-file.c: (group_includes_user): Cast the gid to (gid_t) * libnautilus-extensions/nautilus-sound.c: Include only if we have it. Otherwise try . * src/nautilus-bookmark-parsing.c: Add missing include of 2001-04-23 Ramiro Estrugo * components/news/Makefile.am: Add include flags for for pixmaps in header file included from the source directory - which is different from the build directory for the tinderbox build. * components/news/nautilus-news.c: * components/news/nautilus-news-pixmaps.h: * components/news/pixmaps.h: Rename pixmaps.h to nautilus-news-pixmaps.h to prevent confusion in the future. 2001-04-22 Andy Hertzfeld * components/Makefile.am: Josh pointed out that I forgot to add the news component here. 2001-04-22 Andy Hertzfeld implemented change tracking and made the sidebar tab get an notification image whenever there's anything new. Also, improved updating and other tweaks. The news view is pretty much done now except for some images from Arlo and lots of testing/debugging. * components/news/nautilus-news.c: (get_bonobo_properties), (set_bonobo_properties), (nautilus_news_expose_event), (nautilus_news_set_prelight_index), (nautilus_news_set_news_changed), (clear_channel_changed_flags), (nautilus_news_clear_changed_flags), (update_size_and_redraw), (has_matching_uri), (mark_new_items), (rss_read_done_callback), (nautilus_news_load_channel), (news_get_indicator_image), (add_command_buttons), (make_news_view): * src/nautilus-sidebar.c: (notify_current_sidebar_view), (nautilus_sidebar_activate_panel), (nautilus_sidebar_deactivate_panel): added open/close notifications for sidebar views using the bonobo propery bag mechanism 2001-04-21 Andy Hertzfeld implemented the remove command for the news panel, plus other clean-ups. * components/news/nautilus-news.c: (configure_button_clicked), (add_site_button_clicked), (add_channel_to_remove_list), (add_site_from_fields), (remove_selected_site), (add_command_buttons), (add_channel_entry), (add_channels_to_lists), (news_label_new), (select_row_in_remove_list), (make_remove_widgets), (make_add_widgets), (set_up_edit_widgets), (set_up_configure_widgets), (make_news_view): 2001-04-21 Andy Hertzfeld * components/news/nautilus-news.c: (do_destroy), (draw_triangle), (draw_rss_logo_image), (is_current_uri), (draw_rss_items), (nautilus_news_motion_notify_event), (rss_read_done_callback), (make_news_view): various improvements to the news view, including Arlofied item positioning, prelighting of logos and disclosure triangle, and using bold text to indicate the current item instead of a different color. 2001-04-20 Gene Z. Ragan reviewed by: Darin Adler Fixed bug 8073, roll over Red Hat patches for their "plug-n-play" feature to Nautilus. The code does not use magicdev, but instead uses our distribution agnostic volume monitor to achieve identical, and in some cases superior, results. * libnautilus-extensions/nautilus-volume-monitor.c: (floppy_sort), (nautilus_volume_monitor_get_target_uri), (nautilus_volume_monitor_should_integrate_trash), (mount_volume_get_name), (mount_volume_activate), (mount_volume_deactivate), (mount_volume_floppy_add), (mount_volume_ext2_add), (mount_volume_udf_add), (mount_volume_vfat_add), (mount_volume_msdos_add), (mount_volume_iso9660_add), (mount_volume_affs_add), (mount_volume_auto_add), (mount_volume_cdda_add), (mount_volume_fat_add), (mount_volume_hpfs_add), (mount_volume_hsfs_add), (mount_volume_minix_add), (mount_volume_nfs_add), (mount_volume_proc_add), (mount_volume_reiserfs_add), (mount_volume_ufs_add), (mount_volume_smb_add), (mount_volume_unsdos_add), (mount_volume_xenix_add), (mount_volume_xiafs_add), (find_volumes), (create_volume), (copy_volume), (mount_volume_add_filesystem): Determine device type when performing volume type specific mount tasks. * libnautilus-extensions/nautilus-volume-monitor.h: Add new device type enumeration. * src/file-manager/fm-desktop-icon-view.c: (create_mount_link): * src/nautilus-application.c: (volume_mounted_callback): Check for cdroms being mounted and open a window to the cdrom mount point if the user has specified that behavior in the gnome preferences. 2001-04-20 Ramiro Estrugo * src/nautilus-theme-selector.c: Trim down the includes a little bit to only those that are needed. 2001-04-20 Ramiro Estrugo * README: Update the Mozilla information to point to Taska's support FAQ instead of the Nautilus mailing list post. 2001-04-20 Andy Hertzfeld first check-in of "news" sidebar view to display news from selected sites that support an rss feed. It's around 80% completed now, and should be quite usable; I just need to finish the remaining 80%. * components/news/.cvsignore: * components/news/Makefile.am: * components/news/Nautilus_View_news.oaf.in: * components/news/nautilus-news.c: (get_bonobo_properties), (set_bonobo_properties), (do_destroy), (pixbuf_composite), (draw_triangle), (draw_rss_logo_image), (draw_rss_title), (draw_rss_items), (nautilus_news_draw_channel), (nautilus_news_update_display), (nautilus_news_configure_event), (nautilus_news_expose_event), (nautilus_news_set_prelight_index), (go_to_uri), (toggle_open_state), (item_hit_test), (nautilus_news_button_release_event), (nautilus_news_motion_notify_event), (nautilus_news_leave_notify_event), (nautilus_news_set_title), (free_rss_data_item), (free_rss_channel_items), (free_channel), (nautilus_news_free_channel_list), (bool_to_text), (nautilus_news_make_channel_document), (nautilus_news_save_channel_state), (rss_logo_callback), (extract_items), (update_size_and_redraw), (rss_read_done_callback), (nautilus_news_load_channel), (nautilus_news_make_new_channel), (nautilus_news_add_channels), (get_xml_path), (read_channel_list), (check_for_updates), (news_get_indicator_image), (load_xpm_image), (nautilus_news_load_images), (configure_button_clicked), (add_site_button_clicked), (add_site_from_fields), (add_command_buttons), (get_channel_from_name), (check_button_toggled_callback), (nautilus_news_load_location), (add_channel_entry), (add_channels_to_configure_list), (set_up_add_widgets), (set_up_configure_widgets), (set_up_main_widgets), (make_news_view), (main): * components/news/news_bullet.png: * components/news/news_channels.xml: * components/news/pixmaps.h: * configure.in: 2001-04-20 Ramiro Estrugo * ChangeLog: rolled over to ChangeLog-20010420.