mirror of
https://gitlab.freedesktop.org/pipewire/helvum.git
synced 2025-12-20 04:10:02 +01:00
use AdwToolbarView
This commit is contained in:
parent
e1f63ddd28
commit
94d5e95695
3 changed files with 8 additions and 9 deletions
|
|
@ -15,7 +15,7 @@ categories = ["gui", "multimedia"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
pipewire = "0.7.1"
|
pipewire = "0.7.1"
|
||||||
adw = { version = "0.5", package = "libadwaita", features = ["v1_3"] }
|
adw = { version = "0.5", package = "libadwaita", features = ["v1_4"] }
|
||||||
glib = { version = "0.18", features = ["log"] }
|
glib = { version = "0.18", features = ["log"] }
|
||||||
|
|
||||||
log = "0.4.11"
|
log = "0.4.11"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ base_id = 'org.pipewire.Helvum'
|
||||||
|
|
||||||
dependency('glib-2.0', version: '>= 2.66')
|
dependency('glib-2.0', version: '>= 2.66')
|
||||||
dependency('gtk4', version: '>= 4.4.0')
|
dependency('gtk4', version: '>= 4.4.0')
|
||||||
dependency('libadwaita-1', version: '>= 1.3')
|
dependency('libadwaita-1', version: '>= 1.4')
|
||||||
dependency('libpipewire-0.3')
|
dependency('libpipewire-0.3')
|
||||||
|
|
||||||
desktop_file_validate = find_program('desktop-file-validate', required: false)
|
desktop_file_validate = find_program('desktop-file-validate', required: false)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk" version="4.0"/>
|
<requires lib="gtk" version="4.0"/>
|
||||||
<requires lib="Adw" version="1.0"/>
|
<requires lib="Adw" version="1.4"/>
|
||||||
<menu id="primary_menu">
|
<menu id="primary_menu">
|
||||||
<section>
|
<section>
|
||||||
<item>
|
<item>
|
||||||
|
|
@ -15,9 +15,8 @@
|
||||||
<property name="default-height">720</property>
|
<property name="default-height">720</property>
|
||||||
<property name="title">Helvum - Pipewire Patchbay</property>
|
<property name="title">Helvum - Pipewire Patchbay</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="AdwToolbarView">
|
||||||
<property name="orientation">vertical</property>
|
<child type="top">
|
||||||
<child>
|
|
||||||
<object class="AdwHeaderBar" id="header_bar">
|
<object class="AdwHeaderBar" id="header_bar">
|
||||||
<child type="end">
|
<child type="end">
|
||||||
<object class="GtkMenuButton">
|
<object class="GtkMenuButton">
|
||||||
|
|
@ -27,13 +26,13 @@
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child type="top">
|
||||||
<object class="AdwBanner" id="connection_banner">
|
<object class="AdwBanner" id="connection_banner">
|
||||||
<property name="title" translatable="yes">Disconnected</property>
|
<property name="title" translatable="yes">Disconnected</property>
|
||||||
<property name="revealed">false</property>
|
<property name="revealed">false</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<property name="content">
|
||||||
<object class="GtkOverlay">
|
<object class="GtkOverlay">
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkScrolledWindow">
|
<object class="GtkScrolledWindow">
|
||||||
|
|
@ -55,7 +54,7 @@
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue