Commit graph

12 commits

Author SHA1 Message Date
Javier Jardón
f657a12a9f libnautilus-private: Use 'const' instead G_CONST_RETURN 2011-06-09 17:57:07 +01:00
Cosimo Cecchi
c40521ffbc icon-info: remove unused code 2011-02-21 22:14:07 -05:00
Cosimo Cecchi
1df83c6586 icon-info: add a method to fetch GIcons for user special dirs 2010-08-25 20:00:32 +02:00
Cosimo Cecchi
110a0e8f2b icon-info: add nautilus_icon_theme_can_render() 2010-08-20 09:56:48 +02:00
Pierre Wieser
36d83807cc Add nautilus_icon_info_lookup_from_path() 2009-11-25 08:31:39 +01:00
Cosimo Cecchi
7fce8f06d6 Use single GLib/GTK+ includes. Patch by Maxim Ermilov (#560432).
2008-12-06  Cosimo Cecchi  <cosimoc@gnome.org>

	* cut-n-paste-code/libegg/eggtreemultidnd.c:
	* cut-n-paste-code/libegg/eggtreemultidnd.h:
	* libnautilus-extension/nautilus-menu.c:
	* libnautilus-private/nautilus-directory-notify.h:
	* libnautilus-private/nautilus-file-operations.c:
	* libnautilus-private/nautilus-file.c:
	* libnautilus-private/nautilus-icon-info.h:
	* libnautilus-private/nautilus-idle-queue.h:
	* libnautilus-private/nautilus-monitor.h:
	* libnautilus-private/nautilus-search-engine-simple.c:
	* src/file-manager/fm-list-model.c:
	* src/file-manager/fm-list-model.h:
	* src/file-manager/fm-list-view.c:
	* src/nautilus-emblem-sidebar.h:
	* src/nautilus-notebook.c:
	* src/nautilus-notebook.h:
	Use single GLib/GTK+ includes. Patch by Maxim Ermilov (#560432).

svn path=/trunk/; revision=14797
2008-12-06 10:26:20 +00:00
Alexander Larsson
0e91da53e6 Manually fall back to default fallback icon for files if not found. Goes
2008-10-23  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file.c:
        * libnautilus-private/nautilus-icon-info.[ch]:
	Manually fall back to default fallback icon for
	files if not found. Goes with the corresponding
	glib/gvfs change to not add the fallback icon to
	the end of files icons. (#528320)



svn path=/trunk/; revision=14759
2008-10-23 10:06:59 +00:00
Christian Neumair
46085d802f Support emblem file names that do not start with “emblem-”. Fixes
2008-09-22  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_get_emblem_icons):
	* libnautilus-private/nautilus-icon-info.c:
	* libnautilus-private/nautilus-icon-info.h:
	Support emblem file names that do not start with “emblem-”. Fixes
	#350643.

svn path=/trunk/; revision=14660
2008-09-22 10:02:31 +00:00
Christian Neumair
9286eee090 Add "icon_view/text_ellipsis_limit" and "desktop/text_ellipsis_limit".
2008-08-18  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/apps_nautilus_preferences.schemas.in:
	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	Add "icon_view/text_ellipsis_limit" and "desktop/text_ellipsis_limit".
	They specify the maximum number of lines to display before the file
	names should be ellipsized.

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text):
	* libnautilus-private/nautilus-icon-container.c
	(text_ellipsis_limit_changed_container_callback),
	(nautilus_icon_container_constructor),
	(nautilus_icon_container_class_init),
	(get_text_ellipsis_limit_for_zoom),
	(text_ellipsis_limit_changed_callback),
	(desktop_text_ellipsis_limit_changed_callback),
	(nautilus_icon_container_instance_init),
	(nautilus_icon_container_get_layout_height):
	* libnautilus-private/nautilus-icon-container.h:
	* libnautilus-private/nautilus-icon-info.h:
	Connect icon container to text ellipsis limit preferences.

svn path=/trunk/; revision=14489
2008-08-18 20:47:18 +00:00
A. Walton
07ac17a986 Trivial build fix for users with Gtk+ SVN trunk (#522835), caused by
2008-03-17  A. Walton  <awalton@svn.gnome.org>

	* libnautilus-private/nautilus-icon-info.h:
	Trivial build fix for users with Gtk+ SVN trunk (#522835), 
	caused by recent changes in Gtk+'s file includes.
	Patch from Marc-Andre Lureau.


svn path=/trunk/; revision=13951
2008-03-17 22:15:03 +00:00
Alexander Larsson
6559286c10 Only use <gio/gio.h> include
2007-12-14  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-bookmark.c:
        * libnautilus-private/nautilus-bookmark.h:
        * libnautilus-private/nautilus-desktop-icon-file.c:
        * libnautilus-private/nautilus-desktop-link-monitor.c:
        * libnautilus-private/nautilus-desktop-link.c:
        * libnautilus-private/nautilus-desktop-link.h:
        * libnautilus-private/nautilus-directory-private.h:
        * libnautilus-private/nautilus-directory.h:
        * libnautilus-private/nautilus-emblem-utils.h:
        * libnautilus-private/nautilus-file-changes-queue.h:
        * libnautilus-private/nautilus-file-operations.c:
        * libnautilus-private/nautilus-file-operations.h:
        * libnautilus-private/nautilus-file-utilities.c:
        * libnautilus-private/nautilus-file-utilities.h:
        * libnautilus-private/nautilus-file.c:
        * libnautilus-private/nautilus-file.h:
        * libnautilus-private/nautilus-icon-info.c:
        * libnautilus-private/nautilus-icon-info.h:
        * libnautilus-private/nautilus-link.c:
        * libnautilus-private/nautilus-mime-actions.h:
        * libnautilus-private/nautilus-mime-application-chooser.c:
        * libnautilus-private/nautilus-monitor.c:
        * libnautilus-private/nautilus-monitor.h:
        * libnautilus-private/nautilus-open-with-dialog.c:
        * libnautilus-private/nautilus-open-with-dialog.h:
        * libnautilus-private/nautilus-program-choosing.c:
        * libnautilus-private/nautilus-program-choosing.h:
        * libnautilus-private/nautilus-progress-info.h:
        * libnautilus-private/nautilus-recent.h:
        * libnautilus-private/nautilus-search-directory.c:
        * libnautilus-private/nautilus-search-engine-simple.c:
        * libnautilus-private/nautilus-trash-monitor.c:
        * libnautilus-private/nautilus-trash-monitor.h:
        * libnautilus-private/nautilus-ui-utilities.c:
        * libnautilus-private/nautilus-view-factory.h:
        * src/file-manager/fm-directory-view.c:
        * src/file-manager/fm-directory-view.h:
        * src/file-manager/fm-icon-container.c:
        * src/file-manager/fm-icon-view.c:
        * src/file-manager/fm-tree-model.h:
        * src/file-manager/fm-tree-view.c:
        * src/nautilus-application.c:
        * src/nautilus-application.h:
        * src/nautilus-bookmark-list.c:
        * src/nautilus-bookmark-list.h:
        * src/nautilus-desktop-window.c:
        * src/nautilus-image-properties-page.c:
        * src/nautilus-location-entry.c:
        * src/nautilus-navigation-window.c:
        * src/nautilus-pathbar.c:
        * src/nautilus-pathbar.h:
        * src/nautilus-places-sidebar.c:
        * src/nautilus-property-browser.c:
        * src/nautilus-query-editor.c:
        * src/nautilus-window-menus.c:
	Only use <gio/gio.h> include 


svn path=/trunk/; revision=13529
2007-12-14 10:31:25 +00:00
Alexander Larsson
469047a2a5 Merge gio-branch
svn path=/trunk/; revision=13464
2007-11-30 14:51:10 +00:00