fix details for aur updates

This commit is contained in:
guinux 2017-08-04 14:57:42 +02:00
parent 1094cc0164
commit fe4f6a4102
1 changed files with 3 additions and 1 deletions

View File

@ -1136,7 +1136,9 @@ namespace Pamac {
uint origin;
string pkgname;
aur_list.get (iter, 0, out origin, 1, out pkgname);
if (origin == 2) { //Alpm.Package.From.LOCALDB
if (filters_stack.visible_child_name == "updates") {
display_aur_properties (pkgname);
} else if (origin == 2) { //Alpm.Package.From.LOCALDB
display_package_properties (pkgname);
} else {
display_aur_properties (pkgname);