summaryrefslogtreecommitdiff
path: root/gtk/ui/gtkplacesviewrow.ui
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-07 03:23:02 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-08 00:09:44 -0500
commit4ace873046fe7bab6f2678c9307f6e2a28f9ff90 (patch)
tree1bcc259348fae8034ec040f171249e13d72e9564 /gtk/ui/gtkplacesviewrow.ui
parent72b6644223af1f6ea2bc270204563433e28cf854 (diff)
downloadgtk+-4ace873046fe7bab6f2678c9307f6e2a28f9ff90.tar.gz
Update ui files to new stack syntax
This conversion was done with the help of gtk4-builder-tool.
Diffstat (limited to 'gtk/ui/gtkplacesviewrow.ui')
-rw-r--r--gtk/ui/gtkplacesviewrow.ui44
1 files changed, 26 insertions, 18 deletions
diff --git a/gtk/ui/gtkplacesviewrow.ui b/gtk/ui/gtkplacesviewrow.ui
index 66611b032d..21045e6069 100644
--- a/gtk/ui/gtkplacesviewrow.ui
+++ b/gtk/ui/gtkplacesviewrow.ui
@@ -1,9 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
<requires lib="gtk+" version="3.16"/>
<template class="GtkPlacesViewRow" parent="GtkListBoxRow">
<property name="width-request">100</property>
- <property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkBox" id="box">
@@ -46,26 +44,36 @@
<child>
<object class="GtkStack" id="mount_stack">
<child>
- <object class="GtkButton" id="eject_button">
- <property name="visible">0</property>
- <property name="halign">center</property>
- <property name="valign">center</property>
- <property name="tooltip-text" translatable="yes">Unmount</property>
- <child>
- <object class="GtkImage" id="eject_icon">
- <property name="icon-name">media-eject-symbolic</property>
+ <object class="GtkStackPage">
+ <property name="name">button</property>
+ <property name="child">
+ <object class="GtkButton" id="eject_button">
+ <property name="visible">0</property>
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ <property name="tooltip-text" translatable="yes">Unmount</property>
+ <child>
+ <object class="GtkImage" id="eject_icon">
+ <property name="icon-name">media-eject-symbolic</property>
+ </object>
+ </child>
+ <style>
+ <class name="image-button"/>
+ <class name="sidebar-button"/>
+ </style>
</object>
- </child>
- <style>
- <class name="image-button"/>
- <class name="sidebar-button"/>
- </style>
+ </property>
</object>
</child>
<child>
- <object class="GtkSpinner" id="busy_spinner">
- <property name="halign">center</property>
- <property name="valign">center</property>
+ <object class="GtkStackPage">
+ <property name="name">spinner</property>
+ <property name="child">
+ <object class="GtkSpinner" id="busy_spinner">
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ </object>
+ </property>
</object>
</child>
</object>