2001-07-15 Anders Carlsson <andersca@codefactory.se>
* src/file-manager/fm-icon-view.c (icon_container_preview_callback): Check
that the file mime type is correct (that the files is a music file) before calling
nautilus_sound_can_play_sound () since that function launches esd which we
don't want to do unless we have a music file.
allowed components to specify their sidebar icons and text info
through the property bag interface. Removed the special cases from
the sidebar and icon factory, and added the relevant properties to the
hardware and mozilla views.
made the modification date in the sidebar adapt itself gracefully
to the available space like the list view does, by calling
nautilus_file_fit_modified_data_as_string.
added an "uptime" display to the hardware view.
2001-07-14 John Fleck <jfleck@inkstain.net>
reviewed by Laszlo Kovacs <laszlo.kovacs@sun.com>
* components/help/converters/gnome-db2html3/gnome-db2html3.c
change logic for testing whether a file is sgml or xml
2001-07-12 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-monitor.c:
Use a GIOChannel instead of gdk_input_add. This fixes the bug
where when the fam connection dies it did gdk_input_remove (fd)
instead of gdk_input_remove (tag)
* components/help/converters/gnome-info2html2/html.c:
(write_menu_entry_html):
* components/help/converters/gnome-man2html2/gnome-man2html.c:
(add_links), (scan_escape), (scan_format), (scan_table),
(scan_expression), (scan_request), (scan_troff),
(scan_troff_mandoc), (main):
* src/nautilus-first-time-druid.c: (load_netscape_proxy_settings):
* src/nautilus-property-browser.c: (emblem_keyword_valid):
Fix code that was using <ctype.h> functions and passing char's
rather than int's (using the standard "cast to unsigned char"
trick).
* libnautilus-private/nautilus-file.c:
(nautilus_file_denies_access_permission),
(nautilus_file_can_set_permissions), (nautilus_file_set_owner),
(nautilus_file_get_group_name), (nautilus_file_can_set_group),
(nautilus_file_get_settable_group_names),
(nautilus_file_set_group):
Get rid of the assumption that GnomeVFSFileInfo field types match
the platform-specific uid_t and gid_t. This involves doing a few
more type casts.
(nautilus_extract_top_left_text): Fix a use of isprint on a char
rather than an int.
* libnautilus-private/nautilus-volume-monitor.c: Added ifdefs so
this file can compile for Solaris without warnings.
* test/test.c: (test_window_set_title_with_pid): Don't assume that
getpid() returns an int. Instead cast it to unsigned long for
printing.
2001-07-11 Alex Larsson <alexl@redhat.com>
* acconfig.h:
Add HAVE_LIBFAM
* configure.in:
Check for libfam, not only header.
* libnautilus-private/Makefile.am:
Link to libfam
* libnautilus-private/nautilus-monitor.c:
Use normal fam library calls.
2001-07-11 Benedikt Roth <Benedikt.Roth@gmx.net>
* components/text/nautilus-text-view-ui.xml:
* components/text/nautilus-text-view.c:
Created a 'Text view' menu to hold the 'Fonts' menu
and services items
* components/text/services/google.xml
* components/text/services/webster.xml:
Removed references to http://services.eazel.com
* libnautilus-private/nautilus-sound.c: (kill_sound_if_necessary),
(nautilus_sound_kill_sound): Change the kill function to not set
the GConf value to 0 if it's already 0. This may help with a
minor performance problem Yoann found in the directory view.
* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c:
(gtk_wrap_box_expose): Fix a cast so that 64-bit systems
won't warn. This is similar to the e-paned.c fix I did
already.
2001-07-07 Seth Nickell <snickell@stanford.edu>
* libnautilus-private/nautilus-directory-private.h:
* libnautilus-private/nautilus-metafile.c:
* libnautilus-private/nautilus-thumbnails.c:
* src/nautilus-window-menus.c:
Add includes that were inadevertantly pulled in
by the older kinder GnomeVFS include heirarchy but
aren't anymore (people forgot to include some headers
because the compiler never complained).
* configure.in: Bump version to 1.0.4.1
* cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_expose):
Fix type cast that was causing Ben trouble compiling on Solaris.
Take a cut at removing the problem where opening a new window
causes all the old windows to act as if all items were re-added.
* libnautilus-private/nautilus-directory.h:
* libnautilus-private/nautilus-directory.c:
(nautilus_directory_file_monitor_add),
(nautilus_self_check_directory):
* libnautilus-private/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
* libnautilus-private/nautilus-directory-private.h:
* libnautilus-private/nautilus-merged-directory.c:
(build_merged_callback_list), (merged_file_monitor_add),
(forward_files_added_cover), (forward_files_changed_cover),
(monitor_add_directory), (merged_add_real_directory):
* libnautilus-private/nautilus-trash-file.c: (real_monitor_add):
* libnautilus-private/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize):
* libnautilus-private/nautilus-vfs-directory.c:
(vfs_file_monitor_add):
* libnautilus-private/nautilus-vfs-file.c: (vfs_file_monitor_add):
Change monitor_add to take a parameter for a callback function, and
call that instead of sending out a files_added message when someone
starts monitoring files.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_node_begin_monitoring_no_connect),
(nautilus_tree_model_node_begin_monitoring),
(nautilus_tree_model_directory_files_changed_callback):
* src/file-manager/fm-directory-view.c: (connect_script_handlers),
(finish_loading):
Pass in a callback function to monitor_add, and don't hook up the
files_added and files_changed signals until after the monitor is
added.
* configure.in: Bump version to 1.0.4.
* NEWS: Update for recent changes.
* Makefile.i18npatch:
* POTFILES.skip:
* update.sh:
Remove remnants of the old localization scheme. These
are all superseded by xml-i18n-tools.
2001-07-05 Benedikt Roth <Benedikt.Roth@gmx.net>
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize),
(nautilus_sidebar_destroy), (nautilus_sidebar_theme_changed),
(nautilus_sidebar_confirm_trash_changed):
Fix bug #8133 where changing of the
NAUTILUS_PREFERENCES_CONFIRM_TRASH value led to inconsistent menu
descriptions by adding a eel_preferences callback.
2001-07-05 Benedikt Roth <Benedikt.Roth@gmx.net>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_display_selection_info):
Made the statusbar messages when selecting several folders clearer
and fixed i18n problems
2001-07-03 Benedikt Roth <Benedikt.Roth@gmx.net>
* src/file-manager/fm-directory-view.c: (real_update_menus):
Fix bug #6202, "'Show Trash' menu item should be greyed
when viewing trash"
* libnautilus/nautilus-view-standard-main.c (struct CallbackData,
delayed_quit_timeout_callback, object_destroyed, make_object,
nautilus_view_standard_main_multi):
Changed behaviour of view processes, now every process using
nautilus_view_standard_main/nautilus_view_standard_main_multi will be
destroyed after 30 seconds of inactivity, not immediately.
2001-06-28 Havoc Pennington <hp@redhat.com>
* src/nautilus-first-time-druid.c (druid_finished): Don't create a
desktop link to Eazel services or open Eazel home page.
nautilus_volume_monitor_should_integrate_trash() return FALSE for this
volume type. This solves the broken trash can issue on XFS (and probably
other non-ext2) filesystems.
2001-06-29 Ettore Perazzoli <ettore@ximian.com>
* libnautilus-private/nautilus-directory-metafile.c
(get_metafile): Avoid initializing the exception and getting the
URI if we already have a CORBA object, as they are not needed in
that case.
* src/run-nautilus: Get rid of all the "smarts" in this
script and made it just call Nautilus. The things it was
doing (disable bug buddy, work around MOZILLA_FIVE_HOME
for Debian users, call nautilus-verify-rpm.sh) are all
obsolete now.
* src/nautilus-window-manage-views.c: (begin_location_change):
Don't force a reload if file monitoring will work properly
for the location.
* components/throbber/Makefile.am:
* icons/sierra/Makefile.am:
* icons/tahoe/Makefile.am:
Remove use of empty SUBDIRS. At least some versions of automake
have trouble with that.
* src/file-manager/fm-directory-view.c: Formatting tweak.
* libnautilus-private/nautilus-thumbnails.c (obfuscate_password):
New function to look for a password in una uri and change it
for 6 asterisks.
(make_thumbnail_uri): Call obfuscate_passwd before generating the
final uri.
This prevents the password to be saved in cleartext in
~/.nautilus/thumbnails if the user accesses some remote server.
* configure.in:
Patch from David Sainty <dsainty@redhat.com>.
Tidy up the mozilla-component option. Now both
--enable-mozilla-component and --disable-mozilla component do as
they should.
* nautilus.spec.in:
Put the idl files in the main package, not the devel package
because the perl corba bindings can use the .idl files at run
time. Thanks to jacob berkman <jacob@ximian.com> for pointing
this out.