1. 21 Jul, 2008 5 commits
    • Christian Neumair's avatar
      Support restoring from trash (one item at a time). · 838b12f0
      Christian Neumair authored
      2008-07-21  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-file-private.h:
      	* libnautilus-private/nautilus-file.c (update_info_internal),
      	(nautilus_file_get_trash_original_file):
      	* libnautilus-private/nautilus-file.h:
      	* src/file-manager/fm-actions.h:
      	* src/file-manager/fm-directory-view.c
      	(action_restore_from_trash_callback), (restore_from_trash),
      	(action_location_restore_from_trash_callback),
      	(update_restore_from_trash_action), (real_update_location_menu),
      	(real_update_menus):
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	Support restoring from trash (one item at a time).
      
      svn path=/trunk/; revision=14386
      838b12f0
    • Christian Neumair's avatar
      Add tooltips to the zoom controls, make menu tooltips consistent with and · 02cbb458
      Christian Neumair authored
      2008-07-21  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-window-menus.c:
      	* src/nautilus-zoom-control.c
      	(nautilus_zoom_control_instance_init):
      	Add tooltips to the zoom controls, make menu tooltips consistent with
      	and a11y description consistent with Epiphany. Related to #543935.
      	Thanks to Diego Escalante Urrelo.
      
      svn path=/trunk/; revision=14385
      02cbb458
    • Christian Neumair's avatar
      Display compact view after list view, rather than before it. Fixes · 89f2aab3
      Christian Neumair authored
      2008-07-21  Christian Neumair  <cneumair@gnome.org>
      
      	* src/file-manager/fm-icon-view.c (fm_icon_view_register),
      	(fm_compact_view_register):
      	* src/file-manager/fm-icon-view.h:
      	* src/nautilus-application.c (nautilus_application_instance_init):
      	* src/nautilus-file-management-properties.c:
      	* src/nautilus-file-management-properties.glade:
      	Display compact view after list view, rather than before it. Fixes
      	keybindings, and #543934. Thanks to Diego Escalante Urrelo.
      
      svn path=/trunk/; revision=14384
      89f2aab3
    • Christian Neumair's avatar
      Fix ChangeLog entry - I associated it with the wrong bug report. · 2d8d5b33
      Christian Neumair authored
      svn path=/trunk/; revision=14383
      2d8d5b33
    • Christian Neumair's avatar
      Do not emit "location-changed" if the entry is empty. Fixes #543936. · 658c6d8c
      Christian Neumair authored
      2008-07-21  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-location-bar.c (editable_activate_callback),
      	(nautilus_location_bar_init):
      	Do not emit "location-changed" if the entry is empty. Fixes #543936.
      	Thanks to Diego Escalante Urrelo.
      
      svn path=/trunk/; revision=14382
      658c6d8c
  2. 20 Jul, 2008 6 commits
  3. 19 Jul, 2008 2 commits
    • Christian Neumair's avatar
      Only align eject icons with ejectable rows, instead of aligning them with · df30c29f
      Christian Neumair authored
      2008-07-19  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-places-sidebar.c (add_place),
      	(nautilus_places_sidebar_init):
      	Only align eject icons with ejectable rows, instead of aligning them
      	with all icons above the seperator.
      
      svn path=/trunk/; revision=14374
      df30c29f
    • Christian Neumair's avatar
      Add nautilus_file_operations_mount_volume_full(), which will issue a · 82887543
      Christian Neumair authored
      2008-07-19  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-file-operations.c
      	(mount_callback_data_notify), (volume_mount_cb),
      	(nautilus_file_operations_mount_volume),
      	(nautilus_file_operations_mount_volume_full):
      	* libnautilus-private/nautilus-file-operations.h:
      	Add nautilus_file_operations_mount_volume_full(), which
      	will issue a callback with an optional user data object,
      	if the object is still alive after mounting.
      
      	* src/nautilus-places-sidebar.c (add_place),
      	(clicked_eject_button), (volume_mounted_cb),
      	(open_selected_bookmark), (nautilus_places_sidebar_init),
      	(nautilus_places_sidebar_dispose):
      	Open files after mounting them.
      
      svn path=/trunk/; revision=14373
      82887543
  4. 17 Jul, 2008 1 commit
    • Christian Neumair's avatar
      Pass textual URIs instead of GFiles to GAppInfo for remote files, similar · 8f974b30
      Christian Neumair authored
      2008-07-17  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-program-choosing.c
      	(nautilus_launch_application):
      	Pass textual URIs instead of GFiles to GAppInfo for remote files,
      	similar to nautilus_launch_desktop_file(). Fixes #543448.
      	Discovered by Kamil Páral.
      
      svn path=/trunk/; revision=14372
      8f974b30
  5. 16 Jul, 2008 1 commit
  6. 15 Jul, 2008 5 commits
    • Christian Neumair's avatar
      Dynamically update buttons on file changes instead of hard-coding them · 30d7f677
      Christian Neumair authored
      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
      30d7f677
    • Christian Neumair's avatar
      Use NautilusFile instead of GFile for obtaining display name. Gets rid of · 3e236c23
      Christian Neumair authored
      2008-07-15  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-pathbar.c (button_data_free),
      	(button_data_file_changed), (make_directory_button),
      	(nautilus_path_bar_update_path):
      	Use NautilusFile instead of GFile for obtaining display name. Gets rid
      	of sync I/O.
      
      svn path=/trunk/; revision=14364
      3e236c23
    • Christian Neumair's avatar
      Only use double click for left mouse button. The middle mouse button opens · e471ec15
      Christian Neumair authored
      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
      e471ec15
    • Christian Neumair's avatar
      Add missing ChangeLog entry. · 59d46c08
      Christian Neumair authored
      svn path=/trunk/; revision=14362
      59d46c08
    • Christian Neumair's avatar
      Display emblems for small icon sizes, down to 16 pixels. · 7a76d245
      Christian Neumair authored
      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
      7a76d245
  7. 14 Jul, 2008 1 commit
  8. 13 Jul, 2008 4 commits
    • Christian Neumair's avatar
      Include sys/stat.h for struct stat and S_ISUID and other macros. Thanks to · 627d12c6
      Christian Neumair authored
      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
      627d12c6
    • Christian Neumair's avatar
      Add simple slot drop proxy API to libnautilus-private, centered around · d4f08bc0
      Christian Neumair authored
      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
      d4f08bc0
    • Christian Neumair's avatar
      Add function for receiving netscape URLs, clear colliding clipboard · 88d90c73
      Christian Neumair authored
      2008-07-13  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-view.c
      	(nautilus_view_drop_proxy_received_netscape_url):
      	* libnautilus-private/nautilus-view.h:
      	* src/file-manager/fm-directory-view.c
      	(fm_directory_view_init_view_iface),
      	(fm_directory_view_drop_proxy_received_uris),
      	(fm_directory_view_drop_proxy_received_netscape_url):
      	Add function for receiving netscape URLs, clear colliding clipboard
      	contents when receiving dropped URIs.
      
      svn path=/trunk/; revision=14355
      88d90c73
    • Christian Neumair's avatar
      Add nautilus_window_slot_info_get_window() for getting current · 2126560b
      Christian Neumair authored
      2008-07-13  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-window-slot-info.c
      	(nautilus_window_slot_info_get_current_view):
      	* libnautilus-private/nautilus-window-slot-info.h:
      	* src/nautilus-window-slot.c (real_slot_info_get_current_view),
      	(nautilus_window_slot_info_iface_init):
      	Add nautilus_window_slot_info_get_window()
      	for getting current NautilusView (one ref count added).
      
      svn path=/trunk/; revision=14354
      2126560b
  9. 12 Jul, 2008 4 commits
    • Christian Neumair's avatar
      Fix typo. · 5ebe5458
      Christian Neumair authored
      2008-07-12  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(handle_icon_double_click):
      	Fix typo.
      
      svn path=/trunk/; revision=14353
      5ebe5458
    • Christian Neumair's avatar
      Use UTF-8 dash instead of "--". Fixes #542658. Thanks to Claude Paroz. · 92d23d5c
      Christian Neumair authored
      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
      92d23d5c
    • Christian Neumair's avatar
      Completely rewrite button press detection. Finally fixes #542269 without · b6685a5b
      Christian Neumair authored
      2008-07-12  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(button_press_event):
      	* libnautilus-private/nautilus-icon-private.h:
      	Completely rewrite button press detection. Finally fixes #542269
      	without any side effects.
      
      svn path=/trunk/; revision=14350
      b6685a5b
    • Christian Neumair's avatar
      Fix activation of previously selected icons (introduced when fixing bug · 7690b894
      Christian Neumair authored
      2008-07-12  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(handle_icon_button_press):
      	Fix activation of previously selected icons (introduced when fixing
      	bug #347423). Fixes #542269. Thanks to Tomasz Sałaciński.
      
      svn path=/trunk/; revision=14342
      7690b894
  10. 09 Jul, 2008 4 commits
    • Christian Neumair's avatar
      Do not bind CTRL+T to "Move to Trash". · ff94ad31
      Christian Neumair authored
      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
      ff94ad31
    • Christian Neumair's avatar
      Fix typo. Go forward instead of going back. · bb938882
      Christian Neumair authored
      2008-07-09  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-navigation-window-menus.c (action_forward_callback):
      	Fix typo. Go forward instead of going back.
      
      svn path=/trunk/; revision=14333
      bb938882
    • Christian Neumair's avatar
      Bookmark DND fix galore. Properly handle reordering when non-existing · c1dde067
      Christian Neumair authored
      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
      c1dde067
    • Christian Neumair's avatar
      Actually add it. · e56e2514
      Christian Neumair authored
      2008-07-09  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-window-slot-info.h:
      	Actually add it.
      
      	* src/nautilus-navigation-window-slot.h:
      	* src/nautilus-notebook.h:
      	* src/nautilus-window-slot.h:
      	Contents was added twice. Remove it once.
      
      svn path=/trunk/; revision=14331
      e56e2514
  11. 08 Jul, 2008 1 commit
  12. 07 Jul, 2008 1 commit
  13. 06 Jul, 2008 1 commit
    • Christian Neumair's avatar
      Always grab view focus on location change, even if it the old view is · 9f5de079
      Christian Neumair authored
      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
      9f5de079
  14. 04 Jul, 2008 2 commits
    • Christian Neumair's avatar
      Add eject button to places sidebar. Use multiple cell renderers for · 6bb9a831
      Christian Neumair authored
      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
      6bb9a831
    • Cosimo Cecchi's avatar
      Use g_mkdir() and g_chdir() instead of mkdir() and chdir() to fix some · b07c5294
      Cosimo Cecchi authored
      2008-07-04  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_get_user_directory), (nautilus_get_desktop_directory),
      	(nautilus_create_templates_directory),
      	(nautilus_get_searches_directory):
      	* libnautilus-private/nautilus-metafile.c:
      	(construct_private_metafile_uri):
      	* libnautilus-private/nautilus-mime-actions.c: (activate_files):
      	* src/file-manager/fm-directory-view.c: (change_to_view_directory),
      	(run_script_callback):
      	Use g_mkdir() and g_chdir() instead of mkdir() and chdir() to fix
      	some warnings under GCC 4.3.1.
      
      svn path=/trunk/; revision=14320
      b07c5294
  15. 03 Jul, 2008 2 commits