Skip to content

Commit

Permalink
Try the project_group if developer and developer_name are missing
Browse files Browse the repository at this point in the history
from appdata.
  • Loading branch information
mtwebster committed May 9, 2024
1 parent 2070444 commit ef989e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usr/lib/linuxmint/mintinstall/mintinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -2885,6 +2885,10 @@ def show_package(self, pkginfo, previous_page):
dev_name = ascomp.get_developer().get_name()
except AttributeError:
dev_name = ascomp.get_developer_name()

if dev_name is None:
dev_name = ascomp.get_project_group()

if dev_name is not None:
self.builder.get_object("application_dev_name").set_label(_("by %s" % dev_name))

Expand Down

0 comments on commit ef989e2

Please sign in to comment.