|
|
|
@ -120,9 +120,15 @@ func _on_LineEdit_text_entered(text):
|
|
|
|
|
if s["comment"]:
|
|
|
|
|
root.set_text(1, s["comment"])
|
|
|
|
|
root.set_text(1, s["descr"])
|
|
|
|
|
if s["pkgname"] in installed_packages:
|
|
|
|
|
if s["pkgname"] in packages_to_delete:
|
|
|
|
|
root.set_metadata(0, "to_delete")
|
|
|
|
|
root.set_custom_bg_color(0, color_delete)
|
|
|
|
|
elif s["pkgname"] in installed_packages:
|
|
|
|
|
root.set_metadata(0, "installed")
|
|
|
|
|
root.set_custom_bg_color(0, color_installed)
|
|
|
|
|
elif s["pkgname"] in packages:
|
|
|
|
|
root.set_metadata(0, "for_install")
|
|
|
|
|
root.set_custom_bg_color(0, color_toinstall)
|
|
|
|
|
|
|
|
|
|
func reset_display():
|
|
|
|
|
$ConsolePanel.hide()
|
|
|
|
|