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.
40 lines
1.3 KiB
XML
40 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcInfoRow" parent="GtkListBoxRow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="border-width">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="title">
|
|
<property name="visible">1</property>
|
|
<property name="xalign">0</property>
|
|
<property name="hexpand">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="info">
|
|
<property name="visible">1</property>
|
|
<property name="valign">center</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage" id="expander">
|
|
<property name="valign">center</property>
|
|
<property name="icon-name">pan-end-symbolic</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|