manjaro / pamac

This repo has been archived. Our code is now hosted at
https://gitlab.manjaro.org/
GNU General Public License v3.0
223 stars 38 forks source link

Hide AUR tab if disabled in settings #437

Closed Madis0 closed 6 years ago

Madis0 commented 6 years ago

Like #57, but that issue seemed to refer to some older behaviour of Pamac.

If the AUR is disabled in settings, it would make sense to hide the tab too in search. Or, if you wish to keep it shown, at least gray out all items and checkboxes to indicate that they can not be used at this time.

guinux commented 6 years ago

It's already done. AUR tab is hidden when disabled in settings.

Madis0 commented 6 years ago

Weird, when launching Pamac in Manjaro live CD, it shows the AUR tab on search while the option is disabled in settings.

guinux commented 6 years ago

Ok it's a bug which appears only because databases doesn't exist at live cd startup. Well find :)