import-dialog: Show event count in header bar

Fixes a regression introduced in !465 by replacing the
`GtkHeaderBar` with a `AdwHeaderBar`

Closes #1265
This commit is contained in:
Diego Iván
2024-07-29 13:10:48 -06:00
parent 99425c723a
commit 773a55a53e
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ struct _GcalImportDialog
GtkWidget *cancel_button;
AdwComboRow *calendar_combo_row;
AdwPreferencesGroup *files_group;
GtkHeaderBar *headerbar;
AdwHeaderBar *headerbar;
GtkWidget *import_button;
GtkWidget *placeholder_spinner;
AdwPreferencesPage *preferences_page;
+4 -2
View File
@@ -7,8 +7,9 @@
<child>
<object class="AdwToolbarView">
<child type="top">
<object class="GtkHeaderBar" id="headerbar">
<property name="show-title-buttons">False</property>
<object class="AdwHeaderBar" id="headerbar">
<property name="show-end-title-buttons">False</property>
<property name="show-start-title-buttons">False</property>
<!-- Cancel button -->
<child type="start">
@@ -93,3 +94,4 @@
</object>
</interface>