Skip to content

Commit 32a2a60

Browse files
authored
Move icons with unknown size to icons/hicolor/48x48/apps
1 parent 7ca62f3 commit 32a2a60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ char * get_thumbnail_path(char *path, char *thumbnail_size, gboolean verbose)
136136

137137
void move_icon_to_destination(gchar *icon_path, gboolean verbose)
138138
{
139-
// FIXME: This default location is most likely wrong, icons there will be ignored
140-
gchar *dest_dir = dest_dir = g_build_path("/", g_get_user_data_dir(), "/icons/hicolor/", NULL);;
139+
// FIXME: This default location is most likely wrong, but at least the icons with unknown size can go somewhere
140+
gchar *dest_dir = dest_dir = g_build_path("/", g_get_user_data_dir(), "/icons/hicolor/48x48/apps", NULL);;
141141

142142
if((g_str_has_suffix (icon_path, ".svg")) || (g_str_has_suffix (icon_path, ".svgz"))) {
143143
dest_dir = g_build_path("/", g_get_user_data_dir(), "/icons/hicolor/scalable/apps/", NULL);

0 commit comments

Comments
 (0)