summaryrefslogtreecommitdiff
path: root/gtk/ui
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-08-02 12:12:58 +0100
committerBenjamin Otte <otte@redhat.com>2017-08-02 14:05:02 +0100
commit464ffad23e95103d4f17e1f51b2b6c0b310e79cd (patch)
tree17c1065d636005d2dd77d315b8bcf7fff6aaeff8 /gtk/ui
parentb4b2fa4a98e170785dcfc6bf6ebf74919882bdc3 (diff)
downloadgtk+-464ffad23e95103d4f17e1f51b2b6c0b310e79cd.tar.gz
placesview: Remove event box usage
Diffstat (limited to 'gtk/ui')
-rw-r--r--gtk/ui/gtkplacesviewrow.ui151
1 files changed, 73 insertions, 78 deletions
diff --git a/gtk/ui/gtkplacesviewrow.ui b/gtk/ui/gtkplacesviewrow.ui
index 3b44e6d55e..69b5dfd708 100644
--- a/gtk/ui/gtkplacesviewrow.ui
+++ b/gtk/ui/gtkplacesviewrow.ui
@@ -6,97 +6,92 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
- <object class="GtkEventBox" id="event_box">
+ <object class="GtkBox" id="box">
<property name="visible">1</property>
+ <property name="margin-start">12</property>
+ <property name="margin-end">12</property>
+ <property name="margin-top">6</property>
+ <property name="margin-bottom">6</property>
+ <property name="spacing">18</property>
<child>
- <object class="GtkBox" id="box">
+ <object class="GtkImage" id="icon_image">
<property name="visible">1</property>
- <property name="margin-start">12</property>
- <property name="margin-end">12</property>
- <property name="margin-top">6</property>
- <property name="margin-bottom">6</property>
- <property name="spacing">18</property>
- <child>
- <object class="GtkImage" id="icon_image">
- <property name="visible">1</property>
- <property name="pixel-size">32</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="name_label">
- <property name="visible">1</property>
- <property name="hexpand">1</property>
- <property name="xalign">0</property>
- <property name="ellipsize">end</property>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="available_space_label">
- <property name="xalign">1</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
+ <property name="pixel-size">32</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="name_label">
+ <property name="visible">1</property>
+ <property name="hexpand">1</property>
+ <property name="xalign">0</property>
+ <property name="ellipsize">end</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="available_space_label">
+ <property name="xalign">1</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="path_label">
+ <property name="visible">1</property>
+ <property name="justify">right</property>
+ <property name="ellipsize">middle</property>
+ <property name="xalign">0</property>
+ <property name="max-width-chars">15</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ <packing>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkStack" id="mount_stack">
+ <property name="visible">1</property>
+ <property name="hhomogeneous">1</property>
+ <property name="vhomogeneous">1</property>
<child>
- <object class="GtkLabel" id="path_label">
- <property name="visible">1</property>
- <property name="justify">right</property>
- <property name="ellipsize">middle</property>
- <property name="xalign">0</property>
- <property name="max-width-chars">15</property>
+ <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="visible">1</property>
+ <property name="icon-name">media-eject-symbolic</property>
+ <property name="icon-size">1</property>
+ </object>
+ </child>
<style>
- <class name="dim-label"/>
+ <class name="image-button"/>
+ <class name="sidebar-button"/>
</style>
</object>
- <packing>
- <property name="position">3</property>
- </packing>
</child>
<child>
- <object class="GtkStack" id="mount_stack">
+ <object class="GtkSpinner" id="busy_spinner">
<property name="visible">1</property>
- <property name="hhomogeneous">1</property>
- <property name="vhomogeneous">1</property>
- <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="visible">1</property>
- <property name="icon-name">media-eject-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
- <style>
- <class name="image-button"/>
- <class name="sidebar-button"/>
- </style>
- </object>
- </child>
- <child>
- <object class="GtkSpinner" id="busy_spinner">
- <property name="visible">1</property>
- <property name="active">1</property>
- <property name="halign">center</property>
- <property name="valign">center</property>
- </object>
- </child>
+ <property name="active">1</property>
+ <property name="halign">center</property>
+ <property name="valign">center</property>
</object>
- <packing>
- <property name="position">4</property>
- </packing>
</child>
</object>
+ <packing>
+ <property name="position">4</property>
+ </packing>
</child>
</object>
</child>