summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix NautilusWindowInfo header inclusion.NAUTILUS_2_23_5Christian Neumair2008-07-211-1/+1
| | | | | | | | | 2008-07-21 Christian Neumair <cneumair@gnome.org> * src/nautilus-query-editor.h: Fix NautilusWindowInfo header inclusion. svn path=/trunk/; revision=14397
* Add "Open in New Tab" item to location popup, and consolidate labels inChristian Neumair2008-07-213-8/+70
| | | | | | | | | | | | | | | 2008-07-21 Christian Neumair <cneumair@gnome.org> * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c (action_location_open_alternate_callback), (action_location_open_in_new_tab_callback), (real_update_location_menu), (real_update_menus): * src/file-manager/nautilus-directory-view-ui.xml: Add "Open in New Tab" item to location popup, and consolidate labels in case both spatial and browser mode are available. svn path=/trunk/; revision=14396
* Use C_() instead of Q_(). Require intltool 0.36.3.Christian Neumair2008-07-211-1/+1
| | | | | | | | | | | 2008-07-21 Christian Neumair <cneumair@gnome.org> * configure.in: * src/file-manager/fm-properties-window.c (value_field_update_internal): Use C_() instead of Q_(). Require intltool 0.36.3. svn path=/trunk/; revision=14394
* Support restoring from trash (one item at a time).Christian Neumair2008-07-213-3/+165
| | | | | | | | | | | | | | | | | | | 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
* Add tooltips to the zoom controls, make menu tooltips consistent with andChristian Neumair2008-07-212-6/+12
| | | | | | | | | | | | | 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
* Display compact view after list view, rather than before it. FixesChristian Neumair2008-07-215-3/+10
| | | | | | | | | | | | | | | 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
* Do not emit "location-changed" if the entry is empty. Fixes #543936.Christian Neumair2008-07-211-2/+16
| | | | | | | | | | | 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
* Do not treat top-level mounts (i.e. sftp://server/) as fake roots, andChristian Neumair2008-07-201-2/+4
| | | | | | | | | | | 2008-07-20 Christian Neumair <cneumair@gnome.org> * src/nautilus-pathbar.c (nautilus_path_bar_check_parent_path), (nautilus_path_bar_update_path): Do not treat top-level mounts (i.e. sftp://server/) as fake roots, and consequently do not display up slider. svn path=/trunk/; revision=14379
* Use NautilusFile icon for normal buttons, rather than forcing folder icon.Christian Neumair2008-07-201-2/+3
| | | | | | | | | | 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
* Use full location name as tab tooltip.Christian Neumair2008-07-201-4/+11
| | | | | | | | | 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
* Only align eject icons with ejectable rows, instead of aligning them withChristian Neumair2008-07-191-30/+13
| | | | | | | | | | | 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
* Add nautilus_file_operations_mount_volume_full(), which will issue aChristian Neumair2008-07-191-10/+81
| | | | | | | | | | | | | | | | | | | | | 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
* Small touchup to r14351 (bug #542658) caught by Claude Paroz.A. Walton2008-07-161-1/+1
| | | | | | | | | | 2008-07-16 A. Walton <awalton@gnome.org> * src/file-manager/fm-properties-window.c (create_basic_page): Small touchup to r14351 (bug #542658) caught by Claude Paroz. svn path=/trunk/; revision=14368
* Dynamically update buttons on file changes instead of hard-coding themChristian Neumair2008-07-152-134/+112
| | | | | | | | | | | | | | | | | | | | 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
* Use NautilusFile instead of GFile for obtaining display name. Gets rid ofChristian Neumair2008-07-151-44/+58
| | | | | | | | | | | | 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
* Display emblems for small icon sizes, down to 16 pixels.Christian Neumair2008-07-151-5/+0
| | | | | | | | | | | 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
* Also support a mode where the target URI is NULL, and the target slot isChristian Neumair2008-07-141-191/+7
| | | | | | | | | | | | | | 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
* Add simple slot drop proxy API to libnautilus-private, centered aroundChristian Neumair2008-07-133-38/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add function for receiving netscape URLs, clear colliding clipboardChristian Neumair2008-07-131-3/+24
| | | | | | | | | | | | | | | | 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
* Add nautilus_window_slot_info_get_window() for getting currentChristian Neumair2008-07-131-0/+17
| | | | | | | | | | | | | | 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
* Use UTF-8 dash instead of "--". Fixes #542658. Thanks to Claude Paroz.Christian Neumair2008-07-121-15/+18
| | | | | | | | | | | 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
* Revert my local screenshot modification.Christian Neumair2008-07-091-4/+0
| | | | svn path=/trunk/; revision=14335
* Do not bind CTRL+T to "Move to Trash".Christian Neumair2008-07-091-1/+1
| | | | | | | | | 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
* Fix typo. Go forward instead of going back.Christian Neumair2008-07-091-1/+1
| | | | | | | | | 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
* Bookmark DND fix galore. Properly handle reordering when non-existingChristian Neumair2008-07-091-28/+50
| | | | | | | | | | | | | | 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
* Actually add it.Christian Neumair2008-07-093-319/+0
| | | | | | | | | | | | | | 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
* Merge "multiview" tab branch. Fixes #48034.Christian Neumair2008-07-0846-1710/+5653
| | | | | | | | | | 2008-07-08 Christian Neumair <cneumair@gnome.org> * libnautilus-private/*.c: * src/*.c: Merge "multiview" tab branch. Fixes #48034. svn path=/trunk/; revision=14328
* Always grab view focus on location change, even if it the old view isChristian Neumair2008-07-064-11/+96
| | | | | | | | | | | | | | | | | | | | | | 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
* Add eject button to places sidebar. Use multiple cell renderers forChristian Neumair2008-07-041-35/+251
| | | | | | | | | | | | | | | | | | 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
* Use g_mkdir() and g_chdir() instead of mkdir() and chdir() to fix someCosimo Cecchi2008-07-041-3/+3
| | | | | | | | | | | | | | | | | | 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
* Scale down huge pixbufs when loading. Massively speed up loading ofChristian Neumair2008-06-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix a huge leak as messages were pushed in the statusbar but almost neverCosimo Cecchi2008-06-291-14/+3
| | | | | | | | | | 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
* Stop loading of new view instead of just unreffing it when freeing aChristian Neumair2008-06-282-1/+29
| | | | | | | | | | | | | | | | | | 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
* Store the clipboard selection also in text/uri-list format. Part of bugChristian Persch2008-06-192-106/+144
| | | | | | | | | | | | | | | | 2008-06-19 Christian Persch <chpe@gnome.org> * src/file-manager/fm-directory-view.c: (convert_file_list_to_string), (get_clipboard_callback), (clear_clipboard_callback), (convert_file_list_to_uris), (copy_or_cut_files), (clipboard_targets_received), (real_update_paste_menu), (fm_directory_view_class_init): * src/file-manager/fm-tree-view.c: (get_clipboard_callback), (clear_clipboard_callback), (convert_file_to_uri), (copy_or_cut_files): Store the clipboard selection also in text/uri-list format. Part of bug #314120. svn path=/trunk/; revision=14277
* Slightly change zoom level algorithm to display "66%" instead of "67%".Christian Neumair2008-06-112-7/+7
| | | | | | | | | | | | | 2008-06-11 Christian Neumair <cneumair@gnome.org> * src/nautilus-file-management-properties.glade: * src/nautilus-zoom-control.c (nautilus_zoom_control_redraw): Slightly change zoom level algorithm to display "66%" instead of "67%". This looks more consistent with the "33%" label for a .3 zoom level. Also change preferences dialog accordingly: rename "75%" to "66%", and "25%" to "33%". Fixes #485965. svn path=/trunk/; revision=14256
* New function to fill submenus from extensions usingGerman Poo-Caamano2008-06-092-37/+71
| | | | | | | | | | | | | | | | | | 2008-06-08 German Poo-Caamano <gpoo@gnome.org> * src/nautilus-window-menus.c: (add_extension_menu_items): New function to fill submenus from extensions using NautilusMenuProvider::get_background_items. (nautilus_window_load_extension_menus): Fixed submenu support for extensions using NautilusMenuProvider::get_background_items. * src/file-manager/fm-directory-view.c: (search_in_menu_items): Fix typo. Submenus provided by extensions were not activated (#508878). (reset_extension_actions_menu): Code cleanup, using g_list_foreach instead for. svn path=/trunk/; revision=14249
* Don't return anything for void function. Patch by Damien Carbery.Cosimo Cecchi2008-06-051-1/+1
| | | | | | | | | | | 2008-06-05 Cosimo Cecchi <cosimoc@gnome.org> * src/file-manager/fm-icon-view.c: (fm_icon_view_real_set_directory_sort_reversed): Don't return anything for void function. Patch by Damien Carbery. (#536787). svn path=/trunk/; revision=14229
* Revert last commit as we do still need to deal with uris.Søren Sandmann2008-05-311-3/+3
| | | | | | | | | Fri May 30 23:33:17 2008 Søren Sandmann <sandmann@redhat.com> * Revert last commit as we do still need to deal with uris. svn path=/trunk/; revision=14213
* Update for new eel API Require SVN version of eelSøren Sandmann2008-05-311-3/+3
| | | | | | | | | | | | | | Fri May 30 22:16:51 2008 Søren Sandmann <sandmann@redhat.com> * libnautilus-private/nautilus-directory-background.c (initialize_background_from_settings): * src/nautilus-information-panel.c (nautilus_information_panel_update_appearance): Update for new eel API * configure.in: Require SVN version of eel svn path=/trunk/; revision=14212
* Convert g_warning() about inability to write to ~/.gtk-bookmarks toChristian Neumair2008-05-291-2/+2
| | | | | | | | | | 2008-05-29 Christian Neumair <cneumair@gnome.org> * src/nautilus-bookmark-list.c (nautilus_bookmark_list_save_file): Convert g_warning() about inability to write to ~/.gtk-bookmarks to g_message(). svn path=/trunk/; revision=14209
* Support adding files to archives via file-roller. Thanks to NelsonChristian Neumair2008-05-291-0/+34
| | | | | | | | | | | | | | | | | | | | 2008-05-29 Christian Neumair <cneumair@gnome.org> * libnautilus-private/nautilus-dnd.c (nautilus_drag_default_drop_action_for_icons): * libnautilus-private/nautilus-file-dnd.c (nautilus_drag_can_accept_files): * libnautilus-private/nautilus-file-utilities.c (nautilus_is_file_roller_installed): * libnautilus-private/nautilus-file-utilities.h: * libnautilus-private/nautilus-file.c (nautilus_file_is_archive): * libnautilus-private/nautilus-file.h: * src/file-manager/fm-directory-view.c (fm_directory_view_move_copy_items): Support adding files to archives via file-roller. Thanks to Nelson Benítez. Fixes #377157. svn path=/trunk/; revision=14208
* Display launcher editables on "Basic" page. Get rid of "Launcher" page.Christian Neumair2008-05-284-111/+79
| | | | | | | | | | | | | | 2008-05-28 Christian Neumair <cneumair@gnome.org> * src/file-manager/fm-ditem-page.c (build_table), (create_page), (fm_ditem_page_create_begin), (fm_ditem_page_make_box), (fm_ditem_page_should_show): * src/file-manager/fm-ditem-page.h: * src/file-manager/fm-properties-window.c (create_basic_page): * src/nautilus-application.c (finish_startup): Display launcher editables on "Basic" page. Get rid of "Launcher" page. svn path=/trunk/; revision=14205
* Set window role to dialog, do not use custom hacks to pack images intoChristian Neumair2008-05-231-31/+12
| | | | | | | | | | | 2008-05-24 Christian Neumair <cneumair@gnome.org> * src/nautilus-property-browser.c (nautilus_property_browser_init), (nautilus_property_browser_update_contents): Set window role to dialog, do not use custom hacks to pack images into window buttons. Fixes #78907. svn path=/trunk/; revision=14193
* Use medium as singular of media. Fixes #522986.Christian Neumair2008-05-231-2/+2
| | | | | | | | | | | | 2008-05-24 Christian Neumair <cneumair@gnome.org> * libnautilus-private/apps_nautilus_preferences.schemas.in: * libnautilus-private/nautilus-autorun.c: * src/nautilus-autorun-software.c (present_autorun_for_software_dialog): Use medium as singular of media. Fixes #522986. svn path=/trunk/; revision=14192
* Remove useless properties for computer, trash, burn and network locations.Christian Neumair2008-05-232-186/+205
| | | | | | | | | | | | | | | | | | | | | 2008-05-23 Christian Neumair <cneumair@gnome.org> * src/file-manager/fm-properties-window.c (set_name_field), (update_name_field), (value_field_update_internal), (attach_title_field), (create_page_with_hbox), (append_blank_row), (is_merged_trash_directory), (is_computer_directory), (is_network_directory), (is_burn_directory), (should_show_file_type), (should_show_location_info), (should_show_accessed_date), (should_show_free_space), (create_basic_page), (create_properties_window), (real_response), (fm_properties_window_class_init), (fm_properties_window_init): * src/file-manager/fm-properties-window.h: Remove useless properties for computer, trash, burn and network locations. Add spacing, make properties dialog HIG compliant. Derive dialog from GtkDialog, instead of GtkWindow. Fixes #325024. svn path=/trunk/; revision=14188
* Initialize autostart to FALSE.Christian Neumair2008-05-221-0/+2
| | | | | | | | | 2008-05-22 Christian Neumair <cneumair@gnome.org> * src/nautilus-main.c (main): Initialize autostart to FALSE. svn path=/trunk/; revision=14183
* Move all of Nautilus to single Gtk+ includes, because Mitch says so.A. Walton2008-05-2171-309/+71
| | | | | | | | | | | 2008-05-21 A. Walton <awalton@gnome.org> * */*.[ch]: Move all of Nautilus to single Gtk+ includes, because Mitch says so. Closes Bug #530315. svn path=/trunk/; revision=14182
* Empty the clipboard when copying/moving with DnD a file contained in it.Cosimo Cecchi2008-05-195-104/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-20 Cosimo Cecchi <cosimoc@gnome.org> * libnautilus-private/nautilus-clipboard.c: (convert_lines_to_str_list), (nautilus_clipboard_get_uri_list_from_selection_data), (nautilus_clipboard_get), (nautilus_clipboard_clear_if_colliding_uris): * libnautilus-private/nautilus-clipboard.h: * src/file-manager/fm-directory-view.c: (fm_directory_view_get_copied_files_atom), (copy_or_cut_files), (paste_clipboard_data), (action_paste_files_callback), (paste_into), (real_update_paste_menu): * src/file-manager/fm-directory-view.h: * src/file-manager/fm-icon-view.c: (icon_view_move_copy_items): * src/file-manager/fm-list-view.c: (move_copy_items_callback): * src/file-manager/fm-tree-view.c: (move_copy_items_callback), (button_pressed_callback), (copy_or_cut_files), (paste_clipboard_data), (fm_tree_view_paste_cb): Empty the clipboard when copying/moving with DnD a file contained in it. Also, refactor some clipboard code from fm-directory-view.c and fm-tree-view.c into nautilus-clipboard.c. (#532850). svn path=/trunk/; revision=14181
* Fix a typo that was breaking the image when doing DnD of emblems from theCosimo Cecchi2008-05-191-1/+1
| | | | | | | | | | 2008-05-19 Cosimo Cecchi <cosimoc@gnome.org> * src/nautilus-property-browser.c: (make_drag_image): Fix a typo that was breaking the image when doing DnD of emblems from the property browser. svn path=/trunk/; revision=14178
* Ensure that window no longer shows CD contents after CD is ejected.Padraig O'Briain2008-05-191-1/+1
| | | | | | | | | | 2008-05-19 Padraig O'Briain <padraig.obriain@sun.com> * src/nautilus-application.c (mount_removed_callback): Ensure that window no longer shows CD contents after CD is ejected. (#531678) svn path=/trunk/; revision=14176