* components/adapter/nautilus-adapter.c:
(nautilus_adapter_initialize): Ref and sink the new adapter.
(nautilus_adapter_new): Remove unused CORBA_Environment.
* components/adapter/nautilus-adapter.h: Whitespace tweak.
* libnautilus-private/nautilus-directory-metafile.c:
(nautilus_directory_get_integer_file_metadata):
* libnautilus-private/nautilus-file.c: (get_id_from_digit_string):
* libnautilus-private/nautilus-icon-factory.c:
(parse_attach_points):
* libnautilus-private/nautilus-thumbnails.c:
(nautilus_thumbnail_load_framed_image):
* src/file-manager/fm-icon-view.c:
(get_stored_icon_position_callback):
A bunch of places were trying to use %*s to detect whether there
were stray characters at the end of a string when doing an sscanf.
I wrote that code. But it doesn't work. A similar technique that
does work is to use %c, and ignore the parsed character.
* src/nautilus-search-bar-criterion.c:
(nautilus_search_uri_get_first_criterion):
This place wasn't using the %*s at all, so just remove it.
2001-09-24 Fabrice Bellet <fabrice@gnu.org>
* Reviewed by Darin Adler <darin@bentspoon.com> (Bug 44402)
* components/adapter/bonobo-stream-vfs.c: vfs_get_info()
needs to be implemented to make the EOG component happy.
2001-09-21 Philip Langdale <philipl@mail.utexas.edu>
* Reviewed by John Fleck <jfleck@inkstain.net> (Bug 60511)
* components/help/converters/gnome-info2html2/html.c
* components/help/converters/gnome-info2html2/html.h
* components/help/converters/gnome-info2html2/main.c: Added optional
"galeon mode" invoked with -g command line param. This involves writing
fully qualified info: hrefs instead of just the #nodename target,
which appears to me to be a bug, but might have negative effects on
nautilus. It also uses ? queries instead of # refs when forming hrefs.
2001-09-05 Alex Larsson <alexl@redhat.com>
Merge some stuff from the redhat-outstanding-patches branch
* eazel-logos/default.xml:
* icons/default.xml:
don't hardcode the title, title info, and
shadow colors; this prevented the auto-color-selection stuff
in nautilus-sidebar-title.c from working properly.
And the hardcoded values were the same thing the autoselector
would have chosen anyhow.
* libnautilus-private/nautilus-monitor.c:
Don't monitor files on read only volumes, they never change, and
will keep cdroms from being unmounted because fam has open file
descriptors on them.
* libnautilus-private/nautilus-thumbnails.c:
Always look for local thumbnails first.
* libnautilus-private/nautilus-volume-monitor.[ch]:
Add nautilus_volume_is_read_only() and
nautilus_volume_monitor_get_volume_for_path()
* src/nautilus-desktop-window.c:
(set_wmspec_desktop_hint): function to set _NET_WM_WINDOW_TYPE, to
avoid confusing kwin so badly, and also to go ahead and support
the Window Manager Hints Of The Future.
(set_gdk_window_background): only set root background to a pixel
if we retrieved a pixel property
(map): Set background of our child widgets in addition to our
own background. This gets rid of the last of the ugliness during
Nautilus startup, I believe.
* src/file-manager/fm-icon-view.c:
Don't read GMC position meta data -- it is never right for nautilus,
due to different size icons, additional icons, different placement
policies, so falling back to normal automatic placement works better.
2001-09-06 Owen Taylor <otaylor@redhat.com>
* libnautilus-private/nautilus-volume-monitor.c (verify_current_mount_state):
Fix bug where the mount list was stored without full mount
names. Don't call mount_volume_make_name() on volumes that
might not be on the system any more. Remove code that
(unsuccesfully) tried to fix the old volume names up, since
we now have the correct old volume names.
Effect of these changes is to fix a race condition where
'unmount /mnt/cdrom; eject /dev/cdrom' would leave a left-over
icon on the deskop.
* libnautilus-private/nautilus-authn-manager.c:
(construct_password_dialog,
present_authentication_dialog_blocking, mark_callback_completed,
authentication_dialog_button_clicked,
present_authentication_dialog_nonblocking,
vfs_async_authentication_callback, vfs_authentication_callback,
nautilus_authentication_manager_initialize): Converted to use the
new module callback API. Use async callbacks instead of our own
mechanism to achieve the same effect.
2001-09-04 Alex Larsson <alexl@redhat.com>
Merge some stuff from the redhat-outstanding-patches branch
* libnautilus-private/nautilus-file-utilities.[ch]
(nautilus_user_main_directory_exists, nautilus_get_user_main_directory):
Get rid of these. No more ~/Nautilus
* libnautilus-private/nautilus-global-preferences.c:
(default_home_location_callback): Always use your normal homedir
as the home dir.
* src/nautilus-application.c (check_required_directories): Don't
create ~/Nautilus.
(create_starthere_link_callback, nautilus_application_startup):
Create a start here icon on the desktop.
Turn of first time druid (by setting first time flag).
(nautilus_application_startup, check_for_kdesktop, look_for_kdesktop_recursive,
has_wm_state, get_self_typed_prop)
Don't manage the desktop if kdesktop is running.
* src/nautilus-first-time-druid.[ch]:
Remove ~/Nautilus handling.
s/druid_set_first_time_file_flag/nautilus_set_first_time_file_flag/
* src/nautilus-shell-ui.xml:
* src/nautilus-window-menus.c:
Add start here to the go menu. Remove leftovers of the "support" menuimem.
* src/file-manager/fm-directory-view.c:
Move scripts to ~/.gnome/nautilus-scripts
* Makefile.am:
Add starthere icons
* data/Makefile.am:
* data/*.desktop.in:
* data/*.directory.in:
Add starthere desktop files.
2001-09-04 Alex Larsson <alexl@redhat.com>
Merge some stuff from the redhat-outstanding-patches branch
* libnautilus-private/nautilus-icon-container.c:
* libnautilus-private/nautilus-icon-dnd.c:
Change signature of the "handle_uri_list" callback to include the
drag action.
* src/file-manager/fm-icon-view.c (icon_view_handle_uri_list):
Handle uri's more gracefully.
* src/file-manager/fm-desktop-icon-view.c:
(icon_view_handle_uri_list): Remove. Now handled in the
parent class.
2001-09-03 Alex Larsson <alexl@redhat.com>
Merge some stuff from the redhat-outstanding-patches branch
* components/mozilla/nautilus-mozilla-embed-extensions.cpp
(mozilla_get_document_title): add this from Galeon
* components/mozilla/nautilus-mozilla-embed-extensions.cpp
(mozilla_unicode_to_locale): copy code from Galeon to use Mozilla
conversion features to convert unicode to locale encoding
* components/mozilla/nautilus-mozilla-content-view.c
(mozilla_title_changed_callback): set title in locale encoding
* libnautilus-private/nautilus-directory-metafile.c
(get_metafile): print error and exit if we fail to open the
metafile factory; somewhat cleaner than segfaulting.
* libnautilus-private/nautilus-file.c:
Cache user information to avoid many getpwuid calls etc.
* src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget):
Don't leak pixmap and mask.
* libnautilus-private/nautilus-icon-container.c (lay_down_icons_tblr):
64bit clean. Use sizeof (int *), not sizeof (int).
* Makefile.am, nautilus-help.desktop.in: Add a help icon that uses
Nautilus
* components/help/help-method.c (help_name_to_local_path):
handle ghelp:toc to go to the default page gnome-help-browser used
to go to. kind of a lame hack, but so is this whole vfs module ;-)
* components/adapter/Makefile.am:
* components/image-viewer/Makefile.am:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
Don't link in the libnautilus-private library for components that
don't use it.
* components/sample/Makefile.am: Pretty up the sample a bit.
Don't link with GConf since we're not using it directly.
* components/shell/shell.oafinfo: Remove this obsolete file.
* components/news/nautilus-news.c: (draw_rss_items): Fix a leak
by unref'ing the text layout object instead of just destroying it.
* src/nautilus-complex-search-bar.c:
(search_bar_criterion_type_changed_callback): Fix leak of the
criterion object by sinking it instead of destroying it. The
criterion object seems to be a widget that's never used as one.
It should be a GtkObject instead.
* src/nautilus-location-bar.c:
(nautilus_location_bar_set_location): Simplified code a bit by
getting rid of special cases for NULL.
* src/nautilus-main.c: (main): Add workaround for gnome-metadata bug
that was causing a stat and mkdir of NULL. (Yoann helped me find this).
* src/nautilus-window-manage-views.c: (update_title): Fix code that
was freeing the title and then using it afterward. (Yoann helped me
find this).
* src/nautilus-window.c: (refresh_stored_viewers): Fix code so that
it uses g_list_prepend and g_list_reverse instead of using
g_list_append, which is a bad habit.
* components/help/hyperbola-filefmt.c: (get_locale_score),
(locale_score): Fix unused variable and expression warnings, and
fix to match Nautilus coding style.
* libnautilus-private/nautilus-link.c (nautilus_link_local_get_image_uri): avoid un-needed string copy.
* components/help/hyperbola-filefmt.c (locale_score):
free return of xmlGetProp on return. Do not use a char pointer
to point on the returned value, use an xmlChar pointer.
* libnautilus-private/nautilus-link.c (nautilus_link_local_get_link_type): Free the value returned by local_get_root_property.
2001-08-27 Seth Nickell <snickell@stanford.edu>
reviewed by: Maciej
* libnautilus-private/nautilus-link.c: (local_set_root_property):
change a const char * to an xmlChar *, since its being assigned
a newly allocated xml property and promptly freed (and hence isn't
being treated as a const at all).
* src/nautilus-switchable-search-bar.c (nautilus_switchable_search_bar_new):
Don't leak a GtkBox.
* src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget):
Do not check pixmap, check pixbuf. This also fix a leak.
* libnautilus-private/nautilus-link.c (local_set_root_property):
Fix a leak of the xmlProp returned data.
* Makefile.am: Don't build intl since we don't need it the way we
use gettext.
* applets/launcher/Makefile.am: Remove redundant -I$(srcdir).
* applets/preferences-applet/Makefile.am: Remove redundant
-I$(srcdir).
* components/adapter/Makefile.am: Remove redundant -I.
* components/mozilla/Makefile.am: Mark private headers as SOURCES,
not noinst_HEADERS, as suggested by automake book and manual.
* components/news/Makefile.am: Remove unneeded
-I$(top_srcdir)/components/news.
* configure.in: Don't build intl since we don't need it the way we
use gettext.
* libnautilus-adapter/Makefile.am: Remove redundant -I.
* libnautilus-private/Makefile.am: Change -I for new
cut-n-paste-code scheme. Also mark private headers as SOURCES, not
noinst_HEADERS, as suggested by automake book and manual.
* libnautilus/Makefile.am: Remove redundant -I.
* src/Makefile.am: Change -I for new cut-n-paste-code scheme. Also
mark private headers as SOURCES, not noinst_HEADERS, as suggested
by automake book and manual.
* src/file-manager/Makefile.am: Mark private headers as SOURCES,
not noinst_HEADERS, as suggested by automake book and manual.
* check-THANKS.pl: Change Seth's preferred email address.
* cut-n-paste-code/widgets/e-paned/Makefile.am:
* cut-n-paste-code/widgets/gimphwrapbox/Makefile.am:
Don't use -static, since we plan to link
Remove unneeded -I directives now that we handle includes
differently. Also mark private headers as SOURCES, not
noinst_HEADERS, as suggested by automake book and manual.
* cut-n-paste-code/widgets/e-paned/e-hpaned.h:
* cut-n-paste-code/widgets/e-paned/e-vpaned.h:
* libnautilus-private/nautilus-horizontal-splitter.h:
* src/nautilus-complex-search-bar.c:
* src/nautilus-search-bar-criterion.c:
Simpler include scheme for cut-n-paste code.
* libnautilus-private/nautilus-file.c:
(is_special_desktop_gmc_file), (nautilus_file_get_name):
Some new FIXMEs for I/O that's done at bad times -- these could
contribute to the performance problems that Alan Cox reported.
* src/file-manager/fm-directory-view.c:
(set_up_scripts_directory_global): Separate this from the code to
create the scripts directory.
(create_scripts_directory): New function.
(fm_directory_view_initialize): Use set_up_scripts_directory_global.
(open_scripts_folder_callback): Use create_scripts_directory.
starting with a patch by David Emory Watson <dwatson@cs.ucr.edu>.
* src/file-manager/fm-directory-view.c: (get_scripts_directory):
Keep the scripts directory URI and string length in a global
variable.
(add_scripts_directory): New function, replaces
connect_script_handlers. Refs the directory, puts it on the
scripts directory list, and monitors more attributes than before.
(fm_directory_view_initialize): Use add_scripts_directory instead
of connect_script_handlers.
(fm_directory_view_destroy): Use remove_scripts_directory on the
entire list instead of disconnect_script_handlers.
(add_submenu): New function.
(add_script_to_script_menus): Change name, pass in path.
(add_submenu_to_script_menus): New function.
(directory_belongs_in_scripts_menu): New function.
(add_directory_to_scripts_directory_list): New function, high
level call used to turn a NautilusFile into a NautilusDirectory
and call add_scripts_directory.
(update_directory_in_scripts_menu): New function.
(update_scripts_menu): New function, replaces reset_scripts_menu
and uses new nautilus_directory_get_files_list rather than
nautilus_directory_call_when_ready.
(open_scripts_folder_callback): Use new global variable instead
of calling get_scripts_directory.
(real_update_menus): Call update_scripts_menu instead of
schedule_reset_scripts_menu.
(remove_scripts_directory): New function, replaces
disconnect_script_handlers. Removes the directory from the scripts
directory list and unrefs it after disconnecting handlers.
* libnautilus-private/nautilus-directory.h:
* libnautilus-private/nautilus-directory.c: (is_tentative): Moved
from nautilus-directory-async.c.
(nautilus_directory_get_file_list): New, made from formerly-
private get_non_tentative_file_list in nautilus-directory-async.c.
(nautilus_directory_list_ref): New.
(nautilus_directory_list_unref): New.
(nautilus_directory_list_free): New.
(nautilus_directory_list_copy): New.
(compare_by_uri), (compare_by_uri_cover),
(nautilus_directory_list_sort_by_uri): New. Sorrts directories by
URI, parents before children, and children sorted as if by
nautilus_file_list_sort_by_name.
* libnautilus-private/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal), (ready_callback_call):
Use nautilus_directory_get_file_list instead of
get_non_tentative_file_list.
* src/nautilus-main.c: (main):
No longer need to check that we want to kill the nautilus shell
before initializing preferences. I used to do this because of the
way visibilities and defaults were stored using gconf - which led
to problems about too early initialization for gconf. It also
happens that some desktop prefernece checking code was just added
for a situation when the nautilus shell is about to be killed.
That was causing criticals, so thats the end of this now uneeded
check.
2001-08-23 Anders Carlsson <andersca@gnu.org>
* nautilus.spec.in: Remove CONTROL_CENTER_REQUIRED since nautilus
doesn't require control-center anymore.
* configure.in: Remove CONTROL_CENTER_REQUIRED since nautilus
doesn't require control-center anymore.
* src/nautilus-window.c (nautilus_window_constructed):
Set shrink to TRUE when adding the sidebar since it'll look
better when the splitter is collapsed.
(nautilus_window_destroy): Free the window title.
* src/nautilus-window-manage-views.c (begin_location_change):
Unref the directory when we're done using it.
* src/nautilus-sidebar.c (nautilus_sidebar_destroy): Sink
the title tab so it'll destroyed even if it hasn't got a parent.
* libnautilus-private/nautilus-vfs-file.c (vfs_destroy):
Free details struct.
* libnautilus-private/nautilus-vfs-directory.c (vfs_destroy):
Free details struct.
* libnautilus-private/nautilus-mime-actions.c
(nautilus_mime_get_short_list_applications_for_file):
Free uri_scheme.
(make_oaf_query_with_uri_scheme_only): Free explicit_iid_query.
* libnautilus-private/nautilus-metafile.c (destroy):
Unref the private vfs uri, and free the directory uri.
* libnautilus-private/nautilus-file.c (nautilus_file_get_internal):
Free the string returned by nautilus_directory_get_name_for_self_as_new_file.
* libnautilus-private/nautilus-file-changes-queue.c
(nautilus_file_changes_consume_changes):
Free the change struct.
* libnautilus-private/nautilus-directory-async.c
(nautilus_directory_invalidate_count_and_mime_list):
Unref the file after using it.
* libnautilus/nautilus-idle-queue.c (execute_queued_functions):
Free each list node.
(nautilus_idle_queue_destroy): Likewise.
* src/nautilus-main.c: (main):
No longer need to check that we want to kill the nautilus shell
before initializing preferences. I used to do this because of the
way visibilities and defaults were stored using gconf - which led
to problems about too early initialization for gconf. It also
happens that some desktop prefernece checking code was just added
for a situation when the nautilus shell is about to be killed.
That was causing criticals, so thats the end of this now uneeded
check.
* components/music/nautilus-music-view.c: (get_cell_text),
(nautilus_music_view_initialize), (get_song_text),
(music_view_set_selected_song_title), (selection_callback),
(value_changed_callback), (compare_song_numbers),
(compare_song_titles), (compare_song_artists),
(compare_song_times), (compare_song_bitrates), (sort_list),
(click_column_callback), (list_move_vertical), (list_moveto),
(list_reveal_row), (play_current_file), (go_to_next_track),
(nautilus_music_view_update), (nautilus_music_view_load_uri):
Ported to use EelList instead of GtkCList. This looks better and
allows for futre drag and drop support.
* libnautilus-private/nautilus-directory-background.c:
(nautilus_file_background_receive_root_window_changes),
(set_root_pixmap): Trap errors when doing the XKillClient
call inside set_root_pixmap. I don't know why it would
fail, exactly, but we have reports from the field that it
is failing.
NautilusVolume private.
* libnautilus-private/filesystem-attributes.xml: Changed the
"description" string to be named "default_volume_name" and also
marked it to be localized.
* libnautilus-private/nautilus-file-utilities.h:
* libnautilus-private/nautilus-file-utilities.c:
(nautilus_get_data_file_path):
Added a new utility function to locate a file that's either in the
user's directory or in the Nautilus datadir.
* src/nautilus-property-browser.c: (read_browser_xml): Use
nautilus_get_data_file_path.
* libnautilus-private/nautilus-trash-directory.c:
(get_trash_volume):
* libnautilus-private/nautilus-trash-monitor.c:
(add_one_volume_trash):
* src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
(create_unique_volume_name), (create_mount_link),
(volume_unmounted_callback), (update_disks_menu):
* src/nautilus-application.c: (volume_mounted_callback),
(volume_unmounted_callback):
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_get_file_path):
Use only calls from the NautilusVolume public API -- no getting at
the structure directly. Also fix callers that were using
nautilus_volume_monitor_get_volume_mount_uri to correctly
understand that they get the mount path, not the mount URI.
* libnautilus-private/nautilus-volume-monitor.h:
* libnautilus-private/nautilus-volume-monitor.c:
(load_file_system_table): Fix storage leaks. Use the new
nautilus_get_data_file_path. Translate the default volume names as
they are loaded. Check for duplicate entries while loading the
table. Don't bother checking the name of the root node, since
there are plenty of other things about the file that we don't
check and there's no reason we particularly need to check that.
Fix some storage leaks. Free the doc, since I'm not seeing a
"nautilus --quit" segfault.
(nautilus_volume_monitor_initialize): Only initialize stuff that
g_new0 won't set up for us.
(nautilus_volume_is_removable): Rename so it's a call on
NautilusVolume, not the NautilusVolumeMonitor.
(volume_is_removable): Fix logic so we don't have to have so many
different calls to fclose.
(nautilus_volume_get_name): Rename so it's a call on
NautilusVolume, not the NautilusVolumeMonitor.
(modify_volume_name_for_display): Don't bother supplying a name if
passed NULL, since that won't ever be helpful the way this is used.
(nautilus_volume_get_target_uri): Rename so it's a call on
NautilusVolume, not the NautilusVolumeMonitor.
(nautilus_volume_should_integrate_trash): Rename so it's a call on
NautilusVolume, not the NautilusVolumeMonitor. Get the information
from the file system type, so we don't have to copy it into each
NautilusVolume object.
(nautilus_volume_get_mount_path): Rename so it's a call on
NautilusVolume, and don't call it a URI since it's really a path.
(nautilus_volume_get_device_type): New call.
(make_volume_name_from_path): Get the default from the file system
type rather than passing it in.
(free_mount_list): Get rid of some dumb extra code.
(copy_volume), (nautilus_volume_free): Update for smaller set of
fields.
(create_volume), (finish_creating_volume),
(finish_creating_volume_and_prepend): Restructure so we don't need
to keep so much stuff around in the NautilusVolume object.
* src/nautilus-first-time-druid.c:
(druid_set_first_time_file_flag): Some tiny tweaking.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (get_song_text), (sort_list),
(click_column_callback), (ensure_uri_is_image),
(nautilus_music_view_update): A bunch of code cleanup; stop using
hidden columns in the list view and try to pave the way for better
model/view separation.
* src/nautilus-main.c (main): set DISPLAY variable to
canonicalized version; this is needed to make
2001-08-14 Seth Nickell <snickell@stanford.edu>
Load filesystems from an XML file rather than hardcoding
the various attributes and behaviors. Some properties, such
as for CDDA and NFS, are still hardcoded because they require
actual code. This also makes it easier to add new filesystems.
* libnautilus-private/filesystem-attributes.xml
Filesystem description file.
* libnautilus-private/Makefile.am:
Add filesystem-attribute.xml to the build.
* libnautilus-private/nautilus-volume-monitor.c:
(mount_volume_prepend_filesystem):
Don't try to detect filesystem strings and associate them
with an enumeration type...nix the enumeration altogether
since its not compatible with dynamically loading the
filesystems.
(get_xml_path), (load_filesystem_attributes_table)
Functions for reading in filesystem-attribute.xml and
loading the various filesystems into a hashtable.
(nautilus_volume_monitor_initialize)
Read in the filesystem attributes table.
(get_removable_volumes), (mount_volume_deactivate),
(get_mount_list), (get_current_mount_list),
(verify_current_mount_state)
Take a file attributes hashtable, or pass one to a
subfunction.
(nautilus_volume_monitor_get_target_uri),
CDDA is the only system we need to deal with in an unusual
way. Take out a long list and just check for CDDA.
(nautilus_volume_monitor_should_integrate_trash)
Use information read from the file rather than hardcoding
a list of filesystems that can use trash (should be the
same for now).
(make_volume_name_from_path), (mount_volume_make_name)
Get name out of the filesystem table rather than hardcoding.
(mount_volume_iso9660_add)
We were deciding if a device was *really* a CDROM by
doing an ioctl on it to determine the drive status. This
is a good check...except that on systems using DevFS
devices can be user mountable without being user readable
by default. Also, on my system it fails if there's no
disk in the drive itself.
(mount_volume_auto_add)
Continue setting the device if its a floppy drive (eventually
this should probably be cleaned out too), but don't set the
filesystem type since we don't use the enum anymore.
(mount_volume_cdda_add)
Set as a CDDA device, but not a CDDA volume (since we don't
have hardcoded volume types anymore).
(mount_volume_nfs_add)
Don't set NFS type since the enum was blown away.
(create_volume)
Accept a filesystem table and set attributes read from
filesystem-attributes.xml if a volume's filesystem is found
in the table. Perhaps eventually we should just assign a
reference to the volume entry, but this was simpler for
now since some functions modify things like the description.
(copy_volume)
Deal with copying the new attributes.
* libnautilus-private/nautilus-volume-monitor.h:
Nix the filesystem enumeration. Change NAUTILUS_DEVICE_CD_ROM
to NAUTILUS_DEVICE_CDROM
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(update_disks_menu):
Deal with rename of NAUTILUS_DEVICE_CD_ROM
* src/nautilus-application.c: (volume_mounted_callback):
Deal with rename of NAUTILUS_DEVICE_CD_ROM
* AUTHORS:
Update E-mail address.
* configure.in:
Make "FAM not found" warning a little more serious and
informative. We particularly want to encourage distributors
to enable FAM support.
2001-08-11 Seth Nickell <snickell@stanford.edu>
Trying to make nautilus volume monitor work more
reliably. First step is to make the codebase more
maintainable so I can start tracking down bugs in
the volume monitor more easily.
(I get complaints about this from friends, family, and
coworkers all the time, so there must be some/one bugs).
* libnautilus-private/nautilus-volume-monitor.h:
* libnautilus-private/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class),
(nautilus_volume_monitor_get_target_uri),
(nautilus_volume_monitor_should_integrate_trash),
(mount_volume_make_name), (mount_volume_deactivate),
(mount_volume_generic_add), (mount_volume_prepend_filesystem):
Remove mount_volume_*_add for filesystems that do
effectively the same thing. This added a large amount of
clutter to a module that already has a lot of similar
functions. Add a generic function that accepts the filesystem
type, and change calls to use this.
Fix signal in initialize_class to be "nautilus_volume_unmount_failed"
rather than "nautilus_volume_unmoun_failed" (nobody was assuming
the broken behavior eithe, I checked, maybe this will fix something).
Renamed NAUTILUS_VOLUME_REISER to NAUTILUS_VOLUME_REISERFS
to maintain the naming convention the other filesystems use.
Changed "unsdos" to "umsdos" everywhere. I don't think a unsdos
filesystem exists, after web searches, and umsdos *is* one of
the basic Linux filesystems. I suspect somebody misread a filesystem
name browsing the kernel compilation menu or somesuch.
Removed redundant (and erroneous) check for "ufs" type filesystems
(the check was already listed in the if then statement above).
* components/mozilla/mozilla-events.cpp:
* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
Add an include of nsIContentView.h in the hopes that this
will make it work with newer Mozilla sources.
* libnautilus-private/nautilus-thumbnails.c:
(pixel_matches_value): Simplify logic.
(pixbuf_is_framed): Do size and format reality checks on pixbuf
before reading the pixels.
(nautilus_thumbnail_load_framed_image): Handle case where the
pixbuf loading failed. Handle case where there's no frame. Handle
case where the frame offsets in the theme data is improperly
formatted.
Added gnome-vfs authentication dialog support.
Currently works with HTTP basic and proxy authentication.
A bug causes the dialog to appear more than once in quick succession
in some cases.
Separate processes (eg sidebar components) that need to access
a protected URL will also pop open their own individual dialogs
at this point
There's also no integration with Mozilla at this point, so
Mozilla too will prompt separately.
This code works against gnome-vfs head and the gnome-vfs-1-0
branch, as well as the soon-to-be-released gnome-vfs 1.0.2