Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=e73a5e0496a7429d6ec33add762a635b1c143b0f

commit e73a5e0496a7429d6ec33add762a635b1c143b0f
Author: Priyank <[EMAIL PROTECTED]>
Date:   Wed Sep 5 16:29:12 2007 +0530

gfpm-interface: allow searching for packages in repos other than local and 
frugalware-current

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index 257a4f5..c75787f 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -1176,7 +1176,7 @@ cb_gfpm_search_keypress (GtkWidget *widget, GdkEventKey 
*event, gpointer data)
l = pacman_db_search (local_db);
r = 0;
}
-       else if (!strcmp("frugalware-current", repo))
+       else
{
l = pacman_db_search (sync_db);
r = 1;
@@ -1223,7 +1223,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_spkg, 
PM_PKG_NAME),
+                                       2, (char*)pacman_pkg_getinfo (pm_lpkg, 
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),
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to