1. 05 Apr, 2008 2 commits
  2. 04 Apr, 2008 3 commits
    • Christian Neumair's avatar
      Move finalize to dispose, unset pointers to window/tree_view, use · a85b467e
      Christian Neumair authored
      2008-04-04  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-places-sidebar.c (nautilus_places_sidebar_init),
      	(nautilus_places_sidebar_dispose),
      	(nautilus_places_sidebar_class_init):
      
      	Move finalize to dispose, unset pointers to window/tree_view, use
      	eel_preferences_add_callback_while_alive().
      
      svn path=/trunk/; revision=14039
      a85b467e
    • Cosimo Cecchi's avatar
      Add new APIs for extensions to NautilusFileInfo (can_write, get_mount and · 957f93fd
      Cosimo Cecchi authored
      2008-04-04  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-extension/nautilus-file-info.c:
      	(nautilus_file_info_get_parent_info),
      	(nautilus_file_info_get_mount), (nautilus_file_info_can_write):
      	* libnautilus-extension/nautilus-file-info.h:
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_info_iface_init):
      	Add new APIs for extensions to NautilusFileInfo (can_write, get_mount
      	and get_parent_info). (#521612).
      
      svn path=/trunk/; revision=14036
      957f93fd
    • Christian Neumair's avatar
      Inhibit autorun in mount callbacks after finishing mounts rather than · 00a42fe8
      Christian Neumair authored
      2008-04-04  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-file-operations.c (volume_mount_cb),
      	(nautilus_file_operations_mount_volume):
      	* libnautilus-private/nautilus-file-operations.h:
      	* libnautilus-private/nautilus-mime-actions.c
      	(activation_mount_not_mounted_callback),
      	(activation_mount_not_mounted):
      	* src/nautilus-application.c (startup_volume_mount_cb),
      	(automount_all_volumes), (volume_added_callback):
      	* src/nautilus-places-sidebar.c (open_selected_bookmark),
      	(mount_shortcut_cb):
      	* src/nautilus-window-manage-views.c (mount_not_mounted_callback),
      	(got_file_info_for_view_selection_callback):
      	Inhibit autorun in mount callbacks after finishing mounts rather than
      	before mounting.
      
      	It is neccessary because the mount may take a very long time (floppy,
      	password prompt), which may take longer than the inhibition timeout.
      
      	This approach works because with the current HAL volume monitor
      	implementation, GVolumeMonitor signal emission is scheduled, while the
      	mount callbacks are invoked synchronously.
      
      	This should also fix the not working inhibition on startup, which
      	could happen because parallel mounts in the background and the rest of
      	the startup process eat resources, so the mounts may also take longer
      	than the inhibition timeout.
      
      svn path=/trunk/; revision=14034
      00a42fe8
  3. 03 Apr, 2008 3 commits
  4. 02 Apr, 2008 1 commit
    • Christian Neumair's avatar
      Subtract 1 from icon rectangle's x2/y2 positions before setting scroll · a5cf591c
      Christian Neumair authored
      2008-04-02  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_update_scroll_region),
      	(lay_down_icons_horizontal), (get_max_icon_dimensions),
      	(lay_down_icons_vertical),
      	(nautilus_icon_container_start_renaming_selected_item),
      	(nautilus_icon_container_is_layout_vertical):
      	* libnautilus-private/nautilus-icon-container.h:
      	* src/nautilus-window.c
      	(nautilus_window_set_initial_window_geometry):
      	Subtract 1 from icon rectangle's x2/y2 positions before setting scroll
      	area since the entire canvas codes requests 1 px more than it needs.
      	Wrap when the icon hits the canvas, rather than wrapping to late.
      	Fixes most of the "text besides icons" glitches.
      
      	Add container padding on the RHS for vertical layout, and consider
      	max. emblem rectangles when deciding whether to wrap. This may wrap
      	slightly to early in some (high zoom level) situations, but we will
      	never get scroll glitches.
      
      svn path=/trunk/; revision=14025
      a5cf591c
  5. 01 Apr, 2008 4 commits
    • Christian Neumair's avatar
      Remove unused "label" field of NautilusViewInfo and · 2966e3f4
      Christian Neumair authored
      2008-04-01  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-view-factory.h:
      	* src/file-manager/fm-desktop-icon-view.c
      	(fm_desktop_icon_view_register):
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view.c (fm_list_view_register):
      	* src/nautilus-navigation-window.c (load_view_as_menu):
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-manage-views.h:
      	* src/nautilus-window.c (add_view_as_menu_item):
      	Remove unused "label" field of NautilusViewInfo and
      	nautilus_window_get_view_label().
      	Rename two other fields of NautilusViewInfo and make their use
      	more explicit. Remove redundand "View" from view menu label.
      
      svn path=/trunk/; revision=14024
      2966e3f4
    • Michael J. Chudobiak's avatar
      Skip the thumbnailing of unreadable files. This is more efficient than · e5085870
      Michael J. Chudobiak authored
      2008-04-01  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libnautilus-private/nautilus-file.c: (nautilus_file_get_icon):
              Skip the thumbnailing of unreadable files. This is more efficient
              than relying on failed thumbnails. (#525594).
      
      
      svn path=/trunk/; revision=14022
      e5085870
    • Andrew Walton's avatar
      Add advice about patches adding strings to Nautilus. · b565a0e6
      Andrew Walton authored
      	* HACKING:
      	Add advice about patches adding strings to Nautilus.
      
      
      svn path=/trunk/; revision=14018
      b565a0e6
    • Cosimo Cecchi's avatar
      Do not use contractions in strings. (#145356). · 10053a33
      Cosimo Cecchi authored
      2008-04-01  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-private/nautilus-file-operations.c: (delete_dir),
      	(prompt_empty_trash), (verify_destination), (copy_move_directory),
      	(remove_target_recursively), (copy_move_file):
      	* libnautilus-private/nautilus-mime-actions.c:
      	(report_broken_symbolic_link), (activate_files):
      	* libnautilus-private/nautilus-program-choosing.c:
      	(application_cannot_open_location), (nautilus_launch_application),
      	(nautilus_launch_desktop_file):
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_loading_directory),
      	(fm_report_error_renaming_file), (fm_report_error_setting_group),
      	(fm_report_error_setting_owner),
      	(fm_report_error_setting_permissions):
      	* src/file-manager/fm-properties-window.c:
      	(fm_properties_window_drag_data_received),
      	(create_permissions_page):
      	* src/nautilus-application.c: (nautilus_application_startup):
      	* src/nautilus-connect-server-dialog-main.c:
      	(display_error_dialog):
      	* src/nautilus-connect-server-dialog.c: (connect_to_server):
      	* src/nautilus-emblem-sidebar.c:
      	(nautilus_emblem_sidebar_delete_cb), (rename_dialog_response_cb):
      	* src/nautilus-information-panel.c: (receive_dropped_uri_list):
      	* src/nautilus-property-browser.c: (remove_pattern),
      	(remove_emblem), (add_pattern_to_browser):
      	* src/nautilus-window-manage-views.c:
      	(display_view_selection_failure):
      	Do not use contractions in strings. (#145356).
      
      svn path=/trunk/; revision=14017
      10053a33
  6. 31 Mar, 2008 3 commits
  7. 30 Mar, 2008 4 commits
    • Christian Neumair's avatar
      For column layout, do not limit text width if each columns determines its · 4d712979
      Christian Neumair authored
      2008-03-31  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(create_label_layout),
      	(nautilus_icon_canvas_item_get_max_text_width):
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_start_renaming_selected_item):
      	For column layout, do not limit text width if each columns determines
      	its own width.
      
      svn path=/trunk/; revision=14009
      4d712979
    • Christian Neumair's avatar
      Return FALSE if view does not support tighter layout. · ccbc2896
      Christian Neumair authored
      
      2008-03-30  Christian Neumair  <cneumair@gnome.org>
      
      	* src/file-manager/fm-icon-view.c
      	(fm_icon_view_real_get_directory_tighter_layout):
      	Return FALSE if view does not support tighter layout.
      
      svn path=/trunk/; revision=14008
      ccbc2896
    • Christian Neumair's avatar
      Do not translate unused desktop icon view labels. · f1093fb1
      Christian Neumair authored
      2008-03-30  Christian Neumair  <cneumair@gnome.org>
      
      	* src/file-manager/fm-desktop-icon-view.c
      	(fm_desktop_icon_view_register):
      	Do not translate unused desktop icon view labels.
      
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view.c:
      	Use "... View" instead of "View as ..." for view menu and dropdown.
      	This makes the labels consistent with the preference dialog and with
      	the compact view.
      
      svn path=/trunk/; revision=14007
      f1093fb1
    • Christian Neumair's avatar
      Use icon name for window instead of pixbuf, if available (#519041). · 3b53079b
      Christian Neumair authored
      2008-03-30  Christian Neumair  <cneumair@gnome.org>
      
      	* src/file-manager/fm-properties-window.c
      	(get_image_for_properties_window), (update_properties_window_icon),
      	(create_image_widget):
      	Use icon name for window instead of pixbuf, if available (#519041).
      
      svn path=/trunk/; revision=14005
      3b53079b
  8. 29 Mar, 2008 7 commits
    • Christian Neumair's avatar
      Added compact view. · b19cc767
      Christian Neumair authored
      2008-03-29  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.c
      	(nautilus_global_preferences_get_default_folder_viewer_preference_a
      	s_iid):
      	* libnautilus-private/nautilus-global-preferences.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(create_label_layout),
      	(nautilus_icon_canvas_item_get_max_text_width):
      	* libnautilus-private/nautilus-icon-container.c
      	(lay_down_one_column), (get_max_icon_dimensions),
      	(lay_down_icons_vertical), (lay_down_icons_vertical_desktop),
      	(lay_down_icons), (size_allocate),
      	(nautilus_icon_container_update_icon),
      	(nautilus_icon_container_set_layout_mode),
      	(nautilus_icon_container_start_renaming_selected_item),
      	(nautilus_icon_container_set_forced_icon_size),
      	(nautilus_icon_container_set_all_columns_same_width):
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-private.h:
      	* libnautilus-private/nautilus-metadata.h:
      	* src/file-manager/fm-icon-container.c
      	(fm_icon_container_get_icon_images),
      	(fm_icon_container_get_icon_text):
      	* src/file-manager/fm-icon-view.c
      	(get_stored_icon_position_callback),
      	(fm_icon_view_supports_manual_layout),
      	(fm_icon_view_supports_tighter_layout), (update_layout_menus),
      	(fm_icon_view_real_set_directory_sort_reversed),
      	(fm_icon_view_get_directory_auto_layout),
      	(fm_icon_view_real_get_directory_auto_layout),
      	(fm_icon_view_set_directory_auto_layout),
      	(fm_icon_view_real_set_directory_auto_layout),
      	(fm_icon_view_real_set_directory_tighter_layout),
      	(real_supports_manual_layout), (get_default_zoom_level),
      	(set_labels_beside_icons), (set_columns_same_width),
      	(fm_icon_view_begin_loading), (fm_icon_view_set_zoom_level),
      	(fm_icon_view_zoom_to_level),
      	(fm_icon_view_restore_default_zoom_level),
      	(default_zoom_level_changed_callback),
      	(all_columns_same_width_changed_callback),
      	(fm_icon_view_set_property), (fm_icon_view_class_init),
      	(fm_icon_view_get_id), (fm_icon_view_init), (fm_icon_view_create),
      	(fm_compact_view_create), (fm_icon_view_is_compact),
      	(fm_icon_view_register):
      	* src/file-manager/fm-icon-view.h:
      	* src/nautilus-file-management-properties.c
      	(nautilus_file_management_properties_dialog_setup):
      	* src/nautilus-file-management-properties.glade:
      	Added compact view.
      
      svn path=/trunk/; revision=14003
      b19cc767
    • Cosimo Cecchi's avatar
      Fix a typo in a string. (#521199). · fc91bb49
      Cosimo Cecchi authored
      2008-03-29  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* src/nautilus-window-manage-views.c:
      	(display_view_selection_failure):
      	Fix a typo in a string. (#521199).
      
      svn path=/trunk/; revision=14002
      fc91bb49
    • Cosimo Cecchi's avatar
      Use title capitalization for the File Operations dialog. (#516353). · 5f3fee55
      Cosimo Cecchi authored
      2008-03-29  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-private/nautilus-progress-info.c:
      	(get_progress_window):
      	Use title capitalization for the File Operations dialog. (#516353).
      
      svn path=/trunk/; revision=14001
      5f3fee55
    • Cosimo Cecchi's avatar
      Show network servers in Places sidebar. Patch by Vincent Untz. (#350974). · 3991a37f
      Cosimo Cecchi authored
      2008-03-29  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* src/nautilus-places-sidebar.c: (update_places):
      	Show network servers in Places sidebar. Patch by Vincent Untz.
      	(#350974).
      
      svn path=/trunk/; revision=14000
      3991a37f
    • Cosimo Cecchi's avatar
      Add support for "Invert Selection". Patch by Amos Brocco · 47229472
      Cosimo Cecchi authored
      2008-03-29  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_invert_selection):
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-view.c:
      	(nautilus_view_invert_selection):
      	* libnautilus-private/nautilus-view.h:
      	* src/file-manager/fm-actions.h:
      	* src/file-manager/fm-directory-view.c:
      	(action_invert_selection_callback),
      	(fm_directory_view_invert_selection), (real_update_menus),
      	(fm_directory_view_class_init):
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_invert_selection),
      	(fm_icon_view_class_init):
      	* src/file-manager/fm-list-view.c: (fm_list_view_invert_selection),
      	(fm_list_view_class_init):
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	Add support for "Invert Selection". Patch by Amos Brocco
      	<amos.brocco@unifr.ch>. (#305295).
      
      svn path=/trunk/; revision=13999
      47229472
    • Christian Neumair's avatar
      When restarting with "nautilus --restart", use XML file session save / · d818b409
      Christian Neumair authored
      
      2008-03-29  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-application.c
      	(nautilus_application_save_session_to_file), (save_session):
      	* src/nautilus-application.h:
      	* src/nautilus-main.c (main):
      	* src/nautilus-shell.c (open_windows_at_idle), (restart_at_idle):
      	When restarting with "nautilus --restart", use XML file session
      	save / load mechanism, instead of writing to / reading from GConf.
      
      svn path=/trunk/; revision=13998
      d818b409
    • Christian Neumair's avatar
      Write back changes to selected bookmark before changing selection · 28524412
      Christian Neumair authored
      2008-03-29  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-bookmarks-window.c (create_bookmarks_window),
      	(on_button_pressed), (on_key_pressed), (repopulate):
      	Write back changes to selected bookmark before changing
      	selection (#318278).
      
      svn path=/trunk/; revision=13997
      28524412
  9. 28 Mar, 2008 9 commits
  10. 26 Mar, 2008 1 commit
  11. 24 Mar, 2008 1 commit
  12. 23 Mar, 2008 2 commits
    • Christian Neumair's avatar
      Ref/unref view before/after receiving clipboard data, and check whether it · 9f4a011f
      Christian Neumair authored
      2008-03-23  Christian Neumair  <cneumair@gnome.org>
      
      	* src/file-manager/fm-directory-view.c
      	(directory_list_lookup_file), (fm_directory_view_new_folder),
      	(paste_clipboard_received_callback),
      	(paste_into_clipboard_received_callback),
      	(action_paste_files_callback), (action_paste_files_into_callback):
      	Ref/unref view before/after receiving clipboard data, and check
      	whether it has been disposed. Should fix most of the clipboard crashers.
      
      	* src/file-manager/fm-tree-view.c
      	(clipboard_contents_received_callback), (button_pressed_callback),
      	(create_popup_menu), (fm_tree_view_init), (fm_tree_view_dispose),
      	(fm_tree_view_finalize):
      	Cancel activation and destroy popup in dispose() and not in finalize().
      	Create popup menu on demand.
      	Unref popup file in dispose() instead of leaking a reference.
      	Use eel_preferences_add_callback_while_alive() for preferences
      	callbacks.
      	Also ref/unref before/after requesting clipboard data, and check for
      	previous disposal in callback. Should fix rest of clipboard crashers.
      
      svn path=/trunk/; revision=13980
      9f4a011f
    • Christian Neumair's avatar
      Use playbin for playback, but keep video playback disabled. (#523959). · 00eceb43
      Christian Neumair authored
      2008-03-23  Christian Neumair  <cneumair@gnome.org>
      
      	* src/file-manager/fm-icon-view.c (play_file):
      	Use playbin for playback, but keep video playback disabled. (#523959).
      
      svn path=/trunk/; revision=13979
      00eceb43