[Tizen-submit] 3409: Changes to Tizen:2.1:Main/ug-setting-manage-applications-efl

noreply at tizen.org noreply at tizen.org
Fri Apr 26 15:04:08 GMT 2013


Hi,
Jinkun Jang have made the following changes to ug-setting-manage-applications-efl in project Tizen:2.1:Main. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #3409

  submit:       Tizen:2.1:Main:build/ug-setting-manage-applications-efl(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: upload latest
Git project: apps/home/ug-setting-manage-applications-efl
Tag: submit/tizen_2.1/20130426.150435
Commit: 05543ff Change the display text from size to version

State:   new        2013-04-26T07:34:46 tizenrobot
Comment: <no comment>
old:
----
  ug-setting-manage-applications-efl-0.0.70.tar.gz

new:
----
  ug-setting-manage-applications-efl-0.0.71.tar.gz

spec files:
-----------
--- ug-setting-manage-applications-efl.spec
+++ ug-setting-manage-applications-efl.spec
@@ -3,9 +3,9 @@
 
 Name:		ug-setting-manage-applications-efl
 Summary:	Manage Application package
-Version:	0.0.70
+Version:	0.0.71
 Release:	0
-VCS:        apps/home/ug-setting-manage-applications-efl#2.1_release-0-g3883ea4
+VCS:        apps/home/ug-setting-manage-applications-efl#submit/tizen_2.1/20130426.150435-0-g05543ff
 Group:		Applications/System
 License:	Flora Software License
 Source0:	%{name}-%{version}.tar.gz

other changes:
--------------

++++++ ug-setting-manage-applications-efl-0.0.70.tar.gz -> ug-setting-manage-applications-efl-0.0.71.tar.gz
--- /packaging/ug-setting-manage-applications-efl.spec
+++ /packaging/ug-setting-manage-applications-efl.spec
@@ -3,7 +3,7 @@
 
 Name:		ug-setting-manage-applications-efl
 Summary:	Manage Application package
-Version:	0.0.70
+Version:	0.0.71
 Release:	0
 Group:		Applications/System
 License:	Flora Software License
--- /ug/include/mgr-app-string.h
+++ /ug/include/mgr-app-string.h
@@ -30,6 +30,7 @@
 #define MGRAPP_STR_NO dgettext("sys_string", "IDS_COM_SK_NO")
 #define MGRAPP_STR_ERROR dgettext("sys_string", "IDS_COM_POP_ERROR")
 #define MGRAPP_STR_ALL dgettext("sys_string", "IDS_COM_BODY_ALL")
+#define MGRAPP_STR_VERSION dgettext("sys_string", "IDS_COM_POP_VERSION")
 
 #define MGRAPP_STR_MANAGE_APPLICATIONS dgettext(PACKAGE, "IDS_ST_BODY_MANAGE_APPLICATIONS")
 #define MGRAPP_STR_APPLICATION_INFO dgettext(PACKAGE, "IDS_ST_HEADER_APPLICATION_INFO")
--- /ug/include/mgr-app-view-main.h
+++ /ug/include/mgr-app-view-main.h
@@ -31,7 +31,8 @@
 	char 	*icon_path;
 
 	char	*pkg_label;
-	char 	*pkg_type;	
+	char 	*pkg_type;
+	char 	*pkg_version;
 	int 	total_size;
 	int		data_size;
 	bool	nodisplay;
--- /ug/src/mgr-app-view-app-info.c
+++ /ug/src/mgr-app-view-app-info.c
@@ -639,6 +639,7 @@
 	mgr_app_app_info_t *app_info = _app_info;
 
 	char *label = NULL;
+	char buf[MAX_NAME_LEN] = {0, };
 
 	char *package_name	= app_info->pkg_name;
 	char *package_label	= app_info->pkg_label;
@@ -658,7 +659,8 @@
 			MGR_APP_MEM_STRDUP(label, package_label);
 		}
 	} else if (0 == strcmp(part, ELM_TEXT_2)) {
-		label = _get_formated_size((float)app_info->total_size);
+		snprintf(buf, MAX_NAME_LEN, "%s: %s", MGRAPP_STR_VERSION, app_info->pkg_version);
+		MGR_APP_MEM_STRDUP(label, buf);
 	} else {
 		MGR_APP_MEM_STRDUP(label, MGRAPP_STR_ERROR);
 	}
@@ -1192,6 +1194,7 @@
 	char *icon_path = NULL;	
 	char *pkg_label = NULL;
 	char *pkg_type = NULL;

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list