Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm/.git;a=commitdiff;h=b0497cd439e8f8d3f0c1a30eef972b278b653b6e
commit b0497cd439e8f8d3f0c1a30eef972b278b653b6e Author: Priyank <[EMAIL PROTECTED]> Date: Sat Aug 4 15:20:06 2007 +0530 gfpm-interface: fixed a bug in package search where packages were shown as installed even if they were not installed. diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c index b35cbca..05ba62c 100644 --- a/src/gfpm-interface.c +++ b/src/gfpm-interface.c @@ -1077,7 +1077,7 @@ cb_gfpm_search_keypress (GtkWidget *widget, GdkEventKey *event, gpointer data) gtk_list_store_set (store, &iter, 0, TRUE, 1, (up==FALSE)?icon_yes:icon_up, - 2, (char*)pacman_pkg_getinfo (pm_lpkg, PM_PKG_NAME), + 2, (char*)pacman_pkg_getinfo (pm_spkg, PM_PKG_NAME), 3, (char*)pacman_pkg_getinfo (pm_lpkg, PM_PKG_VERSION), 4, (char*)pacman_pkg_getinfo (pm_spkg, PM_PKG_VERSION), //5, (char*)pacman_pkg_getinfo (pm_lpkg, PM_PKG_DESC), @@ -1114,7 +1114,7 @@ cb_gfpm_search_keypress (GtkWidget *widget, GdkEventKey *event, gpointer data) if (inst == TRUE) gtk_list_store_set (store, &iter, 3, (char*)pacman_pkg_getinfo (pm_lpkg, PM_PKG_VERSION), -1); else - gtk_list_store_set (store, &iter, 3, (char*)pacman_pkg_getinfo (pm_pkg, PM_PKG_VERSION), -1); + gtk_list_store_set (store, &iter, 3, NULL, -1); gtk_list_store_set (store, &iter, 0, inst, _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
