Introduce Applications panel
This is an initial implementation of most of the intended functionality for this panel. Flatpak integration itself is implemented by spawning "flatpak info -m $appid", which gives us the metadata in key file format, and allows flatpak to be a runtime dependency. Even after removing the .desktop suffix, there can still be a difference between the app ID generated in this way and the flatpak ID, since flatpaks are allowed to export files whose prefix is the flatpak ID. Fix this by pulling the X-Flatpak key out of the desktop file. This would cause trouble for org.libreoffice.LibreOffice-math.
This commit is contained in:
parent
a800e97510
commit
1245fd787b
28 changed files with 3842 additions and 0 deletions
|
@ -386,6 +386,7 @@ static const gchar * const panel_order[] = {
|
|||
"universal-access",
|
||||
"online-accounts",
|
||||
"privacy",
|
||||
"applications",
|
||||
"sharing",
|
||||
"sound",
|
||||
"power",
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#ifndef CC_PANEL_LOADER_NO_GTYPES
|
||||
|
||||
/* Extension points */
|
||||
extern GType cc_applications_panel_get_type (void);
|
||||
extern GType cc_background_panel_get_type (void);
|
||||
#ifdef BUILD_BLUETOOTH
|
||||
extern GType cc_bluetooth_panel_get_type (void);
|
||||
|
@ -83,6 +84,7 @@ extern void cc_wacom_panel_static_init_func (void);
|
|||
|
||||
static CcPanelLoaderVtable default_panels[] =
|
||||
{
|
||||
PANEL_TYPE("applications", cc_applications_panel_get_type, NULL),
|
||||
PANEL_TYPE("background", cc_background_panel_get_type, NULL),
|
||||
#ifdef BUILD_BLUETOOTH
|
||||
PANEL_TYPE("bluetooth", cc_bluetooth_panel_get_type, NULL),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue