[gtk/matthiasc/for-master] inspector: Adapt to dropdown api change
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] inspector: Adapt to dropdown api change
- Date: Thu, 25 Jun 2020 20:43:12 +0000 (UTC)
commit 0ec868bd692b72b5363c118076a3c76ee54a537d
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 25 16:40:54 2020 -0400
inspector: Adapt to dropdown api change
The suppported syntax for dropdowns in ui files
has changed. Get with the program.
gtk/inspector/visual.ui | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gtk/inspector/visual.ui b/gtk/inspector/visual.ui
index 3743574089..8dece056b5 100644
--- a/gtk/inspector/visual.ui
+++ b/gtk/inspector/visual.ui
@@ -290,10 +290,14 @@
<property name="valign">baseline</property>
<property name="hexpand">1</property>
<signal name="notify::selected" handler="direction_changed"/>
- <items>
- <item translatable="yes">Left-to-Right</item>
- <item translatable="yes">Right-to-Left</item>
- </items>
+ <property name="model">
+ <object class="GtkStringList">
+ <items>
+ <item translatable="yes">Left-to-Right</item>
+ <item translatable="yes">Right-to-Left</item>
+ </items>
+ </object>
+ </property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]