2008-07-16 Christian Neumair <cneumair@gnome.org>
* src/nautilus-pathbar.c (desktop_location_changed_callback),
(nautilus_path_bar_finalize), (reload_icons),
(get_custom_user_icon_info), (get_type_icon_info),
(nautilus_path_bar_update_button_appearance),
(nautilus_path_bar_update_button_state),
(button_data_file_changed), (make_directory_button),
(nautilus_path_bar_check_parent_path):
* src/nautilus-pathbar.h:
Dynamically update buttons on file changes instead of hard-coding them
once, both labels and icons. Refactor icon code.
Add TODO notice about reaction to XDG directory changes.
Comment out usage of custom icons for path bar buttons, due to
GDK pixbuf issues when scaling down large images #80925.
svn path=/trunk/; revision=14365
2008-07-15 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-container.c
(button_press_event), (nautilus_icon_container_did_not_drag),
(handle_icon_double_click), (handle_icon_button_press):
Only use double click for left mouse button. The middle mouse button
opens a new tab or window on one click. Fixes#543136.
svn path=/trunk/; revision=14363
2008-07-15 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-info.c
(nautilus_icon_get_emblem_size_for_icon_size):
* src/file-manager/fm-list-model.c (fm_list_model_get_value):
Display emblems for small icon sizes, down to 16 pixels.
svn path=/trunk/; revision=14361
2008-07-15 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-dnd.c (slot_proxy_drag_motion),
(nautilus_drag_slot_proxy_init):
Also support a mode where the target URI is NULL, and the target slot is
set.
* src/nautilus-notebook.c (build_tab_label):
Set up notebook labels as slot drag proxy, replace old DND code.
svn path=/trunk/; revision=14360
2008-07-14 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-emblem-utils.c
(nautilus_emblem_install_custom_emblem),
(nautilus_emblem_can_remove_emblem):
Use the GLib gstdio functions here, suggested in bug 542819
by Thadeu Lima de Souza Cascardo.
svn path=/trunk/; revision=14359
2008-07-13 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-emblem-utils.c:
Include sys/stat.h for struct stat and S_ISUID and other macros.
Thanks to Thadeu Lima de Souza Cascardo <cascardo@minaslivre.org>.
svn path=/trunk/; revision=14357
2008-07-13 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-dnd.c
(nautilus_drag_uri_array_from_selection_list),
(nautilus_drag_uri_list_from_selection_list),
(nautilus_drag_uri_array_from_list),
(nautilus_drag_uri_list_from_array), (slot_proxy_drag_motion),
(drag_info_clear), (slot_proxy_drag_leave), (slot_proxy_drag_drop),
(slot_proxy_handle_drop), (slot_proxy_drag_data_received),
(nautilus_drag_slot_proxy_init):
* libnautilus-private/nautilus-dnd.h:
Add simple slot drop proxy API to libnautilus-private, centered
around nautilus_drag_slot_proxy_init().
The notebook tab label drop targets will later be ported to this API.
Add API for converting URI lists to URI arrays, and for constructing
URI lists and arrays from selection lists.
* src/nautilus-notebook.c (notebook_tab_drag_data_received):
Use nautilus_drag_uri_array_from_selection_list().
* src/nautilus-pathbar.c (slider_timeout),
(nautilus_path_bar_slider_drag_motion),
(nautilus_path_bar_slider_drag_leave), (nautilus_path_bar_init),
(nautilus_path_bar_finalize), (button_data_free),
(button_drag_data_get_cb), (setup_button_drag_source),
(make_directory_button):
* src/nautilus-pathbar.h:
Add path bar drop targets, use nautilus_drag_slot_proxy_init() for
setup.
Also offer GNOME icon lists as drag target.
Reveal hidden paths when hovering over the up/down sliders for some
time. Fixes#309842.
svn path=/trunk/; revision=14356
2008-07-12 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-properties-window.c (create_basic_page),
(create_simple_permissions), (create_advanced_permissions),
(create_permissions_page):
Use UTF-8 dash instead of "--". Fixes#542658. Thanks to Claude Paroz.
svn path=/trunk/; revision=14351
2008-07-10 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-directory-view.c:
Do not bind CTRL+T to "Move to Trash".
svn path=/trunk/; revision=14334
2008-07-09 Christian Neumair <cneumair@gnome.org>
* src/nautilus-places-sidebar.c (compute_drop_position),
(drag_motion_callback), (reorder_bookmarks),
(drag_data_received_callback), (nautilus_places_sidebar_init):
Bookmark DND fix galore. Properly handle reordering when non-existing
bookmarks are present. They are ignored by the view, but not by the
Nautilus bookmark list. Make DND indication consistent with the GTK+
file chooser.
svn path=/trunk/; revision=14332
2008-07-07 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-ui-utilities.c
(nautilus_toolbar_action_from_menu_item):
Use GTK_ICON_SIZE_LARGE_TOOLBAR instead of hard coding the icon size
to 48. Fixes#541527. Thanks to Gilles Dartiguelongue.
svn path=/trunk/; revision=14324
2008-07-06 Christian Neumair <cneumair@gnome.org>
* src/nautilus-navigation-window.c (unset_focus_widget),
(is_in_temporary_navigation_bar), (is_in_temporary_search_bar),
(remember_focus_widget), (restore_focus_widget),
(hide_temporary_bars), (navigation_bar_cancel_callback),
(navigation_bar_location_changed_callback),
(nautilus_navigation_window_destroy), (real_prompt_for_location),
(search_bar_cancel_callback),
(nautilus_navigation_window_show_search), (real_set_search_mode):
* src/nautilus-window-manage-views.c (location_has_really_changed):
* src/nautilus-window-private.h:
* src/nautilus-window.c (nautilus_window_set_content_view_widget):
Always grab view focus on location change, even if it the old view is
re-used. Remember last focus widget when temporarily showing a bar,
and re-focus it when hiding it. Fixes#500946. Thanks to Nelson
Benítez León.
svn path=/trunk/; revision=14323
2008-07-04 Christian Neumair <cneumair@gnome.org>
* src/nautilus-places-sidebar.c (add_place),
(clicked_eject_button), (check_unmount_and_eject),
(check_visibility), (rename_selected_bookmark), (do_unmount),
(do_unmount_selection), (unmount_shortcut_cb), (do_eject),
(eject_shortcut_cb), (eject_or_unmount_bookmark),
(eject_or_unmount_selection), (bookmarks_key_press_event_cb),
(bookmarks_button_press_event_cb), (nautilus_places_sidebar_init):
Add eject button to places sidebar. Use multiple cell renderers for
aligning the button with the items above the separator, but not below
it. Thanks to Stefano Teso, Cosimo Cecchi, Juan Dapena Paz and Ignacio
Casal Quinteiro. Fixes#343839.
svn path=/trunk/; revision=14321
2008-07-03 Wouter Bolsterlee <wbolster@svn.gnome.org>
* libnautilus-private/nautilus-emblem-utils.c:
Include <glib/gstdio.h> to fix the build. Some cleanup
in header imports to improve code legibility.
* libnautilus-private/nautilus-file.c:
Include <glib/gstdio.h> here as well.
svn path=/trunk/; revision=14319
2008-07-03 Wouter Bolsterlee <wbolster@svn.gnome.org>
* configure.in: Don't reference
cut-n-paste-code/widgets/ directory since it was removed
in revision 14306.
svn path=/trunk/; revision=14316
2008-06-30 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-directory-async.c (thumbnail_done),
(thumbnail_loader_size_prepared), (get_pixbuf_for_content),
(thumbnail_start):
* libnautilus-private/nautilus-file.h:
Scale down huge pixbufs when loading. Massively speed up loading of
directories where the original image is used as thumbnail.
Also try to write the whole file at once rather than writing in chunks.
* libnautilus-private/nautilus-file-private.h:
* libnautilus-private/nautilus-file.c (nautilus_file_get_icon):
Rewrite some flaky parts of thumbnailing.
Never scale any thumbnails up.
Always compose thumbnail on the fly instead storing it once and
scaling it up and down.
Add flag to force that thumbnail size matches
the output icon size for tree view.
* src/file-manager/fm-list-model.c (fm_list_model_get_value):
Use this flag.
svn path=/trunk/; revision=14309
2008-06-29 Cosimo Cecchi <cosimoc@gnome.org>
* README: Remove reference to the need of a GNOME 2.4 environment
to build Nautilus.
svn path=/trunk/; revision=14308
2008-06-29 Cosimo Cecchi <cosimoc@gnome.org>
* src/nautilus-window.c: (nautilus_window_set_status):
Fix a huge leak as messages were pushed in the statusbar but almost
never popped. Patch by Vincent Untz. (#536968).
svn path=/trunk/; revision=14298
2008-06-29 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-container.c
(clicked_within_double_click_interval), (handle_icon_button_press):
* libnautilus-private/nautilus-icon-private.h:
Use customized double click detection, for supporting double clicks
on half shown items, where the first click triggers a scroll event.
Thanks to Nelson Benítez León. Fixes#347423.
svn path=/trunk/; revision=14297
2008-06-28 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-icon-container.c
(keyboard_arrow_key):
Move keyboard focus correctly after a file has been
removed. Patch thanks to Nelson Benitez. Closes bug #540107.
svn path=/trunk/; revision=14290
2008-06-28 Christian Neumair <cneumair@gnome.org>
* src/nautilus-window-manage-views.c
(nautilus_window_report_selection_changed),
(nautilus_window_report_load_underway),
(nautilus_window_report_load_complete), (free_location_change),
(nautilus_window_report_view_failed),
(nautilus_window_stop_loading):
* src/nautilus-window-private.h:
Stop loading of new view instead of just unreffing it when freeing a
location change.
Ignore view signals of new view when stopping it. Otherwise we'd have
infinite recursion.
svn path=/trunk/; revision=14287