diff options
author | Nikias Bassen | 2010-07-15 18:17:02 +0200 |
---|---|---|
committer | Nikias Bassen | 2010-07-15 18:17:02 +0200 |
commit | 3afa5bf6011e8a1ca528384ee679ccf312452ecf (patch) | |
tree | f827e7c46d3f78c98fd17f1d91b03124c169cfdf /src | |
parent | 4c887c7062647c44a33c5dddeeff321298db6ba1 (diff) | |
download | sbmanager-3afa5bf6011e8a1ca528384ee679ccf312452ecf.tar.gz sbmanager-3afa5bf6011e8a1ca528384ee679ccf312452ecf.tar.bz2 |
Fix iconstate v2 change detection (folder item change was not detected)
Diffstat (limited to 'src')
-rw-r--r-- | src/sbmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbmgr.c b/src/sbmgr.c index ec6d707..8802bb9 100644 --- a/src/sbmgr.c +++ b/src/sbmgr.c @@ -174,8 +174,8 @@ static gboolean iconstate_changed_v2(plist_t current_state, plist_t new_state) debug_printf("%s: page %d folder item %d displayName changed!\n", __func__, i, k); return TRUE; } - cur_di = plist_dict_get_item(cur_di, "iconLists"); - new_di = plist_dict_get_item(new_di, "iconLists"); + cur_di = plist_dict_get_item(cur_node, "iconLists"); + new_di = plist_dict_get_item(new_node, "iconLists"); cur_di = plist_array_get_item(cur_di, 0); new_di = plist_array_get_item(new_di, 0); if (plist_array_get_size(cur_di) != plist_array_get_size(new_di)) { |