aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2006-05-29 15:15:31 +0000
committerJason Woodward2006-05-29 15:15:31 +0000
commiteff4ee23a21db69831ef5ff858c8b13c1ea4539a (patch)
tree39196e68d2d3398ba4d346b789f579d904ababff /src
parent6c40d0e4eb3c01ed7873ea5b0bb388f5c592214f (diff)
downloadgslapt-eff4ee23a21db69831ef5ff858c8b13c1ea4539a.tar.gz
filtering available must show available, not available or installed
Diffstat (limited to 'src')
-rw-r--r--src/callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 5adaae1..a9c24e9 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -645,7 +645,7 @@ void build_searched_treeviewlist (GtkWidget *treeview, gchar *pattern)
if (view_list_installed && i_pkg != NULL) {
gtk_list_store_set(GTK_LIST_STORE(base_model),&iter,VISIBLE_COLUMN,TRUE,-1);
- } else if (view_list_available && (a_pkg != NULL || i_pkg != NULL)) {
+ } else if (view_list_available && a_pkg != NULL) {
gtk_list_store_set(GTK_LIST_STORE(base_model),&iter,VISIBLE_COLUMN,TRUE,-1);
} else if (view_list_all && (a_pkg != NULL || i_pkg != NULL)) {
gtk_list_store_set(GTK_LIST_STORE(base_model),&iter,VISIBLE_COLUMN,TRUE,-1);