Skip to content

Commit 81e91c4

Browse files
committed
sidebar icons: Fix bookmark icons when creating a new bookmark, use a
difference recent icon.
1 parent b46a16c commit 81e91c4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

libnemo-private/nemo-file.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4771,6 +4771,11 @@ nemo_file_get_control_icon_name (NemoFile *file)
47714771
}
47724772

47734773
g_object_unref (gicon);
4774+
4775+
if (g_strcmp0 (icon_name, "inode-directory-symbolic") == 0) {
4776+
g_free (icon_name);
4777+
icon_name = g_strdup ("xsi-folder-symbolic");
4778+
}
47744779
}
47754780

47764781
g_object_unref (location);

libnemo-private/nemo-icon-names.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#define NEMO_ICON_SYMBOLIC_FOLDER_TEMPLATES "xsi-folder-templates-symbolic"
5252
#define NEMO_ICON_SYMBOLIC_FOLDER_VIDEOS "xsi-folder-videos-symbolic"
5353
#define NEMO_ICON_SYMBOLIC_FOLDER_SAVED_SEARCH "xsi-folder-saved-search-symbolic"
54-
#define NEMO_ICON_SYMBOLIC_FOLDER_RECENT "xsi-document-open-recent-symbolic"
54+
#define NEMO_ICON_SYMBOLIC_FOLDER_RECENT "xsi-folder-recent-symbolic"
5555
#define NEMO_ICON_SYMBOLIC_FOLDER_FAVORITES "xsi-user-favorites-symbolic"
5656

5757
#define NEMO_ICON_SYMBOLIC_MISSING_BOOKMARK "xsi-folder-warning-symbolic"

0 commit comments

Comments
 (0)