Commit 0d2310c0 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

librem5: update-dialog: Don't show a double back button

Make the headerbar not show its "close" back button when the additional
back button is visible.
parent 55b35f0d
Pipeline #40581 canceled with stage
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<property name="use_header_bar">1</property> <property name="use_header_bar">1</property>
<child internal-child="headerbar"> <child internal-child="headerbar">
<object class="GtkHeaderBar"> <object class="GtkHeaderBar">
<property name="show_close_button" bind-source="button_back" bind-property="visible" bind-flags="sync-create|invert-boolean"/>
<child> <child>
<object class="GtkButton" id="button_back"> <object class="GtkButton" id="button_back">
<property name="visible">True</property> <property name="visible">True</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment