2002-07-02 Dave Camp <dave@ximian.com>
* src/nautilus-shell-ui.xml: Applied patches from Juan Salaverria
<rael@vectorstar.net> to change "Up a Level" to "Up", and to add a
separator between Up and Home. Fixes ui review bugs 82313 and
82109.
2002-07-02 Dave Camp <dave@ximian.com>
* src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
* src/file-manager/fm-directory-view.c:
(reset_bonobo_open_with_menu), (real_update_menus): Use
nautilus_bonobo_set_label instead of
nautilus_bonobo_set_label_for_menu_item_and_command, since popups
should now have mnemonics.
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
* src/file-manager/nautilus-directory-view-ui.xml:
* src/file-manager/nautilus-icon-view-ui.xml:
* src/nautilus-shell-ui.xml: Added mnemonics to items on the popup
menus, changed some mnemonics to prevent duplicates (including a
patch from David Bordoley <bordoley@msu.edu>
* libnautilus-private/nautilus-bonobo-extensions.c:
(nautilus_bonobo_set_label_for_toolitem_and_command): Moved here
from nautilus_bonobo_set_label_for_menu_item_and_command, since
popups should display mnemonics. This function isn't used
anymore, but I'm leaving it in because it is still useful if we
ever want to change the label of a verb with a toolbar button
associated with it.
2002-07-02 Dave Camp <dave@ximian.com>
* src/nautilus-application.c (set_session_restart): Set the
restart style to RESTART_IF_RUNNING instead of RESTART_NEVER when
restart is FALSE.
2002-07-01 Dave Camp <dave@ximian.com>
* src/nautilus-window-menus.c: (forget_history_if_confirmed):
Change wording as suggested in the ui review, bug #85668.
2002-07-01 Dave Camp <dave@ximian.com>
Changes from the UI review, bug #85669.
* libnautilus-private/nautilus-program-chooser.c:
(run_program_configurator_callback): Changed the wording.
(nautilus_program_chooser_instance_init): Added a mnemonic to the
Choose button.
(nautilus_program_chooser_new): Refer to the File Types and
Programs dialog rather than the (now nonexistant) GNOME Control
Center.
(nautilus_program_chooser_show_no_choices_message): Changed the
wording.
2002-06-28 Christian Rose <menthos@menthos.com>
* src/nautilus-bookmarks-window.c,
src/nautilus-preferences-dialog.c,
src/nautilus-property-browser.c: Added line break to help error
message.
2002-06-28 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_bounds):
Fix bounds so we don't leave trails from the selected text rect.
2002-06-28 Alexander Larsson <alexl@redhat.com>
* icons/gnome/throbber/Makefile.am:
* icons/gnome/throbber/001-006.png:
* icons/gnome/gnome.xml:
New throbber for gnome theme.
Drawn by Ben FrantzDale <bfrantzdale@hmc.edu>
2002-06-28 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-directory.c
(nautilus_directory_file_list_length_reached): use the
key here.
* libnautilus-private/apps_nautilus_preferences.schemas:
add directory_limit, so it's not a hard coded '4000'.
2002-06-28 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/apps_nautilus_preferences.schemas
* libnautilus-private/nautilus-global-preferences.c
* libnautilus-private/nautilus-global-preferences.h
* libnautilus-private/nautilus-program-choosing.c
Removed xalf preferences and all remaining code references
to xalf since we no longer support xalf in nautilus.
* src/nautilus-window-menus.c
Removed unused define for old help.
Patch from David Bordoley <bordoley@msu.edu>
2002-06-28 Alexander Larsson <alexl@redhat.com>
* icons/default/Makefile.am (icon_DATA):
* icons/default/trash-empty-192.png:
* icons/default/trash-full-192.png:
Added new 192 pixel versions of trash icon.
Drawn by Ben FrantzDale <bfrantzdale@hmc.edu>
2002-06-28 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-volume-monitor.c:
Don't eject when things are unmounted.
Eject when we're explicitly unmounting a volume.
* libnautilus-private/nautilus-volume-monitor.h:
Add should_eject to nautilus_volume_monitor_mount_unmount_removable.
* src/file-manager/fm-desktop-icon-view.c:
Pass should_eject right.
2002-06-27 Frank Worsley <fworsley@shaw.ca>
* libnautilus-private/nautilus-program-choosing.c:
(nautilus_launch_desktop_file): use eel vfs capabilities
to determine if file is safe to launch
2002-06-27 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-volume-monitor.c
(finish_creating_volume): Save the volume device earlier, since
nfs and smbfs file systems were causing the function to return
before the device was being saved. This fixes a bug where the
"Unmount Volume" menu item wasn't working on nfs and smbfs mounts.
2002-06-25 Shivram U <shivaram.upadhyayula@wipro.com>
* libnautilus-private/nautilus-directory-background.c
(make_root_pixmap): Set the Colormap for the GdkPixmap created via
gdk_pixmap_foreign_new(). Fix for bug #83259.
2002-06-25 Frank Worsley <fworsley@shaw.ca>
* components/tree/nautilus-tree-view.c:
(got_activation_uri_callback):
implement viewing/opening and executing of files
for the tree view
* libnautilus-private/nautilus-dnd.c:
* libnautilus-private/nautilus-link-desktop-file.c:
* libnautilus-private/nautilus-link-historical.c:
updated for new desktop-file: command specifier to allow
proper launching of desktop files
* libnautilus-private/nautilus-program-choosing.c:
(nautilus_launch_desktop_file):
new function to launch desktop files with proper exec
parameter support
* libnautilus-private/nautilus-program-choosing.h:
define command specifiers in one place
* src/file-manager/fm-directory-view.c:
(get_executable_text_file_action):
add "run in terminal" button, partial fix for #41773
(activate_callback), (fm_directory_view_move_copy_items):
support proper launching of and dnd to desktop files
2002-06-25 Dave Camp <dave@ximian.com>
* src/file-manager/fm-icon-view.c (get_icon_drop_target_uri_callback):
Use eel_vfs_has_capability() to test for locality of the drop
target. Fixes#82644.
2002-06-24 Damon Chaplin <damon@ximian.com>
* components/music/nautilus-music-view.c (get_song_text): if there are
no tracks in the list just return "".
(play_current_file): if there are no tracks in the list just return.
Fixes bug #85975.
2002-06-24 Damon Chaplin <damon@ximian.com>
* src/nautilus-theme-selector.c (theme_selector_changed_callback):
added a final NULL argument to g_signal_emit(). Fixes bug #85399.
* src/nautilus-preferences-dialog.c (theme_changed_callback): just
return if selected_theme is NULL. This can happen when the dialog is
being destroyed.
2002-06-20 Mark McLoughlin <mark@skynet.ie>
* src/file-manager/fm-desktop-icon-view.c:
(icon_container_set_workarea): impl method to set icon
container margins from workarea geometries.
(net_wm_workarea_changed): renamed from panel_desktop_area_changed
and uses _NET_WM_WORKAREA instead of GNOME_PANEL_DESKTOP_AREA.
(desktop_icon_view_property_filter), (fm_desktop_icon_view_init):
update.
2002-06-17 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-container.c:
(find_open_grid_space), (mark_icon_location_in_grid): Add
DESKTOP_PAD_[HORIZONTAL,VERTICAL] to width and height to avoid new
icons from being placed too closely to other icons, and don't
place an icon partially outside of the grid.
(lay_down_icons_tblr): Wrap before placing the icon if necessary,
and reset max_width when moving to a new column.
2002-06-14 Damon Chaplin <damon@ximian.com>
* src/nautilus-preferences-dialog.c (preferences_show_help): new
function to show the help file.
(dialog_button_response_callback): handle the Help button and show
the appropriate help file.
(preferences_dialog_create): add a Help button.
Based on patch from Satyajit Kanungo <satyajit.kanungo@wipro.com>.
Fixes bug #83511.
2002-06-13 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_symbolic_link_target_uri): Escape the symlink
name before constructing the uri. Fixes#84004.
2002-06-12 Damon Chaplin <damon@ximian.com>
* src/nautilus-property-browser.c (nautilus_property_browser_init):
Add a 'Help' button on the bottom-left of the dialog. Also used
gtk_window_set_default_size() rather than gtk_widget_set_size_request()
so the dialog grows if necessary.
(help_button_callback): new callback to show the help page.
Based on patch from Satyajit Kanungo <satyajit.kanungo@wipro.com>.
Fixes bug #83524.
2002-06-03 David Emory Watson <dwatson@cs.ucr.edu>
* src/file-manager/fm-list-view.c:
(get_derfault_zoom_level): New, protects us from illegal preferences.
(set_zoom_level_from_metadata_and_preferences),
(fm_list_view_reset_to_defaults),
(fm_list_view_set_zoom_level),
(fm_list_view_restore_default_zoom_level): Update.
(fm_list_view_scale_font_size): Replace switch with loop and always
use default font at default zoom level.
(click_policy_changed_callback): Make underlines appear or disappear
when the click policy changes.
2002-06-02 David Emory Watson <dwatson@cs.ucr.edu>
* components/text/nautilus-text-view.c:
(nautilus_text_view_instance_init): Turn on word wrapping.
2002-06-12 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-program-chooser.c: change
vbox spacing to 5.
Patch from Jorn Baayen <jorn@nl.linux.org>
2002-06-10 Frank Worsley <fworsley@shaw.ca>
* src/nautilus-application.c:
* src/nautilus-window-manage-views.c:
* src/nautilus-window.c:
* src/nautilus-window.h:
always load the saved window geometry and save the geometry
whenever a window is resized
2002-05-29 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* nautilus-bookmarks-window.c: added a help button in the bookmark
dialog box. put the help callback to link the help button to
appropiate section in the help document. Fixes#83515.
2002-06-06 Michael Meeks <michael@ximian.com>
* src/file-manager/fm-icon-view.c
(icon_view_handle_uri_list): use new eel
capabilities test.
* configure.in: require various gnome 2.0 releases.
* Version 2.0.0
2002-06-06 Michael Meeks <michael@ximian.com>
* configure.in: Only enable the hardware view on
Linux, if explicitely requested with --enable-hardware
add status printout at the end of configure.
* components/hardware/Makefile.am
(bin_PROGRAMS): only setup if ENABLE_HARDWARE_VIEW
2002-06-02 Frank Worsley <fworsley@shaw.ca>
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-list-view.c:
always use the user selected font at default zoom
nice if you have a small/large default zoom so you
don't have a tiny/large font
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
* nautilus-window-menus.c : Added the help callback to link the
Help documents present under user-guide for nautilus.
2002-05-31 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-canvas-item.c:
Draw drop shadows if use_drop_shadows.
* libnautilus-private/nautilus-icon-container.c:
Implement nautilus_icon_container_set_use_drop_shadows.
Use light color for labels if use_drop_shadows.
* libnautilus-private/nautilus-icon-container.h:
Add new function nautilus_icon_container_set_use_drop_shadows.
* libnautilus-private/nautilus-icon-private.h:
Add use_grop_shadow variable.
* src/file-manager/fm-desktop-icon-view.c:
Call nautilus_icon_container_set_use_drop_shadows()
2002-05-31 Damon Chaplin <damon@ximian.com>
* src/nautilus-application.c
(nautilus_application_create_desktop_window): realize the desktop
window immediately, and do a gdk_flush(), so the
NAUTILUS_DESKTOP_WINDOW_ID property is set and gnome-settings-daemon
can tell that nautilus is running. Fixes part of #74311.
2002-05-31 Michael Meeks <michael@ximian.com>
* src/file-manager/fm-directory-view.c
(display_pending_idle_callback): only NIL the idle_id
if we are going to return FALSE and disconnect
ourselves #83591
2002-05-30 Dave Camp <dave@ximian.com>
* src/file-manager/fm-desktop-icon-view.c
(fm_desktop_icon_view_init): Setup the root window to receive
PropertyNotify events.
2002-05-30 Dave Camp <dave@ximian.com>
* src/file-manager/fm-directory-view.c (process_new_files): Don't
add files to old_changed_files if they are not shown.
2002-05-30 Dave Camp <dave@ximian.com>
* src/nautilus-application.c (set_session_restart): Don't set the
restart command here.
(save_session): Implemented.
* src/nautilus-window-manage-views.c (update_title): Set the role
to the displayed uri.
2002-05-25 David Bordoley <bordoley@msu.edu>
*src/nautilus-window-menus.c
*src/nautilus-shell-ui.xml
Changed names of callbacks for "backgrounds and emblems" and preferences
to make them more descriptive.
*src/nautilus-windows-menus.c
Removed unused code relating to eazel customer feedback
Use stock clear button in the clear history dialog
Thu May 30 13:14:58 2002 George Lebl <jirka@5z.com>
* src/file-manager/fm-desktop-icon-view.c,
src/file-manager/nautilus-desktop-icon-view-ui.xml: Rename
the New Launcher verb to "New Launcher Desktop" since it's sort
of a more special case then the one in directory-view. This
fixes the issue with the fix of #72715
2002-05-30 Damon Chaplin <damon@ximian.com>
* src/nautilus-property-browser.c: use a separate pointer for each
of the patterns/emblems/color dialogs, and make them not modal.
It was using 'property_browser->details->category' in some of the
callbacks, which meant it didn't work if the user had switched to one
of the other patterns/colors/emblems pages. I hard-coded "patterns"
and "emblems" instead.
2002-05-30 Damon Chaplin <damon@ximian.com>
* components/music/nautilus-music-view.c: removed PLAYER_NEXT state,
as it wasn't really necessary and was a bit confusing.
(selection_changed): updated to make sure we update the displayed
song title.
(play_status_display): changed the code to move to the next track,
as we don't use PLAYER_NEXT any more.
(play_current_file): use esdout_can_play() to check if we can connect
to esd.
(go_to_previous_track): use 3000 instead of 300. (1000 is 1 second,
see play_status_display()).
(get_player_state): just return the state. Don't call esdout_playing().
* components/music/esd-audio.c (esdout_can_play): added new function
to check if we can connect to esd.
(esdout_playing): updated this so it only checks if we are currently
playing a track. It doesn't try to connect to esd any more.
Fixes bug #79231.
2002-05-30 Damon Chaplin <damon@ximian.com>
* src/nautilus-bookmarks-window.c: Added support for DnD using
GtkTreeView. I added on_row_changed() and on_row_deleted() and removed
the old on_row_move(). I also added an extra column to the table to
store a pointer to the bookmark object, so we can handle DnD.
And a few hacks to keep the list store in sync with the bookmarks
list. Fixes bug #80986.
2002-05-30 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c (size_allocate):
Don't relayout when window height changes unless we need it.
Based on a patch by Jrgen Viksell <jorgen.viksell@telia.com>
Thu May 30 10:02:30 2002 George Lebl <jirka@5z.com>
* src/Nautilus_shell.server.in, src/file-manager/fm-directory-view.c,
src/file-manager/nautilus-directory-view-ui.xml: Add a New
Launcher and Edit Launcher menu items for directories of type
x-directory/vfolder-desktop, also have the icon and list view
be able to view these just as the normal dirs. This should fix
#72715, although since the monitors aren't yet working you have
to hit reload after making a change. You also need an up to date
panel (to get a well working gnome-desktop-item-edit proggie)
2002-05-29 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-file.c
(nautilus_file_mark_gone): remove the file from
the link hash if it is going, since we bin the
file info here and thus can't remove it later
#74120
2002-05-27 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-file.c (make_valid_utf8):
split out into eel.
(nautilus_file_get_display_name_nocopy): upd.
requires HEAD eel, re-re-close #77892
2002-05-27 Jonathan Blandford <jrb@gnome.org>
* components/tree/nautilus-tree-model.c
(TreeNode): make flag storage more efficient.
(report_node_inserted): report has_child toggled before
reporting row_inserted.
* components/tree/nautilus-tree-view.c
(row_inserted_expand_node_callback): remove evil hack to
emit has_child toggled on the view.
2002-05-24 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-desktop-icon-view.c: (volume_ops_callback):
Don't exit if the file is local. Sigh, won't people test their code?
* src/file-manager/fm-directory-view.c: (activate_callback):
Special case "file" type URIs, so that people can still open
their nfs mounted directories.
* src/nautilus-window-private.h:
* src/nautilus-window-toolbars.c:
(nautilus_window_initialize_toolbars):
* src/nautilus-window.c: (nautilus_window_finalize):
Remove un-needed theme code.
2002-05-24 Michael Meeks <michael@ximian.com>
* components/tree/nautilus-tree-view.c
(row_inserted_expand_node_callback): work around the
aformentioned gtk+ bug, since it seems not to be being fixed.
2002-05-24 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-dnd.c
(drag_data_received_callback): fix proximate cause of #80896
* libnautilus-private/nautilus-icon-container.c
(nautilus_icon_container_update_icon): fix proximate cause
of #78568.
2002-05-23 Alex Graveley <alex@ximian.com>
* libnautilus-private/nautilus-link-desktop-file.c
(nautilus_link_desktop_file_local_create): Don't dup the string if
there is an icon.
2002-05-23 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-thumbnails.c: major changes to use a
thread to create thumbnails instead of forking for each one. May fix
bug #78542 and #76338.
2002-05-23 Michael Meeks <michael@ximian.com>
This change only partially works, it works correctly
with a fix to Gtk+ from jrb, but then dies with multiple
views.
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_finalize): don't de-queue idle
epansion state save.
(schedule_save_expansion_state_callback),
(save_expansion_state_idle_callback): kill.
(create_tree): don't save the gconf key on each
row expand / contract.
(nautilus_tree_view_instance_init): setup expanded_uris.
(load_expansion_state): kill.
(row_inserted_expand_node_callback): impl.
(create_tree): connect signal, always expand root.
(load_expansion_state): impl.
(save_expansion_state_callback): rename.
(expand_row_if_stored): impl.
Sigh - I spent hours working out there was a sort_path.
* components/tree/nautilus-tree-model.c
(nautilus_tree_model_new): optionally set the root.
(nautilus_tree_model_set_root_uri): publicise.
(nautilus_tree_model_iter_has_child): add some debug.
2002-05-23 Alex Larsson <alexl@redhat.com>
* src/file-manager/fm-directory-view.c:
Move disconnect_model_handlers from finalize to destroy.
This fixes a problem with signals arrive after the view is destroyed.
Patch from Gustavo Girldez <gustavo.giraldez@gmx.net>
2002-05-23 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-link-historical.c (nautilus_link_historical_local_create_from_gnome_entry):
Update to new gnome-desktop api.
2002-05-22 Alex Graveley <alex@ximian.com>
* configure.in: Remove FAM check.
* acconfig.h: Remove HAVE_LIBFAM.
* libnautilus-private/nautilus-monitor.[ch]: Convert to using
gnome-vfs monitors. nautilus_monitor_active() now checks if FAM
can be used by creating a monitor for the user's desktop
directory, and caches this if successful. Adds an idle handler to
call nautilus_file_changes_consume_changes(), so multiple file
changes have a chance of being chunked together.
2002-05-20 Jorn Baayen <jorn@nl.linux.org>
* src/nautilus-shell-ui.xml:
* src/nautilus-window-private.h:
* src/nautilus-window-toolbars.c: always use the gtk stock
icons in toolbars, set the priority property for some buttons,
add history dropdown buttons, remove rightclick menu.
2002-05-22 Michael Meeks <michael@ximian.com>
* src/file-manager/fm-directory-view.c
(display_selection_info_idle_callback): hold a ref
during the duration of the call, to guard against
re-enterancy related sudden death #72991
(display_pending_timeout_callback),
(update_menus_timeout_callback),
(display_pending_idle_callback): ditto for good
measure.
2002-05-22 Michael Meeks <michael@ximian.com>
* src/nautilus-window.c (ui_idle_handler): hold a ref
on the window while we do a load of possibly
re-enterant stuff. #82050
2002-05-22 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-dnd.c (add_one_uri):
add the full, non-mangled, clean, escaped URI.
(is_path_that_gnome_uri_list_extract_filenames_can_parse),
(add_one_compatible_uri): #ifdef out these abominations :-)
Fixes bug #48423, breaks a certain level of
compatibility with gnome-libs 1.4, inasmuch that
complex URLs, containing strange characters will not
be backwards compatible.
* src/nautilus-window-manage-views.c (open_location):
add a eel_uri_is_valid check, so the next #48423 is easier
to track.
2002-05-21 Frank Worsley <fworsley@shaw.ca>
* libnautilus-private/nautilus-link-desktop-file.c:
(nautilus_link_desktop_file_local_create): allow creation
of desktop files without a nautilus icon
* src/file-manager/fm-icon-view.c:
(icon_view_handle_uri_list): make dnd of uri lists work right
2002-05-21 Michael Meeks <michael@ximian.com>
* src/nautilus-sidebar-tabs.c (get_property_bag):
cache the property bag item, so we're not forever
querying for it.
(tab_item_destroy): re-write, belt and braces.
(nautilus_sidebar_tabs_connect_view): update.
(get_tab_image_name): don't release the property bag.
(nautilus_sidebar_tabs_update_indicator): kill, unused.
(nautilus_sidebar_tabs_add_view): associate the tab
with it's parent.
(tab_indicator_changed_callback): update just 1 tab.
(nautilus_sidebar_tabs_update_all_indicators): remove,
not what we wanted anyway.
(nautilus_sidebar_tabs_update_tab_item): update sig.
2002-05-21 Michael Meeks <michael@ximian.com>
* src/file-manager/fm-list-view.c
(list_activate_callback): move this code
(event_after_callback): into here, it seems we get
the event after the callback whether handled or not.
(create_and_set_up_tree_view): unhook list_activate.
2002-05-20 Michael Meeks <michael@ximian.com>
* src/nautilus-window-menus.c
(refresh_bookmarks_menu): hold refs on the window,
in case we re-enter during bookmark build and destroy
it.
2002-05-20 Alex Graveley <alex@ximian.com>
* libnautilus-private/nautilus-link-desktop-file.c
(nautilus_link_desktop_file_local_create): Force saving of desktop
file to counteract bug in libgnome-desktop.
2002-05-21 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-directory-view.c: (finish_loading):
Schedule an idle instead of a timeout when we know all the
files in the directory.
2002-05-17 Alex Graveley <alex@ximian.com>
* src/file-manager/fm-icon-view.c
(get_icon_drop_target_uri_callback): Pass file URI to
nautilus_link_*, instead of local path.
(icon_view_handle_uri_list): Ditto, for parent directory.
(icon_view_handle_uri_list): Ditto.
* src/file-manager/fm-icon-container.c
(fm_icon_container_get_icon_text): Pass file URI to
nautilus_link_*, instead of local path.
(get_sort_category): Ditto.
* src/file-manager/fm-directory-view.c
(fm_directory_link_type_in_selection): Pass file URI to
nautilus_link_*, instead of local path.
(special_link_in_selection): Ditto.
* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
Pass file URI to nautilus_link_*, instead of local path.
(trash_link_is_selection): Ditto.
(volume_link_is_selection): Ditto
(volume_link_device_type): Ditto.
* libnautilus-private/nautilus-file.c (rename_guts): Pass file URI
to nautilus_link_desktop_file_local_set_text(), handle non-local
launchers gracefully.
* libnautilus-private/nautilus-link-desktop-file.c: Use URIs
throughout, and load desktop items using
gnome_desktop_item_new_from_uri.
(nautilus_link_desktop_file_local_create): Use
gnome_desktop_item_new_from_string, instead of using fputs
directly.
* libnautilus-private/nautilus-link-historical.c: Use URIs instead
of local paths throughout.
* libnautilus-private/nautilus-link.c: Use URIs instead of local
paths throughout.
2002-05-17 Damon Chaplin <damon@ximian.com>
* src/file-manager/fm-list-view.c (key_press_callback): new function
to activate the selected items when Return is pressed, to match the
icon view. Fixes bug #74976.
2002-05-17 Michael Meeks <michael@ximian.com>
* configure.in: require libbonoboui >= 1.116.1 [ CVS ]
* src/file-manager/fm-list-model.c
(fm_list_model_clear): add pre-condition.
* src/file-manager/fm-list-view.c
(create_and_set_up_tree_view): hold a ref on the model.
(fm_list_view_dispose): impl.
(fm_list_view_class_init): upd.
(fm_list_view_clear): only clear a non NULL model.
* src/file-manager/fm-icon-view.c
(get_icon_container): return NULL if we've no container.
(fm_icon_view_clear): tolerate a NIL icon_container
( on a 2nd dispose perhaps )
* libnautilus-private/nautilus-directory-background.c
(nautilus_file_background_read_desktop_settings): check
the wallpaper_filename is not empty.
* src/file-manager/fm-directory-view.c
(fm_directory_view_destroy): hoist pointer
NULLification up the method.
2002-05-16 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-bookmark.c
(nautilus_bookmark_get_pixmap_and_mask): kill, unused.
2002-05-16 Damon Chaplin <damon@ximian.com>
* configure.in (FAM_LIBS): applied patch from Ali Akcaagac to save the
language and switch to C++. Almost identical to the gnome-vfs patch
which has been approved. Fixes bug #80827.
2002-05-16 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-container.c
(select_matching_name): free match_state's name
if we have no icon.
* libnautilus-private/nautilus-undo-signal-handlers.c
(editable_register_edit_undo): don't leak undo_text.
* src/nautilus-location-bar.c (try_to_expand_path):
unref the URI after use.
2002-05-16 Michael Meeks <michael@ximian.com>
* icons/tahoe/tahoe.xml:
* icons/gnome/gnome.xml:
* icons/sierra/sierra.xml:
* icons/crux_teal/crux_teal.xml:
* icons/crux_eggplant/crux_eggplant.xml:
* icons/default/default.xml: put back the old
nautilus values, keep the new values in
number_v_2_offset.
* src/nautilus-zoom-control.c (draw_number):
ask for number_v_2_offset so we can keep theme
compatibility and get offsets right. Mostly
we want 0 for the offset anyway, so this
automagically gets most things right.
2002-05-15 Sean Atkinson <sean@cantab.net>
* src/nautilus-window-manage-views.c
(get_history_list_callback):
* libnautilus/nautilus-view.c (history_dup):
* libnautilus/nautilus-view-component.idl:
Remove icon XML string from HistoryItem.
* components/history/nautilus-history-view.c
(update_history): Use bookmark icon, not XML one.
* components/history/nautilus-history-view.h: Moved some stuff
from nautilus-history-view.c here for libmain.c.
* components/history/Nautilus_View_history.server.in: Changed exe
to shlib to run history in-process.
* components/history/libmain.c: Added for shared library.
* components/history/Makefile.am: Build shared library.
2002-05-13 Frank Worsley <fworsley@shaw.ca>
* libnautilus-private/nautilus-file.c:
enable renaming of .desktop files by setting the Name
attribute within the .desktop file
* libnautilus-private/nautilus-link-desktop-file.c:
added nautilus_link_desktop_file_local_set_text
2002-05-10 David Emory Watson <dwatson@cs.ucr.edu>
* src/file-manager/fm-list-view.c:
(list_activate_callback),
(click_policy_changed),
(fm_list_view_class_init): Update to use click_policy_auto_value.
(rows_reordered_callback): Renamed to
(sort_column_changed_callback): this and only write preferences to disk
if they differ from the defaults.
(default_sort_order_changed_callback)
(fm_list_view_instance_init): React to changes in the defaults.
* src/file-manager/fm-list-model.c:
* src/file-manager/fm-list-model.h:
(fm_list_model_get_nautilus_file_sort_type): Renamed to
(fm_list_model_get_sort_type_from_sort_column_id): this.
(fm_list_model_compare_func): Update.
(fm_list_model_add_file): Update.
2002-05-13 Alex Larsson <alexl@redhat.com>
* configure.in:
* NEWS:
Bump version number
2002-05-13 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-operations.c:
Make empty trash confirmation dialog title say "Empty Trash?"
instead of "Delete Trash Contents?".
2002-05-13 Michael Meeks <michael@ximian.com>
* src/nautilus-window.c (nautilus_window_show_toolbar):
activate the throbber in case we didn't earlier.
* src/nautilus-window-toolbars.c
(nautilus_window_activate_throbber): split out of
(nautilus_window_initialize_toolbars): here,
only activate the throbber if we are starting
with a toolbar.
* src/nautilus-window.c:
(nautilus_window_show_toolbar, nautilus_window_hide_toolbar): move
into nautilus-window-toolbars.
* libnautilus/nautilus-view-standard-main.c
(object_destroyed): upd. comment.
(make_object): prune bogus comment.
(nautilus_view_instrument_for_failure): impl.
(object_destroyed): only do 1 destroy ever, rename
(view_object_destroy): to this.
(make_object): upd.
(nautilus_view_never_got_frame_timeout),
(nautilus_view_set_frame_callback),
(nautilus_view_cnx_broken_callback): impl.
2002-05-12 Alexander Larsson <alla@lysator.liu.se>
* src/file-manager/fm-directory-view.c
(clipboard_targets_received, real_update_menus):
Make sure to keep a ref to the view until we got the response.
Handle the case the detail->ui was destroyed (it's a weak ref).
2002-05-11 Alex Larsson <alexl@redhat.com>
* components/music/nautilus-music-view.c: (set_up_tree_view):
Don't use custom font.
* libnautilus-private/apps_nautilus_preferences.schemas:
Add preferences/desktop_font.
Remove old fonts keys
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_display_name_nocopy):
Don't leak.
* libnautilus-private/nautilus-global-preferences.c:
* libnautilus-private/nautilus-global-preferences.h:
Remove old font prefs. Add desktop font prefs.
* libnautilus-private/nautilus-icon-canvas-item.c:
(create_label_layout):
Use default widget font unless one is set.
* libnautilus-private/nautilus-icon-container.c: (finalize),
(style_set), (nautilus_icon_container_class_init),
(nautilus_icon_container_instance_init),
(nautilus_icon_container_set_font):
* libnautilus-private/nautilus-icon-container.h:
* libnautilus-private/nautilus-icon-private.h:
Change nautilus_icon_container_set_font_name to
nautilus_icon_container_set_font.
Change font_size_table to have the difference from the base font size.
Invalidate labels on style_set.
* libnautilus-private/nautilus-icon-factory.c:
(embedded_text_font_changed_callback), (embed_text):
Use default widget font for embedded text.
* src/nautilus-preferences-dialog.c:
* src/nautilus-sidebar-title.c:
Remove font prefs. Update on style_set.
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_class_init),
(nautilus_sidebar_tabs_load_theme_data), (style_set),
(nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy),
(make_tab_text_layout):
Use normal gtk+ fonts.
* src/file-manager/fm-desktop-icon-view.c: (font_changed_callback),
(fm_desktop_icon_view_update_icon_container_fonts),
(fm_desktop_icon_view_init):
Use desktop font.
* src/file-manager/fm-icon-view.c:
(default_zoom_level_changed_callback), (create_icon_container),
(fm_icon_view_instance_init):
(nautilus_sidebar_title_class_init), (style_set),
(nautilus_sidebar_title_init), (update_title_font):
Remove font handling.
2002-05-10 Anders Carlsson <andersca@gnu.org>
* src/nautilus-bookmark-list.c: (nautilus_bookmark_list_load_file):
Check that the file exists before trying to parse it. This stops
libxml from spewing crack "entity not found" messages.
2002-05-10 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-directory-async.c (link_info_read_done):
moved the nautilus_file_unref() to the end of the function.
Hopefully fixes bug #80207.
2002-05-09 Damon Chaplin <damon@ximian.com>
* components/text/nautilus-text-view.c (read_file_callback): if the
file size is 0, just report loading is complete and return.
Fixes bug #79745.
2002-05-09 Alex Larsson <alexl@redhat.com>
* src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
* src/file-manager/nautilus-icon-view-ui.xml:
Fix menu mnemonic collision.
Patch by Samuel Stringham <sams@e-sa.com>.
2002-05-09 Stuart MacLean <stuart@cs.dal.ca>
* src/nautilus-window-menus.c
(forget_history_if_confirmed): Make Clear History dialog
consistent with other Nautilus dialogs.
2002-05-09 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-mime-actions.c:
(nautilus_mime_get_default_action_type_for_file):
(nautilus_mime_get_default_application_for_file_internal):
(nautilus_mime_get_default_component_for_file_internal):
(nautilus_mime_get_short_list_applications_for_file):
(nautilus_mime_get_short_list_components_for_file):
(nautilus_mime_get_all_applications_for_file):
(nautilus_mime_extend_all_applications_for_file):
(nautilus_mime_remove_from_all_applications_for_file): Plug leaks.
(nautilus_mime_set_short_list_applications_for_file): Free the
normal_short_list after computing the delta, and use g_list_free
on normal_short_list_ids rather than eel_g_list_free_deep.
(str_list_difference): Duplicate the strings before inserting them
into the list.
2002-05-03 Dave Camp <dave@ximian.com>
* src/file-manager/fm-desktop-icon-view.c (mount_parameters_new):
(mount_parameters_free): Don't hold references to the view.
2002-05-08 Damon Chaplin <damon@ximian.com>
* src/nautilus-property-browser.c (add_new_pattern): handle the
icon selector dialog being returned as NULL, which can happen if the
user presses Escape or clicks OK/Cancel while the icons are loading.
Fixes part of bug #75387.
2002-05-08 Damon Chaplin <damon@ximian.com>
* src/nautilus-window-manage-views.c (nautilus_window_back_or_forward):
If we can't move in the given direction just return, and if the given
distance to move is off the end of our history list just jump to the
end. Do all this rather than a g_assert(). Fixes bug #77681.
2002-05-08 Alex Larsson <alexl@redhat.com>
* src/file-manager/nautilus-directory-view-ui.xml:
* src/nautilus-shell-ui.xml:
Use gtk-new icon for new document.
Ctrl-n is new window and Shift-Ctrl-n is new folder.
2002-05-08 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-global-preferences.c:
* libnautilus-private/nautilus-global-preferences.h:
* src/nautilus-preferences-dialog.c:
Remove all references to the http proxy settings.
These are now handled by gnome-vfs and the control-center.
2002-05-05 David Emory Watson <dwatson@cs.ucr.edu>
* src/nautilus-location-bar.c:
(editable_event_after_callback): Don't expand ~ or ~/ until the user
presses enter, bug 47239.
(has_exactly_one_slash): Removed.
2002-05-05 David Emory Watson <dwatson@cs.ucr.edu>
* libnautilus-private/nautilus-global-preferences.c: Make list view
default to 75% zoom to get "nice" looking font size while maintaining
range of different font sizes.
* src/file-manager/fm-list-view.c:
(button_press_callback): Don't let the list view unselect anything when
the user attempts to get the right-click menu on a selection.
(fm_list_view_set_zoom_level): Invent equivalent of XXX_LARGE and make
the font size at all zoom levels one bigger.
2002-05-04 David Emory Watson <dwatson@cs.ucr.edu>
* configure.in: Require eel 1.1.13.
* src/nautilus-location-bar.c:
(try_to_expand_path): Handle filenames with embeded or trailing white-
space. Fixes bug 46582. Also fixes a minor utf8 bug that crept into
the build.
2002-05-03 David Emory Watson <dwatson@cs.ucr.edu>
* src/nautilus-location-bar.c:
(try_to_expand_path): Remove extranious check (we always expand "~/"
before we get here) and call set_position_and_selection_to_end () since
the behavior of gtk_entry_set_text () has changed.
(editable_event_after_callback): Useless optimization.
(nautilus_location_bar_set_location): Call set_position_and_selectio...
2002-05-01 David Emory Watson <dwatson@cs.ucr.edu>
Implement zooming for the list view and other small cleanups.
* src/file-manager/fm-list-view.c:
(create_and_set_up_tree_view): Keep track of cell renderers.
(fm_list_view_begin_loading): Set initial zoom level.
(set_zoom_level_from_metadata_and_preferences),
(fm_list_view_set_zoom_level),
(fm_list_view_bump_zoom_level),
(fm_list_view_zoom_to_level),
(fm_list_view_restore_default_zoom_level),
(fm_list_view_can_zoom_in),
(fm_list_view_can_zoom_out),
(default_zoom_level_changed): Impl.
(fm_list_view_class_init): Hook up zoom auto value.
(fm_list_view_instance_init): Use while_alive to monitor changes to
default_zoom_level and click_policy.
(fm_list_view_finalize): Update click_policy callback.
Added a column for each pixbuf size to the model.
* src/file-manager/fm-list-model.c,
src/file-manager/fm-list-model.h:
(fm_list_model_get_column_type): Update.
(fm_list_model_get_column_id_from_zoom_level),
(fm_list_model_get_zoom_level_from_column_id): Impl.
(fm_list_model_get_value): Update.
2002-05-01 David Bordoley <bordoley@msu.edu>
* src/nautilus-shell-ui.xml
Made bookmark shortcut keys hig compliant
Switched Home shortcut key to Alt-Home
* src/file-manager/nautilus-directory-view-ui.xml
Removed shortcut key for duplicate
2002-04-30 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_local_create):
Encode new desktop files in UTF8.
2002-04-30 Alex Larsson <alexl@redhat.com>
* src/nautilus-shell-ui.xml:
Removed ellipsis from items that are meant brings up dialog and
nothing more. IE: About, Preferences and Edit Bookmarks.
Change Back/Forward/Up keyboard shortcuts to be Alt-<cursor-key>
* libnautilus-private/nautilus-icon-container.c (key_press_event):
Don't eat alt-down key events.
* src/nautilus-preferences-dialog.c:
Disable news preferences.
* src/file-manager/nautilus-directory-view-ui.xml:
Use Alt-down as alternative open.
2002-04-29 David Bordoley <bordoley@msu.edu>
* src/nautilus-shell-ui.xml:
Changed tooltip for up arrow
* file-manager/fm-directory-view.c
* file-manager/nautilus-directory-view-ui.xml:
Changed "Show Properties" to "Properties"
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
* src/file-manager/nautilus-directory-view-ui.xml:
Change "Reset Background" to "Use Default Background".
2002-04-27 Alexander Larsson <alexl@redhat.com>
* data/preferences.desktop.in:
Name is now "Desktop Preferences"
* src/file-manager/fm-directory-view.c:
* src/file-manager/nautilus-directory-view-ui.xml:
"Remove Custom Images" -> "Remove Custom Icons" for consistency
* src/nautilus-shell-ui.xml:
Move preferences to bottom of menu.
patches from Dave Bordoley <bordoley@msu.edu>
2002-04-26 Alex Larsson <alexl@redhat.com>
* src/nautilus-shell-ui.xml:
Close window at end of menu according to HIG.
patch from Dave Bordoley <bordoley@msu.edu>
2002-04-26 Alex Larsson <alexl@redhat.com>
* src/file-manager/nautilus-directory-view-ui.xml:
Stock icons for new window, and zooming. Don't use
stock icons for close all (duplicate use of stock).
* src/nautilus-shell-ui.xml:
Stock icon for open.
"Reset View to Match _Preferences" -> "Reset View to _Defaults"
Stock icons for cut and paste.
Stock icons for open.
* src/nautilus-window-menus.c: (refresh_go_menu):
Limit history to 10 entries.
Based on patches from Dave Bordoley <bordoley@msu.edu>
2002-04-26 Damon Chaplin <damon@ximian.com>
* components/notes/nautilus-notes.c (make_notes_view): turn on
word-wrapping for the GtkTextView. Fixes bug #75209.
(Approved by Alex Larsson)
2002-04-26 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-directory-metafile.c
(nautilus_directory_get_file_metadata): check the ev for errors.
If an error occurs output a warning and return the default value.
Fixes bug #73456. (Approved by Alex Larsson)
2002-04-26 Benedikt Roth <Benedikt.Roth@gmx.net>
* libnautilus-private/nautilus-program-chooser.c:
(launch_mime_capplet_on_ok),
(nautilus_program_chooser_show_no_choices_message):
Changed OK to Yes, as this is a Yes/No question.
Fixed dialog to really open the capplet when choosing yes (#75372).
* nautilus.desktop.in: (Bugzilla Bug: 75830) Use the stock home icon
for the Home folder in applications menu.
(Patch from Dennis Cranston <dennis_cranston@yahoo.com>)
2002-04-26 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-volume-monitor.c:
* libnautilus-private/nautilus-volume-monitor.h:
Added new function nautilus_volume_get_device_path.
* src/file-manager/fm-desktop-icon-view.c:
(have_volume_format_app), (have_volume_properties_app),
(have_volume_protection_app), (volume_ops_callback),
(volume_link_device_type), (real_update_menus), (real_merge_menus):
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
Add support for various volume properties helper applications.
Based on patch from Rajeev Karale <rajeev.karale@wipro.com>
2002-04-24 Murray Cumming <murrayc@usa.net>
* Added the necessary bonobo_object_ref() to my previous commit,
to prevent crashing during the unref when the window closes.
2002-04-23 Murray Cumming <murrayc@usa.net>
* src/nautilus-window.c (nautilus_window_instance_init):
Now that BonoboWindow has been fixed, it is no longer necessary
to create and set the UIContainer.
Tue Apr 23 16:18:05 2002 Owen Taylor <otaylor@redhat.com>
* src/nautilus-preferences-dialog.c (dialog_button_response_callback):
Fix build breakage from misapplied patch in last commit.
2002-04-23 Benedikt Roth <Benedikt.Roth@gmx.net>
* src/file-manager/fm-icon-container.c:
(fm_icon_container_get_icon_text):
Don't show the normal extra information for desktop files (#74910).
2002-04-23 Rajeev Karale <rajeev.karale@wipro.com>
* libnautilus-private/nautilus-volume-monitor.c: finish_creating_volume()
Bug Fixing : #77313. Mount_path for volume is different for solaris.
2002-04-22 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-icon-container.c:
(lay_down_icons_tblr):
Take pixels_per_unit into account when setting width and height.
2002-04-22 Anders Carlsson <andersca@gnu.org>
* src/nautilus-property-browser.c:
(nautilus_property_browser_init), (nautilus_emblem_dialog_new),
(nautilus_color_selection_dialog_new), (add_new_pattern),
(add_new_color), (nautilus_property_browser_update_contents):
Re-add the length limit for color and emblem names. Also fix
button ordering to be Add, Remove. Finally, set up focus correctly
for entries.
* src/nautilus-theme-selector.c: (create_button_with_stock_image),
(nautilus_theme_selector_instance_init):
Add stock icons to Add and Remove buttons.
2002-04-21 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-directory-background.c:
Remove deprecated usage of gnome-config.
Patch by Diego Gonzlez <diego@pemas.net>
2002-04-21 Alexander Larsson <alla@lysator.liu.se>
* src/nautilus-shell-ui.xml:
Stock icons for back, forward, up, home, new, close,
add bookmarks
* icons/default/default.xml:
* icons/crux_teal/crux_teal.xml:
* icons/crux_eggplant/crux_eggplant.xml:
Point throbber to http://www.gnome.org/nautilus/
* icons/default/Makefile.am:
* icons/crux_teal/Makefile.am:
* icons/crux_eggplant/Makefile.am:
* icons/default/Makefile.am:
* icons/*/[Back|Forward|Home|Refresh|Stop|Up].png:
Use stock toolbar items for all out themes.
Patches from Dave Bordoley <bordoley@msu.edu>
2002-04-22 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-directory-async.c:
(should_read_link_info_sync), (link_info_read_done),
(link_info_start):
Read .desktop files sync if they're local. This speeds
up loading directories that have .desktop files in them.
2002-04-21 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-directory-background.c
(image_loading_done_callback), (make_root_pixmap):
Check the return value of XOpenDisplay and handle
failures.
2002-04-21 Alexander Larsson <alla@lysator.liu.se>
* src/nautilus-desktop-window.c (nautilus_desktop_window_class_init):
Disable the whole flash-workaround hack since it doesn't work
and is causing crashes on solaris.
2002-04-21 Alexander Larsson <alla@lysator.liu.se>
* src/nautilus-window.h:
* src/nautilus-window-manage-views.c:
Only display toplevel window when it's fully constructed.
* src/nautilus-desktop-window.c (nautilus_desktop_window_new):
* src/nautilus-application.c (nautilus_application_create_desktop_window):
Don't show desktop window here. It's shown later when the view
is loaded.
* libnautilus-private/nautilus-horizontal-splitter.c
(nautilus_horizontal_splitter_pack2): Remove old code that is
not neccesary when we display the window fully constructed.
2002-04-21 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-icon-container.c:
(icon_set_position),
(nautilus_icon_container_update_scroll_region):
Take pixels_per_unit into account when dealing with widget
coordinates in the fixed mode.
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_finalize), (get_default_zoom_level),
(default_zoom_level_changed), (fm_desktop_icon_view_init):
Have the desktop view use the default icon view zoom level.
2002-04-21 Anders Carlsson <andersca@gnu.org>
* src/nautilus-zoom-control.c
(nautilus_zoom_control_button_press_event):
Don't do anything with double-click or triple-click events.
2002-04-21 Anders Carlsson <andersca@gnu.org>
* components/text/nautilus-text-view.c:
(nautilus_text_view_finalize), (nautilus_text_view_class_init):
NautilusView is a GObject, not a GtkObject.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_select_text_color),
Set shadow color and offset using new eel functions.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Don't show translator credits when we don't need to.
Also add myself as an author :)
2002-04-20 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-drag-window.c:
(nautilus_drag_window_register):
Disable drag window registration for now.
* libnautilus-private/nautilus-global-preferences.c:
Change extra monitor paths to account for the rename.
* nautilus.desktop.in:
Update icon path.
* src/file-manager/fm-properties-window.c: (reset_icon),
(fm_properties_window_drag_data_received), (set_icon_callback):
Add support for dragging the reset icon to remove custom icons.
* src/nautilus-property-browser.c: (nautilus_emblem_dialog_new),
(nautilus_color_selection_dialog_new), (emblem_keyword_valid),
(add_new_emblem):
Fix "Add new emblem" dialog and add mnemonics.
2002-04-20 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/apps_nautilus_preferences.schemas:
Add more keys to the schemas files. Based on work by
Luis Gutierrez <luisgtz@megared.net.mx>
2002-04-20 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-global-preferences.h
Use underscore instead of dashes in gconf keys.
* libnautilus-private/Makefile.am
* libnautilus-private/nautilus.schemas:
* libnautilus-private/apps_nautilus_preferences.schemas:
Renamed schemas file to apps_nautilus_preferences.schemas.
Some new keys are documented.
This patch is from Jonathan Blandford <jrb@redhat.com>
2002-04-20 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-icon-container.c (lay_down_icons_horizontal):
Fruitless attempt to optimize icon layout. It turns out it is text-measure and
icon lookup bound. I'm checking in this optimization anyway, even though it
doesn't help much.
(nautilus_icon_container_class_init): icon_removed was using the wrong
struct offset.
* src/nautilus-window-menus.c:
Add me to authors :)
2002-04-19 Anders Carlsson <andersca@gnu.org>
* components/throbber/nautilus-throbber.c: (get_bonobo_properties),
(set_bonobo_properties), (nautilus_throbber_instance_init),
(load_themed_image), (nautilus_throbber_load_images):
Make the throbber smaller if we're using a toolbar without
text labels. Fixes#47777.
2002-04-18 Michael Meeks <michael@ximian.com>
* *.server.in, *.c: replace all the OAFIIDs with more
sensibly named ones, that follow the namespacing
guidelines in the libbonobo/docs/FAQ. Needs a new
gnome-vfs to work well.
* src/nautilus-window-toolbars.c
(throbber_set_throbbing): impl.
(throbber_created_callback): upd.
(nautilus_window_allow_stop): upd.
* libnautilus-private/nautilus-mime-actions.c
(nautilus_do_component_query): remove hack around bonobo's
sample text component, we no longer have one.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-properties-window.c:
(fm_properties_window_drag_data_received):
Get the "exactly one" check right. Fixes#75187.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-directory-view.c:
(clipboard_targets_received), (real_update_menus):
Query the clipboard TARGET types so we can set the sensitivity
of the "Paste Files" items accordingly.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_class_init),
(nautilus_hardware_view_finalize):
Use ::finalize instead of ::destroy so we don't free
data twice.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-volume-monitor.c:
(nautilus_file_system_type_free):
Remove debugging output.
* src/file-manager/fm-directory-view.c: (fm_directory_view_init),
(fm_directory_view_finalize), (convert_file_list_to_string),
(get_clipboard_callback), (clear_clipboard_callback),
(copy_or_cut_files), (clipboard_received_callback),
(paste_files_callback), (fm_directory_view_class_init):
Use GtkClipboard instead of using a selection on the window.
This simplifies a lot of the code and fixes#77684.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_init):
Fixup padding so that the dialog looks more like the
Nautilus 1.0 one.
* libnautilus-private/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_finalize):
Unref the layouts.
* libnautilus-private/nautilus-volume-monitor.c:
(load_file_system_table), (nautilus_volume_monitor_class_init),
(nautilus_volume_monitor_finalize), (get_mount_list),
(nautilus_file_system_type_free),
(load_additional_mount_list_info):
Free the file system table on ::finalize.
* src/file-manager/fm-list-model.c: (fm_list_model_finalize):
Free details on ::finalize.
2002-04-14 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_add):
Avoid gnome-canvas move to top operation if there is no
rubber-band selection, because the new item will be on top already,
and the extra move_to_top was showing up badly on profiles.
2002-04-13 Alexander Larsson <alla@lysator.liu.se>
* components/text/Makefile.am:
* components/text/Nautilus_View_text.server.in:
* components/text/nautilus-text-view.c:
New text view, by Dave Camp <dave@ximian.com>
2002-04-11 Jody Goldberg <jody@gnome.org>
* libnautilus-private/nautilus-program-chooser.c :
Change file-types-capplet to gnome-file-types-properties.
2002-03-30 Jody Goldberg <jody@gnome.org>
* libnautilus-private/nautilus-mime-actions.c
(nautilus_mime_set_short_list_components_for_file) : Don't free the
objects while we're still looking at their iids. Don't double free
the iids.
2002-04-11 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.c
(nautilus_icon_canvas_item_accessible_get_type): return
an invalid type in an inaccessible scenario.
(nautilus_icon_canvas_item_accessible_create): return
a no-op object if no a11y enabled.
2002-04-10 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.h:
remove bounds_changed.
2002-04-07 David Emory Watson <dwatson@cs.ucr.edu>
* src/file-manager/fm-list-model.c:
(fm_list_model_add_file): Fix mixed up comparison.
(set_sort_order_from_metadata_and_preferences),
(fm_list_view_reset_to_defaults): Should be GTK_SORT_DESCENDING when
sort_reversed, bug 77174.
* src/file-manager/fm-list-view.c:
(fm_list_view_finalize): Oops, I screwed up the disconnect last time...
2002-04-07 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-icon-factory.c:
Keep track of file size in addition to mtime when
determining if the cache is uptodate.
I needed this for a script that changes the size
of the file, but keeps the mtime.
2002-04-07 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-global-preferences.c:
NAUTILUS_PREFERENCES_IMAGE_FILE_THUMBNAIL_LIMIT is an integer
(global_preferences_register_enumerations): Allow integer enum
prefs.
* src/nautilus-preferences-dialog.c:
Make NAUTILUS_PREFERENCES_IMAGE_FILE_THUMBNAIL_LIMIT a
EEL_PREFERENCE_ITEM_ENUMERATION_MENU_INTEGER.
2002-03-30 David Emory Watson <dwatson@cs.ucr.edu>
This fixes single click activation in the list view, bug 76197.
* src/file-manager/fm-list-view.c:
(list_activate_callback): only do this if the double click activation
preference is set.
(event_after_callback): handle single click activation preference.
(click_policy_changed): new function to handle whether file names
are underlined or not.
(create_and_set_up_tree_view): connect click policy preference callback
(fm_list_view_finalize): disconnect.
2002-04-05 David Emory Watson <dwatson@cs.ucr.edu>
* src/nautilus-sidebar.c:
(receive_dropped_uri_list): now g_strsplit returns an additional empty
string when a delimiter is present at the end of the parameter string.
2002-04-05 Michael Meeks <michael@ximian.com>
* components/throbber/nautilus-throbber.c
(nautilus_throbber_accessible_class_init),
(nautilus_throbber_accessible_initialize),
(nautilus_throbber_accessible_get_type),
(nautilus_throbber_get_accessible): impl.
(nautilus_throbber_class_init): upd.
(nautilus_throbber_accessible_image_get_size):
(nautilus_throbber_accessible_image_interface_init):
(nautilus_throbber_set_location): split out of
(nautilus_throbber_button_release_event): here.
(nautilus_icon_container_accessible_do_action): use it.
(nautilus_throbber_accessible_get_n_actions),
(nautilus_throbber_accessible_action_get_description),
(nautilus_throbber_accessible_action_get_name),
(nautilus_throbber_accessible_action_get_keybinding),
(nautilus_throbber_accessible_action_set_description),
(nautilus_throbber_accessible_action_interface_init): impl.
2002-04-04 Michael Meeks <michael@ximian.com>
* src/nautilus-window-toolbars.c
(create_back_or_forward_toolbar_item): add tooltip
parameter so we can get a11y descriptions.
(nautilus_window_initialize_toolbars): upd.
* src/nautilus-window.c
(nautilus_window_instance_init): create a tooltips object.
(nautilus_window_destroy): kill it.
* src/nautilus-shell-ui.xml: prune some cruft.
* components/music/nautilus-music-view.c
(nautilus_music_view_set_album_image): set image name.
2002-04-02 Michael Meeks <michael@ximian.com>
* This commit requires a newer eel, which requires gail.
* libnautilus-private/nautilus-icon-canvas-item.c
(nautilus_icon_canvas_item_finalize): free text util.
(nautilus_icon_canvas_item_set_property): sync the text.
(nautilus_icon_canvas_item_accessible_create): create the
text util idly as required.
(nautilus_icon_canvas_item_image_interface_init),
(nautilus_icon_canvas_item_get_text): impl.
(nautilus_icon_canvas_item_class_init): add interface,
should do it in a get_type, but artefact of boilerplate
macros hiding that.
(nautilus_icon_canvas_item_get_type): bin boilerplate
so we can add an interface.
(nautilus_icon_canvas_item_set_property): add atk
focus notification / tracking.
2002-03-28 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-container.c
(start_rubberbanding): set name / description on the
selection rectangle.
* libnautilus-private/nautilus-metafile.c: (write_all): New.
(metafile_write_local): Use write_all to do the multiple writes that
might be necessary in some cases.
protecting against potential symbolic links.
* libnautilus-private/nautilus-metafile.c: (finalize): Update to
use more text URIs, and fewer GnomeVFSURI objects.
(construct_private_metafile_uri): Make a text URI, not a GnomeVFSURI.
(nautilus_metafile_set_directory_uri): Use text URIs, not GnomeVFSURIs,
for the locations of the public and private metafiles.
(metafile_get_file_uri): Much simplified to use text URIs.
(metafile_read_restart): Simplified to use text URIs.
(metafile_write_succeeded): Broke out this common code needed for
both local and async. success cases.
(metafile_write_success_close_callback): Call metafile_write_succeeded.
(metafile_write_local): New, does a metafile write safely using mkstemp
and rename. All synchronous, which should be OK most of the time.
(metafile_write_start): Use metafile_write_local for "file:" URLs and
the existing code for other URLs.
2002-03-29 Jody Goldberg <jody@gnome.org>
* libnautilus-private/nautilus-program-chooser.c
(launch_mime_capplet_and_close_dialog) : don't delete the dialog, we
need to have it send a response (anything but OK I think) so that
the nested main loop will exit.
2002-03-27 Mark McLoughlin <mark@skynet.ie>
* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): don't
assume its a local uri, but instead use gnome_desktop_item_new_from_uri.
2002-03-28 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-thumbnails-jpeg.c:
Nasty libjpeg b0rkage workarounds. Now jpeg
thumbnailing should work again.
2002-03-28 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-thumbnails-jpeg.c:
Temporary revert libjpeg patch to keep it building.
Will fix for real later.
2002-03-28 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-thumbnails.c:
Thumbnail in a low priority idle handler instead of
in a 400ms timeout. Damn, it's fast!
2002-03-28 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-thumbnails-jpeg.c:
Don't define JCONFIG_INCLUDED. That breaks libjpeg for me.
* libnautilus-private/nautilus-thumbnails.c:
Use the global thumbnail if there is one, and the local
one had the wrong timestamp. Otherwise we will loop if
the local one is wrong and we can't write to the local
directory.
2002-03-28 Dave Emory Watson <dwatson@cs.ucr.edu>
* libnautilus-private/nautilus-link.h: Changed the comment for
nautilus_link_local_is_special_link to be more clear.
2002-03-27 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-file.c
(nautilus_file_get_activation_uri): Use
nautilus_file_get_symbolic_link_target_uri.
(nautilus_file_get_symbolic_link_target_uri): New function.
2002-03-27 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.c:
specify the type name explicitely.
* src/nautilus-window.c
(nautilus_window_constructed): move some of the fast setup
(nautilus_window_instance_init): to here, so it will be
done by the time the throbber async activate comes in.
2002-03-25 Mark McLoughlin <mark@skynet.ie>
* src/file-manager/fm-directory-view.c: (update_scripts_menu): also
hide the scripts seperator on the background menu.
2002-03-25 Alexander Larsson <alla@lysator.liu.se>
* src/nautilus-location-bar.c: (style_set_handler):
Port to gnome 2.
(have_broken_filenames), (accumulate_name_utf8),
(accumulate_name_locale), (try_to_expand_path):
Fix filename completion, add support for G_BROKEN_FILENAMES