Skip to content

Commit

Permalink
Fix missing icons
Browse files Browse the repository at this point in the history
Fixes lpereira#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 committed Nov 5, 2018
1 parent 01da9b5 commit e58927f
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 e58927f

Please sign in to comment.