Commit 825e71ee authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko
Browse files

Add a back button to the Firefox Sync dialog

parent 4294f100
Pipeline #69811 passed with stages
in 7 minutes and 29 seconds
From: Alexander Mikhaylenko <alexander.mikhaylenko@puri.sm>
Date: Mon, 26 Jul 2021 16:17:01 +0500
Subject: firefox-sync-dialog: Use GtkHeaderBar
Make sure there's a back button on mobile.
---
src/resources/gtk/firefox-sync-dialog.ui | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/resources/gtk/firefox-sync-dialog.ui b/src/resources/gtk/firefox-sync-dialog.ui
index 8f6dfbe..6a12171 100644
--- a/src/resources/gtk/firefox-sync-dialog.ui
+++ b/src/resources/gtk/firefox-sync-dialog.ui
@@ -14,11 +14,16 @@
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
- <object class="HdyHeaderBar">
+ <object class="HdyWindowHandle">
<property name="visible">True</property>
- <property name="decoration-layout">:close</property>
- <property name="show-close-button">True</property>
- <property name="title" translatable="yes">Firefox Sync</property>
+ <child>
+ <object class="GtkHeaderBar">
+ <property name="visible">True</property>
+ <property name="decoration-layout">:close</property>
+ <property name="show-close-button">True</property>
+ <property name="title" translatable="yes">Firefox Sync</property>
+ </object>
+ </child>
</object>
</child>
<child>
...@@ -3,3 +3,4 @@ ...@@ -3,3 +3,4 @@
pureos/tests-Disable-create_delete_dir-test.patch pureos/tests-Disable-create_delete_dir-test.patch
pureos/header-bar-Hide-keyboard-shortcuts-button-on-mobile.patch pureos/header-bar-Hide-keyboard-shortcuts-button-on-mobile.patch
pureos/Disable-fullscreen.patch pureos/Disable-fullscreen.patch
pureos/firefox-sync-dialog-Use-GtkHeaderBar.patch
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