mirror of
https://gitlab.freedesktop.org/pipewire/helvum.git
synced 2025-12-20 01:50:03 +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]
|
||||
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"] }
|
||||
|
||||
log = "0.4.11"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ base_id = 'org.pipewire.Helvum'
|
|||
|
||||
dependency('glib-2.0', version: '>= 2.66')
|
||||
dependency('gtk4', version: '>= 4.4.0')
|
||||
dependency('libadwaita-1', version: '>= 1.3')
|
||||
dependency('libadwaita-1', version: '>= 1.4')
|
||||
dependency('libpipewire-0.3')
|
||||
|
||||
desktop_file_validate = find_program('desktop-file-validate', required: false)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"/>
|
||||
<requires lib="Adw" version="1.0"/>
|
||||
<requires lib="Adw" version="1.4"/>
|
||||
<menu id="primary_menu">
|
||||
<section>
|
||||
<item>
|
||||
|
|
@ -15,9 +15,8 @@
|
|||
<property name="default-height">720</property>
|
||||
<property name="title">Helvum - Pipewire Patchbay</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="AdwToolbarView">
|
||||
<child type="top">
|
||||
<object class="AdwHeaderBar" id="header_bar">
|
||||
<child type="end">
|
||||
<object class="GtkMenuButton">
|
||||
|
|
@ -27,13 +26,13 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<child type="top">
|
||||
<object class="AdwBanner" id="connection_banner">
|
||||
<property name="title" translatable="yes">Disconnected</property>
|
||||
<property name="revealed">false</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<property name="content">
|
||||
<object class="GtkOverlay">
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
|
|
@ -55,7 +54,7 @@
|
|||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue