[gtk/kill-containers: 45/99] Fix actionbars in ui files
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/kill-containers: 45/99] Fix actionbars in ui files
- Date: Sun, 10 May 2020 02:26:50 +0000 (UTC)
commit cb5c0bdf855ecac10b420f5f8283774544984f19
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 7 00:45:53 2020 -0400
Fix actionbars in ui files
GtkActionBar supports 3 places for children, with
child type start, center or end. Using <child> without
type is not supported with GtkActionBar. Fix up all
places where we were doing that.
gtk/ui/gtkfilechooserwidget.ui | 2 +-
gtk/ui/gtkplacesview.ui | 2 +-
gtk/ui/gtkprintunixdialog.ui | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui
index 244784a9a0..ac99d52331 100644
--- a/gtk/ui/gtkfilechooserwidget.ui
+++ b/gtk/ui/gtkfilechooserwidget.ui
@@ -338,7 +338,7 @@
<child>
<object class="GtkActionBar" id="extra_and_filters">
<property name="visible">0</property>
- <child>
+ <child type="start">
<object class="GtkBox" id="extra_align">
<property name="spacing">12</property>
</object>
diff --git a/gtk/ui/gtkplacesview.ui b/gtk/ui/gtkplacesview.ui
index 4668ae758b..1f1f1fff63 100644
--- a/gtk/ui/gtkplacesview.ui
+++ b/gtk/ui/gtkplacesview.ui
@@ -246,7 +246,7 @@
<style>
<class name="background"/>
</style>
- <child>
+ <child type="start">
<object class="GtkLabel">
<property name="hexpand">1</property>
<property name="xalign">0</property>
diff --git a/gtk/ui/gtkprintunixdialog.ui b/gtk/ui/gtkprintunixdialog.ui
index ef13dc406d..eeb79d7a64 100644
--- a/gtk/ui/gtkprintunixdialog.ui
+++ b/gtk/ui/gtkprintunixdialog.ui
@@ -1089,12 +1089,12 @@
</child>
<child>
<object class="GtkActionBar" id="conflicts_widget">
- <child>
+ <child type="start">
<object class="GtkImage" id="image1">
<property name="icon-name">dialog-warning-symbolic</property>
</object>
</child>
- <child>
+ <child type="start">
<object class="GtkLabel" id="label24">
<property name="label" translatable="yes">Some of the settings in the dialog
conflict</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]