1. 20 Jul, 2008 4 commits
    • Christian Neumair's avatar
      Use NautilusFile icon for normal buttons, rather than forcing folder icon. · 062cde61
      Christian Neumair authored
      2008-07-20  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-pathbar.c (get_type_icon_info):
      	Use NautilusFile icon for normal buttons, rather than forcing folder
      	icon. Fixes special location icons like network:///, computer:/// etc.
      
      svn path=/trunk/; revision=14378
      062cde61
    • Christian Neumair's avatar
      Only update referenced MIME type if it actually changed. · 1d44acf3
      Christian Neumair authored
      2008-07-20  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-file.c (update_info_internal):
      	Only update referenced MIME type if it actually changed.
      
      svn path=/trunk/; revision=14377
      1d44acf3
    • Christian Neumair's avatar
      Query filesystem ID, as referenced string. Use it to determine whether two · ab67b661
      Christian Neumair authored
      2008-07-20  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-dnd.c (check_same_fs),
      	(nautilus_drag_default_drop_action_for_icons):
      	* libnautilus-private/nautilus-file-private.h:
      	* libnautilus-private/nautilus-file.c (nautilus_file_clear_info),
      	(finalize), (update_info_internal),
      	(nautilus_file_get_filesystem_id):
      	* libnautilus-private/nautilus-file.h:
      	Query filesystem ID, as referenced string. Use it to determine whether
      	two files are on the same FS during DND. Gets rid of synchronous I/O.
      
      svn path=/trunk/; revision=14376
      ab67b661
    • Christian Neumair's avatar
      Use full location name as tab tooltip. · 8107598c
      Christian Neumair authored
      2008-07-20  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-notebook.c (nautilus_notebook_sync_tab_label):
      	Use full location name as tab tooltip.
      
      svn path=/trunk/; revision=14375
      8107598c
  2. 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
  3. 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
  4. 16 Jul, 2008 1 commit
  5. 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
  6. 14 Jul, 2008 1 commit
  7. 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
  8. 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
  9. 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
  10. 08 Jul, 2008 1 commit
  11. 07 Jul, 2008 1 commit
  12. 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
  13. 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
  14. 03 Jul, 2008 4 commits
  15. 30 Jun, 2008 1 commit
    • Christian Neumair's avatar
      Scale down huge pixbufs when loading. Massively speed up loading of · 5209289d
      Christian Neumair authored
      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
      5209289d
  16. 29 Jun, 2008 4 commits