Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm/.git;a=commitdiff;h=3a418ea46bc3cbe6ce12034e56f27b42d0546de7
commit 3a418ea46bc3cbe6ce12034e56f27b42d0546de7
Author: Priyank <[EMAIL PROTECTED]>
Date: Mon Jul 30 11:37:01 2007 +0530
gfpm-interface: fixed a bug where the size for an installed package was
displayed as 0.00 MB
diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index d648477..facb97f 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -648,7 +648,7 @@ gfpm_load_info_tvw (const char *pkg_name)
-1);
g_free (st);
gtk_list_store_append (GTK_LIST_STORE(model), &iter);
- size = (float)((long)pacman_pkg_getinfo (pm_pkg,
PM_PKG_USIZE)/1024)/1024;
+ size = (float)((long)pacman_pkg_getinfo (pm_lpkg,
PM_PKG_SIZE)/1024)/1024;
asprintf (&tmp, "%0.2f MB", size);
st = (char*)gfpm_bold (_("Size:"));
gtk_list_store_set (GTK_LIST_STORE(model), &iter,
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git