2002-10-02 Mark McLoughlin <mark@skynet.ie>
* acconfig.h: define HAVE_GTK_MULTIHEAD for
egg-screen-exec methods.
* configure.in: require gtk 2.1.0 and don't
define HAVE_GTK_MULTIHEAD.
* libnautilus-private/nautilus-multihead-hacks.h: kill.
* libnautilus-private/nautilus-directory-background:
(make_root_pixmap), (set_root_pixmap): use
gdk_screen_get_display instead of assuming the default
display.
* src/nautilus-shell.c: (restore_one_window_callback):
add backwards compat support for sessions without
a screen number.
2002-09-30 Narayana Pattipati <narayana.pattipati@wipro.com>
* src/file-manager/fm-desktop-icon-view.c: Unescape the media path so
that nautilus link is removed properly when it has special characters
like #.
* libnautilus-private/nautilus-link-desktop-file.c: Escape the media
path so that media name is created properly when it has special
characters like #.
2002-09-30 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-directory-view.c (real_update_menus):
Make the delete accelerator <Ctrl>t, as otherwise it overrides
the one in the rename widget (and others).
* src/file-manager/nautilus-directory-view-ui.xml:
Add a keysym "Delete" to the trash accel.
2002-09-30 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_start_renaming_selected_item):
* src/file-manager/fm-icon-view.c: (renaming_icon_callback):
Correctly do the rename ui op merging
2002-09-30 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-canvas-item.c (compute_text_rectangle):
Fix text rect zoom handling. Fixes redraw issues at 75%.
2002-09-27 Alexander Larsson <alexl@redhat.com>
* configure.in:
Require eel 2.1.0, libgnomeui 2.1.0
Bump version to 2.1.0
* libnautilus-private/Makefile.am:
* libnautilus-private/gnome-icon-lookup.[ch]:
* libnautilus-private/gnome-thumbnail-pixbuf-utils.c:
* libnautilus-private/gnome-thumbnail.[ch]:
Removed. Moved to libgnomeui.
* libnautilus-private/nautilus-icon-factory.[ch]:
* libnautilus-private/nautilus-link-desktop-file.c:
Update to new APIs.
2002-09-26 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-canvas-item.[ch]:
Update to new canvas
use DITHER_NORMAL instead of DITHER_MAX for performance on non-24bit
and remote.
* libnautilus-private/nautilus-icon-container.[ch]:
* libnautilus-private/nautilus-icon-dnd.[ch]:
* libnautilus-private/nautilus-icon-private.h:
Update to new canvas and rename widget.
* src/nautilus-sidebar-title.c:
Build fix.
2002-09-23 Dave Camp <dave@ximian.com>
* src/nautilus-side-pane.c: (switch_page_callback): Removed the
current image indicator.
(nautilus_side_pane_init), (nautilus_side_pane_destroy): Put a
tooltip on the close button.
(nautilus_side_pane_show_panel): New function.
(shortcut_clicked_callback),
(create_shortcut), (nautilus_side_pane_set_panel_image): Take a
GdkPixbuf instead of a GtkImage. Create a shortcut on the side
pane for panels with images.
* src/nautilus-side-pane.h:
* src/nautilus-window-manage-views.c: (set_side_panel_image): Pass
a pixbuf rather than a GtkImage.
2002-09-22 Dave Camp <dave@ximian.com>
* src/nautilus-side-pane.h:
* src/nautilus-side-pane.c: (menu_detach_callback),
(nautilus_side_pane_destroy), (nautilus_side_pane_init): Attach
and detach the menu widget.
(nautilus_side_pane_init), (update_current_image),
(switch_page_callback), (nautilus_side_pane_set_panel_image):
Allow the user to set images for each panel.
(nautilus_side_pane_add_panel), (nautilus_side_pane_remove_panel):
Added preconditions, use GtkImageMenuItem instead of GtkMenuItem
for panel menu items.
* src/nautilus-window-manage-views.c: (set_side_panel_image),
(side_panel_image_changed_callback), (connect_side_panel),
(view_loaded_callback): Listen to the "tab_image" property on side
panels, and update the side pane with the proper images.
* src/nautilus-window-private.h:
* src/nautilus-window.c: (side_panel_set_open),
(side_pane_switch_page_callback),
(nautilus_window_set_up_sidebar): Set the "close" property of
panels as they are shown and hidden.
2002-09-22 Dave Camp <dave@ximian.com>
* src/nautilus-side-pane.h:
* src/nautilus-side-pane.c: (switch_page_callback),
(nautilus_side_pane_class_init): Added a switch_page signal to the
side pane.
(select_button_press_callback),
(select_button_key_press_callback), (menu_deactivate_callback),
(nautilus_side_pane_init): Depress the menu button while the menu
is popped up.
2002-09-21 Dave Camp <dave@ximian.com>
* src/nautilus-side-pane.c:
* src/nautilus-side-pane.h: New files, container for the side
panels.
* src/nautilus-information-panel.c:
* src/nautilus-information-panel.h: Moved nautilus-sidebar.[ch] here,
converted it into just another panel, instead of a container.
* src/Makefile.am: Build nautilus-information-panel.[ch] and
nautilus-side-pane.[ch].
* src/nautilus-window-manage-views.c: (update_title),
(update_for_new_location), (handle_view_failure),
(nautilus_window_set_sidebar_panels):
* src/nautilus-window-private.h:
* src/nautilus-window.h:
* src/nautilus-window.c: (side_pane_close_requested_callback),
(side_pane_size_allocate_callback), (setup_side_pane_width),
(nautilus_window_set_up_sidebar),
(nautilus_window_add_sidebar_panel),
(nautilus_window_remove_sidebar_panel): Use the new information
panel and side pane.
2002-09-19 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-factory.c (ICON_NAME_THUMBNAIL_LOADING):
Correct thumbnail loading icon.
* libnautilus-private/nautilus-file.c (update_info_internal):
Don't invalidate DISPLAY_NAME for all files, since this will re-load
file_info making directory loads very slow! As a workaround, only do
this if file->details->display_name is already set. I don't know
if this is the correct way though.
2002-09-15 Dave Camp <dave@ximian.com>
Fixes bug #88596.
* components/music/nautilus-music-view.c:
(set_adjustment_value): New function, blocks the value_changed handler.
(reset_playtime), (play_status_display): Use set_adjustment_value.
(nautilus_music_view_destroy), (changed_idle_callback),
(slider_changed_callback): When the value changes and the slider isn't being dragged,
queue a seek in an idle handler.
(add_play_controls): Tweak the page size.
2002-09-15 Dave Camp <dave@ximian.com>
Fixes bug #89616.
* libnautilus-private/nautilus-directory.c:
(nautilus_directory_notify_files_added): If a NautilusFile already
exists for this file, send a changed notification rather than an
added notification.
* libnautilus-private/nautilus-directory.h:
* libnautilus-private/nautilus-file.c: (update_info_internal):
Invalidate the display name.
2002-09-10 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-container.c: (realize):
Removed background-modification code.
(nautilus_icon_container_instance_init): Call
eel_background_set_use_base().
This fixes the updating problem on theme switches.
2002-09-09 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-container.c:
* src/nautilus-zoom-control.c: Make accessible_parent_class
variables static. Patch from padraig.obriain@sun.com.
2002-09-04 Havoc Pennington <hp@pobox.com>
* src/file-manager/fm-desktop-icon-view.c (real_update_menus):
never set "Use default background" item insensitive for the
desktop.
* src/file-manager/fm-desktop-icon-view.c
(reset_background_callback): Just unset the gconf keys for the
background in order to "use default background", instead of
getting background from nautilus theme.
2002-09-04 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-trash-directory.c: (add_volume):
Don't start a search for a trash directory if one is already
running.
2002-08-31 David Bordoley <bordoley@msu.edu>
* src/nautilus-shell-ui.xml:
Added escape keybinding to the stop button (bug 83691)
* src/file-manager/fm-directory-view.c:
* src/file-manager/nautilus-directory-view-ui.xml:
Removed the "Remove Custom Icon" entry from the view menu
and context menu (bug 82117 also sort of takes care of
bug 86179).
Changed keybinding for "Move to Trash" to delete
and for "Delete" to shift+delete (bug 83218 this fixes bug
78120 as well).
Use GTK_STOCK_DELETE in a bunch of dialogs instead of our own string.
Changed broken link dialog string to "Do you want to move this
link to the Trash?" and changed confirming button to
"Mo_ve to Trash" to be consistent with the rest of the UI.
2002-08-29 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-volume-monitor.c (mount_volume_iso9660_add):
Don't mark loopback mounts as CDROM.
2002-08-29 Alexander Larsson <alexl@redhat.com>
* src/nautilus-application.c (volume_mounted_callback):
Allow other apps that do their own CD switching to temporary disable
nautilus from popping up CD windows by grabbing the
_NAUTILUS_DISABLE_MOUNT_WINDOW selection.
2002-08-28 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-volume-monitor.h:
* libnautilus-private/nautilus-volume-monitor.c:
New functions: nautilus_volume_copy, nautilus_volume_free,
nautilus_volume_hash, nautilus_volume_is_equal.
* libnautilus-private/nautilus-trash-directory.c:
NautilusVolumes are not persistant. Don't keep pointers to old
ones, keep copies instead.
2002-08-20 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-link-desktop-file.c:
* libnautilus-private/nautilus-link-desktop-file.h:
New function nautilus_link_desktop_file_local_is_utf8.
* libnautilus-private/nautilus-link.c:
* libnautilus-private/nautilus-link.h:
New function nautilus_link_local_is_utf8.
* src/file-manager/fm-desktop-icon-view.c
(update_desktop_directory):
Recreate trash and homedir links if they are not in utf8.
2002-08-15 Dave Camp <dave@ximian.com>
* libnautilus/nautilus-clipboard.c (select_all_callback): Save the
source so the idle callback can cancel the weak ref.
(select_all_idle_callback): Cancel the weak ref so the source
isn't destroyed twice.
This should fix#74403.
2002-08-15 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c (icon_set_position):
Work around our strange size allocation problems by always assuming
the size of fixed_size containers is the size of the screen.
This fixes the problem where all desktop icons end up in a pile in the
top left corner on startup.
We really need to fix our size allocation.
2002-08-14 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_class_init): Install a frame_text gtk
style property, so that accessible themes can force the icon
container to put a frame around unselected text.
(setup_label_gcs): Use text[SELECTED] for the highlight text
color, since it is now displayed against base[SELECTED]. If
frame_text is set, use text[NORMAL] for normal text, since it will
be displayed against base[NORMAL].
(nautilus_icon_container_set_use_drop_shadows): If frame_text is
set, don't enable drop shadows, but save that they were requested.
(style_set): Update use_drop_shadows based on whether frame_text
is set and whether drop shadows were requested.
(nautilus_icon_container_theme_changed): Call setup_label_gcs().
* libnautilus-private/nautilus-icon-canvas-item.c: (draw_frame):
New function.
(draw_or_measure_label_text): Rearranged for clarity, make it work
when it is called for draw without being called for measure (ugh).
Fixed a PangoLayout leak. If frame_text is set on the icon
container, draw a background rectangle.
(draw_label_layout): Don't drop shadow selected text. Drawing
with text[SELECTED] on base[SELECTED] should look just fine
without a drop shadow.
* libnautilus-private/nautilus-icon-private.h: Added a
drop_shadow_requested member.
2002-08-12 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-dnd.c:
(nautilus_drag_default_drop_action_for_icons): Unref target_uri
before returning when eel_uri_is_trash (target_uri_string).
* libnautilus-private/nautilus-file-operations.c:
(append_basename): Free the filename returned from
gnome_vfs_uri_etract_short_name().
* libnautilus-private/nautilus-theme.c: (attributes_free): Free
the attributes struct.
* libnautilus-private/nautilus-undo-manager.c: (finalize): Free
the details struct.
* src/nautilus-bookmark-list.c: (append_bookmark_node): Free the
mime type string.
2002-08-12 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c (rename_guts):
Don't actually change desktop files when renaming and the
new and old name are the same. This happens in the properties dialog
when you switch notebook pages and is especially bad for vfolder
directories.
2002-07-10 Jody Goldberg <jody@gnome.org>
* libnautilus-private/nautilus-directory-async.c
(mime_db_changed_callback) : if the mime db changes invalidate a pile
of stuff for anything that is monitoring file information.
(nautilus_directory_monitor_add_internal) : add a mime-db monitor if
necessary.
2002-08-09 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-directory.c
(call_files_changed_common): Don't add files to the work queue of
a directory they don't belong to.
* libnautilus-private/nautilus-directory-async.c
(mime_list_start): Replaced got_directory_count with
got_mime_list.
(nautilus_directory_add_file_to_work_queue): Added a
g_return_if_fail (file->details->directory == directory)
2002-08-08 Federico Mena Quintero <federico@ximian.com>
* icons/crux_teal/crux_teal.xml: Added the "highlight_color_rgba"
attribute to directory lists so that they will look pretty.
2002-08-08 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-directory-async.c
(nautilus_directory_cancel_loading_file_attributes): Remove the
file from the work queue.
2002-08-07 Federico Mena Quintero <federico@ximian.com>
* libnautilus-private/nautilus-icon-container.c
(nautilus_icon_container_theme_changed): Move sub-block variables
to the function level, making this uglier, less clear, and more
prone to uninitialized values, but following the Nautilus coding
guidelines, which in this respect are incompatible with the GNOME
Programming Guidelines via the GNU Coding Standards.
* libnautilus-private/nautilus-icon-canvas-item.c
(draw_or_measure_label_text): Likewise.
2002-08-07 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-file.c
(nautilus_file_can_rename): pass in info if we
have it already.
* src/file-manager/fm-desktop-icon-view.c
(update_trash_link_and_delete_copies),
(update_home_link_and_delete_copies),
(delete_all_mount_links): kill in favour of
(update_desktop_directory): so we don't stat / mime
sniff everything 3+ times.
(update_link_and_delete_copies): push this method and
it's file / sniff loop upwards.
* src/file-manager/fm-directory-view.c
(special_link_in_selection): upd.
(fm_directory_link_type_in_selection): kill, unused.
* libnautilus-private/nautilus-link.c
(get_link_style_for_local_file): operate on the passed
in GnomeVFSInfo if we have it.
* libnautilus-private/nautilus-dnd.c
(nautilus_drag_selection_includes_special_link): upd
for efficiency.
2002-08-06 Alex Graveley <alex@ximian.com>
* libnautilus-private/nautilus-file.c (rename_guts): Use
eel_vfs_has_capability() to check if file is local (instead of
explicitly looking for a file:/// uri) so that renaming .desktop
files works with vfolder uris. Fixes#73773.
2002-07-02 Jody Goldberg <jody@gnome.org>
* libnautilus-private/nautilus-program-chooser.c
(launch_mime_capplet) : That a NautilusFile and pass both the mime
type and the name to the capplet so that it can make more
intelligent defaults if necessary.
(launch_mime_capplet_on_ok) : adjust to changes in launch_mime_capplet.
(launch_mime_capplet_and_close_dialog) : ditto.
2002-08-06 Federico Mena Quintero <federico@ximian.com>
Fixes#82194.
* icons/text-selection-frame.png: Made the base frame image white
with rounded corners over a transparent background.
* libnautilus-private/nautilus-icon-container.c
(nautilus_icon_container_theme_changed): If the theme does not
specify a color for the text highlight color, use the widget
style's base[GTK_STATE_SELECTED].
* libnautilus-private/nautilus-icon-canvas-item.c
(draw_or_measure_label_text): Multiply the (white) selection
pixbuf by the highlight color so that we get a tinted pixbuf with
proper alpha.
2002-08-02 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-factory.c
(path_represents_svg_image): don't do a synchronous mime
sniff on every icon we load.
2002-08-02 Thomas Meeks <thomas@imaginator.com>
* libnautilus-private/nautilus-icon-factory.c
(nautilus_gdk_pixbuf_supported): impl. we need
this to detect small, local image files that gdk-pixbuf
can't render.
(nautilus_icon_factory_get_icon_for_file): fix logic
bug, so that we do get_thumbnail_uri for small, local
images that may be tractable to 'convert'.
2002-08-01 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-container.c:
(start_rubberbanding): Get the selection color from the gtk theme
if none is specified in the nautilus theme.
(realize): Use gtk_widget_modify_bg() to set the background color.
(style_set): Call nautilus_icon_container_theme_changed(), as
changes to the style can now affect the theme.
2002-07-31 Frank Worsley <fworsley@shaw.ca>
* libnautilus-private/nautilus-program-choosing.c:
(nautilus_launch_desktop_file):
be smarter about appending local paths or uris to command
2002-07-31 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-container.c:
(motion_notify_event): Use gtk_drag_check_threshold() to check for
drag distance.
* libnautilus-private/nautilus-icon-dnd.c:
(nautilus_icon_dnd_begin_drag): Handle a gtk_drag_begin() that
returns NULL.
2002-07-31 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-file-operations.c
(build_error_string): fall back to the other routines if
source_name is NULL [ eg. permission failure moving a
whole directory not a single file ] #87686
2002-07-27 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-factory.c
(icon_theme_changed_callback): Fixed a problem where shortcutting
|| was preventing the fallback theme from being set. Fixes
#89178.
2002-07-27 Dave Camp <dave@ximian.com>
* src/nautilus-sidebar.c:
(background_settings_changed_callback): Update the
current_background_color, the current_background_image, and
is_default_background.
2002-07-27 Dave Camp <dave@ximian.com>
* libnautilus-private/eggtreemultidnd.c: (stop_drag_check),
(egg_tree_multi_drag_button_release_event),
(egg_tree_multi_drag_button_press_event): Save the events to be
propagated in order. (fixes#89214)
2002-07-26 Dave Camp <dave@ximian.com>
* libnautilus-private/Makefile.am: Added eggtreemultidnd.[ch].
* libnautilus-private/eggtreemultidnd.c:
* libnautilus-private/eggtreemultidnd.h: New files.
* src/file-manager/fm-list-model.c:
(fm_list_model_multi_row_draggable),
(fm_list_model_file_for_path),
(each_path_get_data_binder), (fm_list_model_multi_drag_data_get),
(fm_list_model_multi_drag_data_delete),
(fm_list_model_set_drag_view), (fm_list_model_get_drag_types),
(fm_list_model_multi_drag_source_init), (fm_list_model_get_type):
Implemented the multi drag source.
* src/file-manager/fm-list-model.h:
* src/file-manager/fm-list-view.c: (event_after_callback): Moved
the context menu out of here...
(button_release_callback): to here.
(button_press_callback): Pass the current view and the position
to the model.
(create_and_set_up_tree_view): Enable drag source on the view.
2002-07-25 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-factory.c
(icon_theme_changed_callback): upd.
(nautilus_icon_factory_init): upd.
(is_theme_in_user_directory): move from here.
(set_theme_name): kill.
(nautilus_icon_factory_init, cache_icon_new),
(cache_icon_ref, cache_icon_unref): only do the
cache_icons thing when debugging is turned on.
* libnautilus-private/nautilus-find-icon-image.c
(is_theme_in_user_directory): move to here.
(nautilus_icon_theme_set_names),
(nautilus_icon_theme_destroy),
(nautilus_icon_theme_new): impl.
(choose_theme): upd.
(get_themed_icon_file_path): don't do the XML parse of
i-regular.xml twice, just pass scalable_details in to
read_details.
(details_from_doc_node): split from
(read_details): upd.
2002-07-25 Dave Camp <dave@ximian.com>
* components/tree/nautilus-tree-view.c: (get_root_uri_callback),
(get_file_for_path_callback), (move_copy_items_callback): New
functions.
(create_tree): Create a NautilusTreeViewDragDest.
(nautilus_tree_view_dispose): Unref the DragDest object.
(nautilus_tree_view_class_init): initialize dispose.
* libnautilus-private/Makefile.am: Build
nautilus-tree-view-drag-dest.[ch].
* libnautilus-tree-view-drag-dest.c:
* libnautilus-tree-view-drag-dest.h: New files.
* libnautilus-private/nautilus-dnd.c:
(nautilus_drag_selection_includes_special_link): Moved here
from nautilus-icon-dnd.c.
* libnautilus-private/nautilus-dnd.h: Prototype for
nautilus_drag_selection_includes_special_link.
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_drop_target_uri): Moved here from
fm-directory-view.
* libnautilus-private/nautilus-file.h:
* libnautilus-private/nautilus-icon-dnd.c:
(nautilus_icon_container_receive_dropped_icons): Call
nautilus_drag_selection_includes_special_link().
* libnautilus-private/nautilus-marshal.list: New marshallers.
* src/file-manager/fm-icon-view.c:
(get_icon_drop_target_uri_callback): Use
nautilus_file_get_drop_target_uri().
* src/file-manager/fm-list-view.c: (get_root_uri_callback),
(get_file_for_path_callback), (move_copy_items_callback): New
functions.
(create_and_set_up_tree_view): Create a NautilusViewDragDest
object.
(fm_list_view_dispose): Unref the DragDest object.
2002-07-24 Dave Camp <dave@ximian.com>
(nautilus_music_view_init): Use an EelBackgroundBox instead of a
GtkEventBox.
* components/music/nautilus-music-view.c:
* src/nautilus-sidebar.c: Derive from EelBackgroundBox instead of
GtkEventBox.
(nautilus_sidebar_style_set): Removed special case for
EelBackgroundStyle.
2002-07-24 Michael Meeks <michael@ximian.com>
* src/nautilus-window-manage-views.c
(update_title): only set the location bookmark if
it's non NULL. #87889
2002-07-24 Michael Meeks <michael@ximian.com>
* src/nautilus-window.c (nautilus_window_destroy):
NULL various elements, including the sidebar
here: #87414
2002-07-22 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-desktop-icon-view.c:
Fix for #86073. Don't show removable media options for non
removable media. Also name the unmount menu item "Eject" for
removable media.
2002-07-19 Federico Mena Quintero <federico@ximian.com>
Fixes the Nautilus part of #46238; see eel for the other part.
* components/hardware/nautilus-hardware-view.c
(nautilus_hardware_view_init): Do not set a hardcoded background
color; just use the color from the GTK+ theme. We still set up
the EelBackground as this handles dragged colors, but it does not
save them anywhere.
* components/notes/nautilus-notes.c (make_notes_view): Do not set
up an EelBackground at all for the text view; just let it use the
default color from the GTK+ theme. This code did not handle
dragged colors or anything, anyways.
* src/nautilus-property-browser.c
(nautilus_property_browser_init): Do not set a hardcoded
background color.
* src/nautilus-sidebar.c (nautilus_sidebar_style_set):
::style_set() handler; we act as if the theme changed.
* icons/gnome/gnome.xml: Removed hardcoded colors and background
images so that we follow the current GTK+ theme. It's bland but good.
2002-07-17 Frank Worsley <fworsley@shaw.ca>
* src/nautilus-application.c: (save_window_geometry_timeout),
(nautilus_window_configure_event_callback),
(nautilus_window_unrealize_event_callback):
improve saving of geometry. only save it if we really resize
a window, not when a window is first shown or viewport change
* src/nautilus-shell.c: (open_window):
* src/nautilus-bookmarks-window.c:
(nautilus_bookmarks_window_restore_geometry):
update for changed eel function
* src/nautilus-window-manage-views.c:
(pending_location_already_showing): added new
(position_and_show_window_callback):
ignore saved window position if same window already showing
* src/nautilus-window.c: (nautilus_window_instance_init),
(nautilus_window_save_geometry):
* src/nautilus-window.h:
updated for new eel function and changes described above
2002-07-11 Michael Meeks <michael@ximian.com>
* components/*/.server.in -> *.server.in.in
* components/*/Makefile.am: move stuff into $(libexec)
and $(libdir)/bonobo - a very, very boring ( and likely to
be buggy ) patch, watch the tinderbox...
* libnautilus-private/nautilus-icon-container.c
(nautilus_icon_container_class_init): upd.
(expose_event): add for debugging, looks like most icons
areas get 3 expose events each on startup.
2002-07-16 Dave Camp <dave@ximian.com>
* src/nautilus-window-manage-views.c (load_content_view): Use
"folder" instead of "directory" in the accessible description.
2002-07-15 Rohit R <rohit.raveendran@wipro.com>
Laavanya K R <laavanya.gopalan@wipro.com>
* src/file-manager/fm-directory-view.c: (can_move_uri_to_trash)
* libnautilus-private/nautilus-dnd.c
(nautilus_drag_default_drop_action_for_icons): Changed the file
permission from 0777 to 0 for the .Trash while calling
gnome_vfs_find_directory, since gnome-vfs now ignores the
permissions parameter when creating trash.
2002-07-15 jacob berkman <jacob@ximian.com>
* libnautilus-private/nautilus-directory-background.c
(image_loading_done_callback): check that our window and the
pixmap have the same depth
2002-07-12 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-program-chooser.c
(nautilus_program_chooser_instance_init): add a Help button.
(help_cb): show the help page corresponding to the current dialog mode.
Fixes bug #85804.
2002-07-12 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-file-operations.c (confirm_empty_trash):
ui-review fixes to add an icon to the 'Empty' button, add a mnemonic,
make 'Empty' the default button, and change the title.
Fixes bug #85666. (Though I didn't make it non-modal as that is a bit
awkward.)
2002-07-11 Damon Chaplin <damon@ximian.com>
* src/file-manager/fm-properties-window.c: ui-review changes.
added '_Name:' label for filename, added mnemonics, and used standard
capitalization. On the permissions page I added _Read/_Write/E_xecute
labels to the checkbuttons, since it improves keynav. Currently
GtkCheckButton doesn't show a focus indicator if there is no label.
Even if that were fixed (there is a patch on bug #74830) mnemonic
accelerators work better with labels for all the checkbuttons.
Fixes bug #85658.
2002-07-11 jacob berkman <jacob@ximian.com>
* libnautilus-private/nautilus-volume-monitor.c (entry_is_supermounted_volume):
(has_removable_mntent_options): use a macro to portably access the
fs type (fixes bug #87889)
(entry_is_supermounted_volume): #ifdef HAVE_HASMNTOPT around the
body of this
(get_removable_volumes): fix typos etc. when HAVE_GETMNTINFO is
defined
* configure.in: add checks for getmntinfo and sys/mount.h so that
bsd mount code paths actually get built / run
2002-07-11 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-directory.c
(nautilus_directory_notify_files_moved): Cancel loading of
attributes in the old directory before moving to the new directory.
2002-07-11 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-container.c
(setup_gc_with_fg, setup_label_gcs, update_label_color):
impl, split, upd.
(nautilus_icon_container_get_label_color): don't
fetch the style for no good reason, get the colored
gc from an array instead. rename to
(nautilus_icon_container_get_label_color_and_gc): this
(realize, unrealize): setup / free the gcs.
* libnautilus-private/nautilus-icon-canvas-item.c
(draw_or_measure_label_text): use cached gc(s) from
the container, instead of thrashing them.
(antialias_selection_rectangle): upper case, and #define
since it's always true.
2002-07-11 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.c
(nautilus_icon_canvas_item_update): move the render out of
update_bounds so we request_redraw if the bounds don't change,
odd that we need to do that.
2002-07-11 Dave Camp <dave@ximian.com>
* src/nautilus-location-bar.c: (nautilus_location_bar_init): Added
a relation between the label and entry.
* src/nautilus-preferences-dialog.c: Changed "file names" to
"filenames" on request of the ui-review.
* src/nautilus-window-manage-views.c: (load_content_view),
(nautilus_window_set_sidebar_panels): Added some a11y names and
descriptions.
2002-07-11 Dave Camp <dave@ximian.com>
* components/history/nautilus-history-view.c: (update_history):
Don't block the selection_changed signal.
(row_activated_callback): Moved here from
selection_changed_callback.
(update_click_policy), (click_policy_changed_callback): New
functions.
(nautilus_history_view_instance_init): Connect to row_activated,
set up a preferences callback for the click policy, and call
update_click_policy().
(nautilus_history_view_finalize): Remove the preferences callback.
2002-07-10 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.c
(nautilus_icon_canvas_item_set_renaming): make is_renaming
a bit-field to save ~4+ bytes per canvas item.
(nautilus_icon_canvas_item_update): don't request another
re-draw on the item immediately after returning, save some uta
thrash.
2002-07-10 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-program-choosing.c
(nautilus_launch_desktop_file): don't pass
GNOME_DESKTOP_ITEM_LOAD_ONLY_IF_EXISTS to
gnome_desktop_item_new_from_uri(), as it returns NULL if the executable
isn't found and we crash. Nautilus will find out that it doesn't exist
when it tries to run it, and it will show an error dialog.
Fixes bug #87286.
2002-07-10 Michael Meeks <michael@ximian.com>
* src/nautilus-sidebar.c (nautilus_sidebar_update_appearance):
update the title color only if the background has changed;
(nautilus_sidebar_finalize):
keep the current background colour/image on the sidebar as well
as the defaults.
(value_different, nautilus_sidebar_update_appearance): update
only when the values are different, pass the background in.
(nautilus_sidebar_create_context_menu): use stored boolean.
(nautilus_sidebar_background_is_default): do this
(nautilus_sidebar_update_appearance): inline, once here.
* src/nautilus-sidebar-title.c
(nautilus_sidebar_title_background_is_default): kill this method
cut and paste coded from nautilus-sidebar.c
(realize_callback, appearance_changed_callback): remove contorted
'wizard'ry ( and redundant pixbuf colouring logic )
(nautilus_sidebar_title_theme_changed): don't do title changed,
nautilus-sidebar.c will do it for us.
(update_all): don't update the title colour, every time we move
directory a file ( with pixbuf darkness test, etc. etc. )
(nautilus_sidebar_title_select_text_color): bin
background == NULL mess, it never happens now.
(nautilus_sidebar_title_background): more applied spaghetti hurling
gone.
2002-07-10 Michael Meeks <michael@ximian.com>
* src/nautilus-application.c (is_kdesktop_present): disable
the look_for_kdesktop_recursive code, since this takes ~1 second
at startup on my Ultra 2.
(look_for_kdesktop_recursive, has_wm_state, get_self_typed_prop):
don't compile these either.
2002-07-09 Damon Chaplin <damon@ximian.com>
* src/nautilus-preferences-dialog.c (dialog_button_response_callback):
updated pane names so help for "Side Panes" and "Performance" pages
works again.
2002-07-09 Damon Chaplin <damon@ximian.com>
* src/nautilus-window-menus.c (refresh_bookmarks_menu): if
WEB_NAVIGATION_ENABLED is not defined don't ever append the static
(system default) bookmarks. Since nautilus isn't a good web browser
at present these make little sense.
(append_static_bookmarks):
(get_static_bookmarks_file_path): ifdeffed out unused functions.
* src/file-manager/fm-desktop-icon-view.c
(update_home_link_and_delete_copies):
* src/nautilus-window.c (nautilus_window_go_home):
* src/nautilus-window-manage-views.c
(determined_initial_view_callback): use #ifdef WEB_NAVIGATION_ENABLED
to determine whether we use the NAUTILUS_PREFERENCES_HOME_URI
preference or just use the user's $HOME. WEB_NAVIGATION_ENABLED isn't
defined for now.
* src/nautilus-preferences-dialog.c: Lots of string changes.
Hid the 'Navigation' pane.
(global_preferences_populate_sidebar_panels_callback): just use the
side pane name as the preference name, rather than 'Display %s tab in
side pane'.
(preferences_dialog_populate_themes_group): set the theme selector
height to 300 so it fills its page a bit better. (Would be nicer if
we could set an 'expand' option but that is more complicated.)
* libnautilus-private/nautilus-global-preferences.c: change
'Local Files Only' to 'Local File Only'.
2002-07-09 Michael Meeks <michael@ximian.com>
* src/nautilus-property-browser.c
(property_browser_category_button_new): build
radio button & set mode.
(category_clicked_callback): cut most of it out.
(make_category_link): upd.
(build_radio_accessibility_relations): kill - uses
real radio buttons now.
2002-07-09 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-container.c:
(select_previous_or_next_icon): Moved here from
select_previous_or_next_name(), select the next item in the sort
order instead of the next alphabetically.
(key_press_event): Use select_previous_or_next_icon().
2002-07-08 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-container.c
(update_label_color): short circuit via use_drop_shadows
doing a horribly expensive eel_background_is_dark on the
(potentially huge) desktop background.
2002-07-08 Michael Meeks <michael@ximian.com>
* src/nautilus-zoom-control.c
(nautilus_zoom_control_set_parameters): add pre-condition.
* src/nautilus-location-bar.c
(editable_event_after_callback): if shift or control are
down, don't pop to the end of the field to help
auto-completers.
2002-07-08 Michael Meeks <michael@ximian.com>
* src/nautilus-property-browser.c
(nautilus_property_browser_init): re-instate label
boldness for Alex.
(make_category_link): return the button widget.
(nautilus_property_browser_update_contents): keep track
of the buttons & call relation setup in
(build_radio_accessibility_relations): here.
2002-07-05 Dave Camp <dave@ximian.com>
* src/nautilus-sidebar.c (nautilus_sidebar_create_context_menu):
Changed "Reset Background" to "Use Default Background" and put it
at the end of the menu for consistency with the icon view.
2002-07-05 Dave Camp <dave@ximian.com>
* src/file-manager/fm-directory-view.c: (real_merge_menus),
(real_update_menus): Update menu paths and mnemonics.
* src/file-manager/nautilus-directory-view-ui.xml: Moved Duplicate,
Make Link, Rename, Move to Trash, and Delete from the File menu to
the Edit menu. Removed the gtk-new pixmap from New Folder (it is
confusing). Removed Go to Trash, this was put in the shell.
* src/file-manager/nautilus-icon-view-ui.xml: Changed mnemonics.
* src/nautilus-shell-ui.xml: Moved "Dangerous File Items"
placeholder from File to Edit, added a "File Items Placeholder" in
Edit, added a Stop button to the view menu, changed the
Show/Hide menuitems to toggle buttons, and added a Go To Trash
menu item.
* src/nautilus-window-menus.c: (go_menu_go_to_trash_callback),
(view_menu_show_hide_sidebar_state_changed_callback),
(view_menu_show_hide_toolbar_state_changed_callback),
(view_menu_show_hide_location_bar_state_changed_callback),
(view_menu_show_hide_statusbar_state_changed_callback): New
functions.
(nautilus_window_update_show_hide_menu_items): Change toggle state
instead of menu item text.
(nautilus_window_initialize_menus_part_1): Connect bonobo
listeners to the toggle menu items.
2002-07-05 Alexander Larsson <alexl@redhat.com>
* src/nautilus-window-manage-views.c:
Don't use window geometry metadata to place the desktop window.
* libnautilus-private/nautilus-icon-factory.[ch]:
Add a GnomeIconLoader to NautilusIconFactory.
This is just initial code for handling icon themes in desktop
file icons.
* libnautilus-private/nautilus-link-desktop-file.c:
Use GnomeIconLoader to load desktop file icons.
* configure.in:
Add gnome-desktop to COMPONENT_MODULES.
2002-07-02 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-file.c (rename_guts): for .desktop files
invalidate the file's NAUTILUS_FILE_ATTRIBUTE_DISPLAY_NAME attribute
rather than calling nautilus_file_changed(), since otherwise it will
just use the old display name. Fixes bug #85966.
2002-07-01 Damon Chaplin <damon@ximian.com>
* src/file-manager/fm-list-view.c (create_and_set_up_tree_view): set
the initial pixbuf column to match the initial zoom level, 25%.
Otherwise the pixbuf column may not be set and the icons don't appear.
Fixes bug #85286.
2002-07-02 Michael Meeks <michael@ximian.com>
* src/nautilus-bookmarks-window.c
(create_bookmarks_window): use new eel_glade_get_file.
* configure.in: hack libglade out, we use eel now,
requires a recent eel.
* data/browser.xml: add mnemonics
* src/nautilus-property-browser.c
(nautilus_property_browser_init): don't shrink the
description text, un-bold description [ makes it
look ugly, but hey ].
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.