diff options
author | Carlos Soriano <csoriano@gnome.org> | 2018-02-13 17:41:58 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2018-02-13 20:11:55 +0100 |
commit | 27b039b37c1149fc8abbef6a683dd939e6f2bf1f (patch) | |
tree | fe7ee1652e0bbd04ffffb8ca9475ceb022192dff /src/nautilus-pathbar.c | |
parent | 275512d574db3a5f5e1bdd7dbf2e64c1ebc83359 (diff) | |
download | nautilus-27b039b37c1149fc8abbef6a683dd939e6f2bf1f.tar.gz |
general: Rename from 'favorite' to 'starred'
It was a mix of both terms, given that tracker uses 'favorite' but we
use 'starred' in the UI. Since the part that interact with tracker is
minimal, is better to be consistent with the UI.
This renames 'favorite' to 'starred' except the tracker queries.
Diffstat (limited to 'src/nautilus-pathbar.c')
-rw-r--r-- | src/nautilus-pathbar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c index ae6706a20..6aeda60fb 100644 --- a/src/nautilus-pathbar.c +++ b/src/nautilus-pathbar.c @@ -48,7 +48,7 @@ typedef enum ROOT_BUTTON, HOME_BUTTON, MOUNT_BUTTON, - FAVORITE_LOCATION_BUTTON + STARRED_LOCATION_BUTTON } ButtonType; #define BUTTON_DATA(x) ((ButtonData *) (x)) @@ -455,7 +455,7 @@ get_dir_name (ButtonData *button_data) return _("Other Locations"); } - case FAVORITE_LOCATION_BUTTON: + case STARRED_LOCATION_BUTTON: { return _("Starred"); } @@ -1930,9 +1930,9 @@ setup_button_type (ButtonData *button_data, g_object_unref (mount); } - else if (nautilus_is_favorite_directory (location)) + else if (nautilus_is_starred_directory (location)) { - button_data->type = FAVORITE_LOCATION_BUTTON; + button_data->type = STARRED_LOCATION_BUTTON; } else { |