r1404 - trunk/src/target/OM-2007/applications/openmoko-appmanager/src
caowai_song at sita.openmoko.org
caowai_song at sita.openmoko.org
Mon Mar 19 08:20:15 CET 2007
Author: caowai_song
Date: 2007-03-19 08:20:11 +0100 (Mon, 19 Mar 2007)
New Revision: 1404
Modified:
trunk/src/target/OM-2007/applications/openmoko-appmanager/src/package-list.c
trunk/src/target/OM-2007/applications/openmoko-appmanager/src/tool-box.c
Log:
Show the installed package list after install, remove or upgrade
packages.
Modified: trunk/src/target/OM-2007/applications/openmoko-appmanager/src/package-list.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-appmanager/src/package-list.c 2007-03-19 06:55:14 UTC (rev 1403)
+++ trunk/src/target/OM-2007/applications/openmoko-appmanager/src/package-list.c 2007-03-19 07:20:11 UTC (rev 1404)
@@ -1289,7 +1289,6 @@
/* FIXME The newname of the packages are not used now. */
g_debug ("Begin to install:%s", tmplist->pkg->name);
ret = ipkg_install_cmd (tmplist->pkg->name, "root", &newname);
- g_debug ("************************************************");
g_debug ("Install:%s complete, ret=%d", tmplist->pkg->name, ret);
if (ret == 0)
{
@@ -1317,10 +1316,7 @@
get_error_msg ());
install_dialog_add_install_info (MOKO_INSTALL_DIALOG (installdialog),
errstr);
- g_debug ("prepare free errstr");
- g_debug ("err =%s", errstr);
g_free (errstr);
- g_debug ("after free errstr");
errstr = NULL;
}
break;
@@ -1412,9 +1408,7 @@
change = TRUE;
if (newname != NULL)
{
- g_debug ("free new name");
free (newname);
- g_debug ("free new name success");
newname = NULL;
}
}
Modified: trunk/src/target/OM-2007/applications/openmoko-appmanager/src/tool-box.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-appmanager/src/tool-box.c 2007-03-19 06:55:14 UTC (rev 1403)
+++ trunk/src/target/OM-2007/applications/openmoko-appmanager/src/tool-box.c 2007-03-19 07:20:11 UTC (rev 1404)
@@ -97,6 +97,8 @@
g_thread_create (package_list_execute_change, data, TRUE, NULL);
gtk_dialog_run (GTK_DIALOG (installdialog));
gtk_widget_destroy (GTK_WIDGET (installdialog));
+
+ filter_menu_show_install_list (MOKO_APPLICATION_MANAGER_DATA (data));
}
gtk_widget_destroy (dialog);
More information about the commitlog
mailing list