[gnome-sound-recorder/wip/cdavis/gtk4] window: make use of AdwButtonContent
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder/wip/cdavis/gtk4] window: make use of AdwButtonContent
- Date: Thu, 18 Nov 2021 20:18:44 +0000 (UTC)
commit d195d5e3cf7cb06e9b282a7778187b0454d5408a
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Thu Nov 18 21:18:38 2021 +0100
window: make use of AdwButtonContent
data/ui/window.ui | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index f821865..633bfda 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -23,19 +23,9 @@
<property name="valign">center</property>
<property name="action_name">recorder.start</property>
<child>
- <object class="GtkBox">
- <property name="spacing">4</property>
- <child>
- <object class="GtkImage">
- <property name="icon_name">media-record-symbolic</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel">
- <property name="margin_end">4</property>
- <property name="label" translatable="yes">Record</property>
- </object>
- </child>
+ <object class="AdwButtonContent">
+ <property name="icon_name">media-record-symbolic</property>
+ <property name="label" translatable="yes">Record</property>
</object>
</child>
<style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]