mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibDesktop: Add an optional "Description" field to .af files
This commit is contained in:
parent
c17304a8f6
commit
89ab55b44b
Notes:
sideshowbarker
2024-07-18 08:20:49 +09:00
Author: https://github.com/awesomekling
Commit: 89ab55b44b
2 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,11 @@ String AppFile::executable() const
|
|||
return executable;
|
||||
}
|
||||
|
||||
String AppFile::description() const
|
||||
{
|
||||
return m_config->read_entry("App", "Description").trim_whitespace();
|
||||
}
|
||||
|
||||
String AppFile::category() const
|
||||
{
|
||||
return m_config->read_entry("App", "Category").trim_whitespace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue