Skip to content

Commit

Permalink
Fix missing icons
Browse files Browse the repository at this point in the history
Fixes #304

After 9eaf1a7, the
whole key part, including the opening and closing '$',
is stored in INFO_TREE_COL_DATA so that the
key_*() functions can be used against it anywhere.

The first '$' no longer needs to be skipped.

Signed-off-by: Burt P <pburt0@gmail.com>
  • Loading branch information
bp0 authored and lpereira committed Nov 6, 2018
1 parent 335687f commit ed47b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/shell.c
Expand Up @@ -1152,7 +1152,7 @@ group_handle_special(GKeyFile * key_file, ShellModuleEntry * entry,
} else if (g_str_has_prefix(key, "Icon")) {
GtkTreeIter *iter = g_hash_table_lookup(update_tbl,
g_utf8_strchr(key,
-1, '$') + 1);
-1, '$') );

if (iter) {
gchar *file =
Expand Down

0 comments on commit ed47b30

Please sign in to comment.