From a9c446afe262b7989bc17ef1f9ab19931db8dede Mon Sep 17 00:00:00 2001 From: Alexandru Pandelea Date: Wed, 28 Jun 2017 17:47:41 +0100 Subject: Add favorite files Add option to make files Favorite, by either toggling a star in the list view, or from the context menu. https://bugzilla.gnome.org/show_bug.cgi?id=786039 --- src/nautilus-file.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nautilus-file.h') diff --git a/src/nautilus-file.h b/src/nautilus-file.h index 3a83bd4de..464c66e0e 100644 --- a/src/nautilus-file.h +++ b/src/nautilus-file.h @@ -55,6 +55,7 @@ typedef enum { NAUTILUS_FILE_SORT_BY_DISPLAY_NAME, NAUTILUS_FILE_SORT_BY_SIZE, NAUTILUS_FILE_SORT_BY_TYPE, + NAUTILUS_FILE_SORT_BY_FAVORITE, NAUTILUS_FILE_SORT_BY_MTIME, NAUTILUS_FILE_SORT_BY_ATIME, NAUTILUS_FILE_SORT_BY_TRASHED_TIME, @@ -215,9 +216,11 @@ gboolean nautilus_file_is_archive (NautilusFile *file); gboolean nautilus_file_is_in_search (NautilusFile *file); gboolean nautilus_file_is_in_trash (NautilusFile *file); gboolean nautilus_file_is_in_recent (NautilusFile *file); +gboolean nautilus_file_is_in_starred (NautilusFile *file); gboolean nautilus_file_is_in_admin (NautilusFile *file); gboolean nautilus_file_is_remote (NautilusFile *file); gboolean nautilus_file_is_other_locations (NautilusFile *file); +gboolean nautilus_file_is_favorite_location (NautilusFile *file); gboolean nautilus_file_is_home (NautilusFile *file); gboolean nautilus_file_is_desktop_directory (NautilusFile *file); gboolean nautilus_file_is_child_of_desktop_directory (NautilusFile *file); -- cgit v1.2.1