1. 30 Nov, 2006 1 commit
  2. 23 Nov, 2006 1 commit
  3. 26 Apr, 2006 1 commit
  4. 18 Apr, 2006 1 commit
    • Alexander Larsson's avatar
      Add LARGE_TOP_LEFT_TEXT attribute and change the text size for the normal · d870f63e
      Alexander Larsson authored
      2006-04-18  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-attributes.h:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory-private.h:
      	* libnautilus-private/nautilus-file-private.h:
      	* libnautilus-private/nautilus-file.c:
      	* libnautilus-private/nautilus-file.h:
      	Add  LARGE_TOP_LEFT_TEXT attribute and change the text size for
      	the normal top-left text to 10x5.
      	Add need_large argument to nautilus_file_peek_top_left_text and
      	nautilus_extract_top_left_text.
      
      	* libnautilus-private/nautilus-icon-canvas-item.[ch]
      	Make details an instance-private instead of allocating separately.
      	Add _set_is_visible() and only keep PangoLayouts cached for
      	visible icons.
      
      	* libnautilus-private/nautilus-icon-container.[ch]:
      	* src/file-manager/fm-icon-container.c:
      	Monitor large embedded text for larger icons.
      	Call nautilus_icon_canvas_item_set_is_visible as needed.
      
      	* libnautilus-private/nautilus-icon-factory.[ch]:
      	Limit never-free recently used cache to 20 items.
      	Free other unused cache items after a 100 sec.
      d870f63e
  5. 18 Mar, 2006 1 commit
    • Martin Wehner's avatar
      Use gi18n.h instead of deprecated gnome-i18n.h header. · cb131b9c
      Martin Wehner authored
      2006-03-18  Martin Wehner  <martin.wehner@gmail.com>
      
      	* libnautilus-private/*.c:
      	* src/file-manager/*.c:
      	* src/*.c:
      	Use gi18n.h instead of deprecated gnome-i18n.h header.
      
      	* libnautilus-private/nautilus-query.c:
      	(nautilus_query_to_readable_string):
      	Mark string for translation.
      
      	* po/POTFILES.in:
      	Add nautilus-query.c
      
      	Patch from Wouter Bolsterlee <uws+gnome@xs4all.nl>
      cb131b9c
  6. 06 Mar, 2006 1 commit
  7. 03 Mar, 2006 1 commit
  8. 27 Feb, 2006 1 commit
  9. 14 Nov, 2005 2 commits
  10. 28 Oct, 2005 1 commit
    • Matthias Clasen's avatar
      Improve drawing of the outline for icon stretching, make the knob image · f2238c5c
      Matthias Clasen authored
      2005-10-28  Matthias Clasen  <mclasen@redhat.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c (draw_stretch_handles:
      	(hit_test_stretch_handle): Improve drawing of the outline for icon stretching,
      	make the knob image themable as stock-nautilus-knob.
      
      	* libnautilus-private/nautilus-icon-container.c: Implement icon stretching
      	via keyboard, with <Control>+, <Control>- and <Control>0.
      
      	* src/nautilus-window-manage-views.c (zoom_level_changed_callback): Make the
      	ZOOM_NORMAL action insensitive when zooming is not supported, so that it
      	does not eat <Control>0.
      f2238c5c
  11. 26 Sep, 2005 1 commit
    • Christian Neumair's avatar
      Make changes to "desktop_is_home_dir" GConf key instant apply. Fixes · e64d43ee
      Christian Neumair authored
      2005-09-26  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-desktop-directory.c:
      	(desktop_directory_changed_callback), (desktop_finalize),
      	(update_desktop_directory): Make changes to "desktop_is_home_dir"
      	GConf key instant apply. Fixes #116217.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_get_image): Add emblems to drag icon.
      	Partially fixes	#159643.
      
      	* src/file-manager/fm-directory-view.c:
      	(action_mount_volume_callback), (action_unmount_volume_callback),
      	(action_eject_volume_callback), (file_should_show_foreach),
      	(real_update_menus_volumes): Allow to mount/unmount/eject multiple
      	volumes at once. Fixes #156169.
      e64d43ee
  12. 06 Jul, 2005 1 commit
    • Alexander Larsson's avatar
      Add normal_alpha style property that is used when frame_text is on. · fdecd6e0
      Alexander Larsson authored
      2005-07-06  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-private.h:
      	Add normal_alpha style property that is used when
      	frame_text is on.
      
      	Patch from Benjamin Berg <benjamin@sipsolutions.net>
      fdecd6e0
  13. 03 Jun, 2005 1 commit
    • Christian Neumair's avatar
      Don't mark object property names/descriptions for translation. Fixes · 7dce6d40
      Christian Neumair authored
      2005-06-03  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-extension/nautilus-column.c:
      	(nautilus_column_class_init):
      	* libnautilus-extension/nautilus-menu-item.c:
      	(nautilus_menu_item_class_init):
      	* libnautilus-extension/nautilus-property-page.c:
      	(nautilus_property_page_class_init):
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_class_init):
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_class_init):
      	* src/nautilus-window.c: (nautilus_window_class_init):
      	Don't mark object property names/descriptions for translation. Fixes
      	#135281.
      7dce6d40
  14. 04 Apr, 2005 1 commit
    • Diego Gonzalez's avatar
      remove nautilus-theme.[c-h] from the build process. remove the need to use · 3b3939c6
      Diego Gonzalez authored
      2005-03-16  Diego Gonzalez  <diego@pemas.net>
      
      	* libnautilus-private/Makefile.am: remove nautilus-theme.[c-h]
      	  from the build process.
      	* libnautilus-private/nautilus-icon-factory.c:
      	  (load_thumbnail_frame) remove the need to use the deprecated
      	  nautilus themes.
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	  (draw_strech_handles), (it_test_stretch_handle):
      	  remove the need to use the deprecated nautilus themes.
      	* libnautilus-private/nautilus-thumbnails.c:
      	* libnautilus-private/nautilus-icon-factory.c:
      	  remove nautilus-theme.h include
      
      	* src/nautilus-navigation-window.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-notes-viewer.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-toolbars.c:
      	* src/nautilus-zoom-control.c:
      	  remove nautilus-theme.h include
      
      	* src/nautilus-sidebar-title:
      	 (nautilus_sidebar_title_select_text_color): remove use of
      	 old theme stuff and adapt the shadow offset, made it equal to 1,
      	 which is the default.
      	 (nautilus_sidebar_title_theme_changed): remove, as there will be
      	 no sidebar theme changes.
      	    (nautilus_sidebar_title_init): remove the theme_changed callback, as
      	 there will not be sidebar theme changes anymore.
      
      	 * src/nautilus-notes-viewer.c:
      	 (nautilus_notes_viewer_init): remove use of old theme stuff.
      
      	* icons/Makefile.am: don't install old theme stuff.
      3b3939c6
  15. 31 Mar, 2005 1 commit
    • Martin Wehner's avatar
      New svg icon from Corey Woodworth <CoreyWoodworth@gmail.com> · 2ea2f146
      Martin Wehner authored
      2005-03-31  Martin Wehner  <martin.wehner@gmail.com>
      
      	* icons/audio.svg:
      	New svg icon from Corey Woodworth <CoreyWoodworth@gmail.com>
      
      	* icons/audio.png:
      	Remove old file.
      
      	* icons/Makefile.am:
      	Install new icon.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(real_map_pixbuf):
      	Use svg instead of bitmap audio preview emblem.
      
      	Patch from Jaap Haitsma <jaap@haitsma.org>
      2ea2f146
  16. 29 Oct, 2004 1 commit
  17. 22 Oct, 2004 1 commit
    • Alexander Larsson's avatar
      Make the nautilus_icon_canvas_item_get_image return an image containing · b1f357b9
      Alexander Larsson authored
      2004-10-22  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_get_image), (draw_frame),
      	(draw_or_measure_label_text), (measure_label_text),
      	(draw_label_text), (draw_mask), (nautilus_icon_canvas_item_draw):
      	Make the nautilus_icon_canvas_item_get_image return an image containing
      	icon + text. The image "start" changed to being from the item position to
      	from the item boundary.
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	(nautilus_icon_dnd_begin_drag):
      	Calculate icon offset from the boundary instead of icon position.
      b1f357b9
  18. 06 Oct, 2004 1 commit
    • Alexander Larsson's avatar
      Readjust padding from last change. · 05fd033a
      Alexander Larsson authored
      2004-10-06  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text):
      	Readjust padding from last change.
      05fd033a
  19. 01 Oct, 2004 1 commit
  20. 24 May, 2004 1 commit
  21. 11 Feb, 2004 1 commit
  22. 27 Jan, 2004 1 commit
    • Padraig O'Briain's avatar
      Implement AtkAction in an idle handler to avoid causing the AT to hang if · c8241a07
      Padraig O'Briain authored
      2004-01-27  Padraig O'Briain  <padraig.obriain@sun.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c: Implement
      	AtkAction in an idle handler to avoid causing the AT to hang if the
      	action does not return until completed, e.g. displays a dialog.
      	Use queue and idle handler defined in NautilusIconContainer.
      
      	* libnautilus-private/nautilus-icon-container.c (finalize): Free
      	accessibility action queue and remove idle handler.
      
      	* libnautilus-private/nautilus-icon-private.h: Add
      	a11y_item_action_idle_handler and a11y_item_action_queue to
      	NautilusIconContainerDetails.
      
      	Fixes bug #132153.
      c8241a07
  23. 03 Dec, 2003 1 commit
    • Padraig O'Briain's avatar
      Return TRUE when function succeeds. · 2a1f721c
      Padraig O'Briain authored
      2003-12-03  Padraig O'Briain  <padraig.obriain@sun.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_accessible_action_set_description): Return
      	TRUE when function succeeds.
      	(nautilus_icon_canvas_item_accessible_get_name): If name has been set
      	using atk_object_set_name return that.
      	(nautilus_icon_canvas_item_accessible_finalize): Free image description
      	or description if exists.
      	(nautilus_icon_canvas_item_accessible_get_image_description): Return
      	icon description, if it exists.
      	(nautilus_icon_canvas_item_accessible_set_image-description):
      	Implement this function.
      
      	* libnautilus-private/nautrilus-icon-container.[ch]:
      	(nautilus_icon_container_get_icon_description): New function.
      
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_get_icon_description): New function to implement
      	NautilusIconContainerClass's get_icon_description.
      
      	This fixes part of bug #126183.
      2a1f721c
  24. 19 Nov, 2003 2 commits
  25. 08 Oct, 2003 1 commit
    • Padraig O'Briain's avatar
      libnautilus-private/nautilus-icon-canvas-item.c · bce49667
      Padraig O'Briain authored
      2003-10-08  Padraig O'Briain  <padraig.obriain@sun.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(nautilus_icon_canvas_item_accessible_ref_state_set) Avoid
      	dereferencing a NULL pointer. (bug #124122)
      bce49667
  26. 30 Jul, 2003 1 commit
  27. 08 Jul, 2003 1 commit
    • Alexander Larsson's avatar
      Skip assert for commonly run code. · e3621330
      Alexander Larsson authored
      2003-07-08  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-directory-async.c: (is_needy):
      	Skip assert for commonly run code.
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	(desktop_dir_changed_callback),
      	(nautilus_is_desktop_directory_escaped):
      	New function nautilus_is_desktop_directory_escaped to handle
      	faster check if file is desktop dir.
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_info_missing), (compare_by_display_name),
      	(file_is_desktop), (nautilus_file_get_display_name_collation_key),
      	(nautilus_file_get_display_name_nocopy),
      	(nautilus_file_get_file_type):
      	Some micro-optimizations. Faster file_is_desktop
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_invalidate_bounds_cache),
      	(nautilus_icon_canvas_item_invalidate_label_size),
      	(nautilus_icon_canvas_item_set_image),
      	(nautilus_icon_canvas_item_set_emblems),
      	(nautilus_icon_canvas_item_set_attach_points),
      	(nautilus_icon_canvas_item_set_embedded_text_rect),
      	(nautilus_icon_canvas_item_bounds):
      	Cache bounds calculation. Invalidate when needed.
      e3621330
  28. 05 Jul, 2003 1 commit
  29. 29 Jun, 2003 1 commit
  30. 12 Jun, 2003 1 commit
  31. 09 Jun, 2003 1 commit
    • Dave Camp's avatar
      Add a mode for text-beside-icons. · de539cfd
      Dave Camp authored
      2003-06-09  Dave Camp  <dave@ximian.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(compute_text_rectangle),
      	(nautilus_icon_canvas_item_update_bounds),
      	(draw_or_measure_label_text), (measure_label_text),
      	(draw_label_text), (nautilus_icon_canvas_item_draw),
      	(create_label_layout), (nautilus_icon_canvas_item_bounds),
      	(nautilus_icon_canvas_item_get_text_rectangle),
      	(nautilus_icon_canvas_item_get_max_text_width):
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-container.c: (get_grid_width),
      	(lay_down_icons_horizontal),
      	(nautilus_icon_container_set_label_position):
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-private.h:  Add a mode for
      	text-beside-icons.
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_class_init), (real_supports_keep_aligned),
      	(real_supports_labels_beside_icons):
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_supports_labels_beside_icons),
      	(real_supports_labels_beside_icons), (set_labels_beside_icons),
      	(fm_icon_view_begin_loading),
      	(labels_beside_icons_changed_callback), (fm_icon_view_class_init),
      	(fm_icon_view_instance_init):
      	* src/file-manager/fm-icon-view.h: Add a "text beside icons"
      	preference.
      
      	* src/nautilus-file-management-properties.c:
      	(nautilus_file_management_properties_dialog_setup):
      	* src/nautilus-file-management-properties.glade: Add the pref
      	to the dialog.
      de539cfd
  32. 14 May, 2003 1 commit
  33. 23 Apr, 2003 1 commit
    • Alexander Larsson's avatar
      AIX port from Laurent.Vivier@bull.net (Laurent Vivier) · 3e0d21df
      Alexander Larsson authored
      2003-04-23  Alexander Larsson  <alexl@redhat.com>
      
              AIX port from Laurent.Vivier@bull.net (Laurent Vivier)
      
      	* configure.in:
      	Look for popt and some aix headers
      
      	* components/hardware/Nautilus_View_hardware.server.in.in:
      	Fix up LIBEXECDIR reference
      
      	* components/history/nautilus-history-view.c:
      	* components/notes/nautilus-notes.c:
      	* components/throbber/nautilus-throbber.c:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-program-chooser.c:
      	* libnautilus-private/nautilus-volume-monitor.h:
      	* src/nautilus-applicable-views.h:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-sidebar-title.c:
      	* src/file-manager/fm-directory-view.c:
      	* test/test-nautilus-preferences-change.c: (main):
      	* test/test.c: (test_quit):
      	Fix c++ comments and commas at end of enums.
      	Move math.h includes to top.
      
      	* data/Makefile.am:
      	Remove duplicate definitions
      
      	* libnautilus-adapter/Makefile.am:
      	* libnautilus-private/Makefile.am:
      	* libnautilus/Makefile.am:
      	Add correct libs
      
      	* libnautilus-private/nautilus-file-private.h:
      	Bitfields can't be enums.
      
      	* libnautilus-private/nautilus-volume-monitor.c:
      	Implement AIX support.
      
      	* src/Makefile.am:
      	Add POPT_FLAGS
      3e0d21df
  34. 19 Mar, 2003 1 commit
    • Padraig O'Briain's avatar
      New function which sets which state ATK_STATE_FOCUSED, if appropriate. · 264cea06
      Padraig O'Briain authored
      2003-03-19  Padraig O'Briain  <padraig.obriain@sun.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(nautilus_icon_canvas_item_accessible_ref_state_set): New function
      	which sets which state ATK_STATE_FOCUSED, if appropriate.
      
      	* libnautilus-private/nautilus-icon-container.c
      	(select_one_unselect_others): Call atk_focus_tracker_notify() if
      	selection changed.
      
      	This fixes bug #107639.
      264cea06
  35. 17 Mar, 2003 1 commit
    • Alexander Larsson's avatar
      Move rename widget left one pixel to handle frame width. · b8f5cff0
      Alexander Larsson authored
      2003-03-17  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_start_renaming_selected_item):
      	Move rename widget left one pixel to handle frame width.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c (compute_text_rectangle):
      	Make the LABEL_OFFSET be part of the text rect to avoid a gap.
      b8f5cff0
  36. 06 Mar, 2003 1 commit
    • Alexander Larsson's avatar
      Update according to NautilusIconFactory API changes. · 5c02e4a9
      Alexander Larsson authored
      2003-03-06  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-bookmark.c:
      	(nautilus_bookmark_get_pixbuf), (nautilus_bookmark_update_icon):
      	* libnautilus-private/nautilus-emblem-utils.c:
      	(nautilus_emblem_rename_emblem):
      	* src/nautilus-sidebar-title.c: (update_emblems):
      	* src/file-manager/fm-directory-view.c: (ready_to_load):
      	Update according to NautilusIconFactory API changes.
      
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_peek_top_left_text),
      	(nautilus_file_get_top_left_text):
      	Add needs_loading out parameter to nautilus_file_peek_top_left_text.
      
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_set_embedded_text_rect),
      	(nautilus_icon_canvas_item_set_embedded_text),
      	(draw_embedded_text), (nautilus_icon_canvas_item_draw):
      	Render embedded text on exposes.
      	(nautilus_icon_canvas_item_get_image):
      	Return a GdkPixmap + mask instead of pixbuf, so that
      	we can do the text rendering on it.
      
      	* libnautilus-private/nautilus-icon-private.h:
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_clear), (icon_destroy),
      	(nautilus_icon_container_get_icon_images),
      	(nautilus_icon_container_start_monitor_top_left),
      	(nautilus_icon_container_stop_monitor_top_left),
      	(nautilus_icon_container_update_icon):
      	For icons that have an embedded text rect, request the
      	top-left text, and set the text on the canvas item.
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	(nautilus_icon_dnd_begin_drag):
      	nautilus_icon_canvas_item_get_image now returns a pixmap, handle this
      	change.
      
      	* libnautilus-private/nautilus-icon-factory.h:
      	* libnautilus-private/nautilus-icon-factory.c: (cache_key_destroy),
      	(nautilus_icon_factory_get_required_file_attributes),
      	(get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_icon),
      	(cache_key_hash), (cache_key_equal),
      	(nautilus_icon_factory_get_pixbuf_for_file),
      	(nautilus_icon_factory_get_pixbuf_from_name),
      	(nautilus_icon_factory_remove_from_cache):
      	Remove all embedded text handling.
      	(nautilus_icon_factory_get_basic_file_attributes):
      	Remove, not needed anymore.
      	(nautilus_icon_factory_get_icon_for_file):
      	Pass in whether you want icons for text embedding or not.
      
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_get_icon_images),
      	(fm_icon_container_start_monitor_top_left),
      	(fm_icon_container_stop_monitor_top_left),
      	(fm_icon_container_class_init):
      	Update to new APIs. pass TRUE for embedd_text in get_icon_for_file.
      	Implement start/stop top left monitoring.
      
      	* src/file-manager/fm-icon-view.c:
      	(list_covers),(fm_icon_view_clear):
      	Clear the icon container before unreferencing the NautilusFiles.
      	Otherwise the stop_monitor call uses the unref:ed file.
      5c02e4a9
  37. 04 Mar, 2003 1 commit
    • Alexander Larsson's avatar
      EEL_CANVAS, not GNOME_CANVAS. · 42a6c320
      Alexander Larsson authored
      2003-03-04  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_accessible_get_type):
      	EEL_CANVAS, not GNOME_CANVAS.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_accessible_get_type):
      	Implements AtkText for icons presenting the text on both lines.
      	Implements atk_text_get_offset_at_point and atk_text_get_character_extents
      	so that screen readers can obtain the text.
      
      	* src/nautilus-zoom-control.c (nautilus_zoom_control_accessible_initialize):
      	Set the role for the zoom widget.
      
      	All patches by padraig.obriain@sun.com
      42a6c320
  38. 28 Feb, 2003 1 commit