fix app activation icon is not appeared
authorjunsuk77.oh <junsuk77.oh@samsung.com>
Thu, 23 May 2013 06:42:44 +0000 (15:42 +0900)
committerjunsuk77.oh <junsuk77.oh@samsung.com>
Thu, 23 May 2013 06:42:44 +0000 (15:42 +0900)
Change-Id: I728f1e36a319f03df5a6229b3acef0d5f755667a
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
src/pkgmgr-info.c

index 81848d4..28d9720 100755 (executable)
@@ -623,6 +623,11 @@ static int __uiapp_list_cb(void *data, int ncols, char **coltxt, char **colname)
                                info->manifest_info->uiapplication->icon->text = strdup(coltxt[i]);
                        else
                                info->manifest_info->uiapplication->icon->text = NULL;
+               } else if (strcmp(colname[i], "app_enabled") == 0 ) {
+                       if (coltxt[i])
+                               info->manifest_info->uiapplication->enabled= strdup(coltxt[i]);
+                       else
+                               info->manifest_info->uiapplication->enabled = NULL;
                } else if (strcmp(colname[i], "app_label") == 0 ) {
                        if (coltxt[i])
                                info->manifest_info->uiapplication->label->text = strdup(coltxt[i]);