2019-04-04 23:08:18 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-08-05 22:17:29 +00:00
|
|
|
<interface domain="gtk40">
|
placesview: add view for fixed drives and networks
Places sidebar shows XDG directories, mounted and unmounted devices,
connected networks, bookmarks and actions like 'Connect to server'
and 'Insert location', which causes the sidebar to grow very quickly
and look cluttered. Because of that, new mockups for the sidebar try
to simplify it.
To make the sidebar simpler, the new mockups propose that it should
only handle connected networks and removable devices such as flash
drives and USB devices, and delegates other devices for external
widgets through the 'Other Locations' item.
To handle fixed devices and manage network connections, add a new
widget named GtkPlacesView, based on Nautilus mockups to keep
consistency between GNOME file management tools - in this case,
between Nautilus and the bundled Gtk's file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=752034
2015-07-14 17:45:37 +00:00
|
|
|
<requires lib="gtk+" version="3.16"/>
|
|
|
|
<template class="GtkPlacesViewRow" parent="GtkListBoxRow">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="width-request">100</property>
|
2019-03-28 20:35:55 +00:00
|
|
|
<property name="can-focus">1</property>
|
placesview: add view for fixed drives and networks
Places sidebar shows XDG directories, mounted and unmounted devices,
connected networks, bookmarks and actions like 'Connect to server'
and 'Insert location', which causes the sidebar to grow very quickly
and look cluttered. Because of that, new mockups for the sidebar try
to simplify it.
To make the sidebar simpler, the new mockups propose that it should
only handle connected networks and removable devices such as flash
drives and USB devices, and delegates other devices for external
widgets through the 'Other Locations' item.
To handle fixed devices and manage network connections, add a new
widget named GtkPlacesView, based on Nautilus mockups to keep
consistency between GNOME file management tools - in this case,
between Nautilus and the bundled Gtk's file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=752034
2015-07-14 17:45:37 +00:00
|
|
|
<child>
|
2017-08-02 11:12:58 +00:00
|
|
|
<object class="GtkBox" id="box">
|
|
|
|
<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>
|
placesview: add view for fixed drives and networks
Places sidebar shows XDG directories, mounted and unmounted devices,
connected networks, bookmarks and actions like 'Connect to server'
and 'Insert location', which causes the sidebar to grow very quickly
and look cluttered. Because of that, new mockups for the sidebar try
to simplify it.
To make the sidebar simpler, the new mockups propose that it should
only handle connected networks and removable devices such as flash
drives and USB devices, and delegates other devices for external
widgets through the 'Other Locations' item.
To handle fixed devices and manage network connections, add a new
widget named GtkPlacesView, based on Nautilus mockups to keep
consistency between GNOME file management tools - in this case,
between Nautilus and the bundled Gtk's file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=752034
2015-07-14 17:45:37 +00:00
|
|
|
<child>
|
2017-08-02 11:12:58 +00:00
|
|
|
<object class="GtkImage" id="icon_image">
|
|
|
|
<property name="pixel-size">32</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="name_label">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="available_space_label">
|
|
|
|
<property name="xalign">1</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="path_label">
|
|
|
|
<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>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="mount_stack">
|
placesview: add view for fixed drives and networks
Places sidebar shows XDG directories, mounted and unmounted devices,
connected networks, bookmarks and actions like 'Connect to server'
and 'Insert location', which causes the sidebar to grow very quickly
and look cluttered. Because of that, new mockups for the sidebar try
to simplify it.
To make the sidebar simpler, the new mockups propose that it should
only handle connected networks and removable devices such as flash
drives and USB devices, and delegates other devices for external
widgets through the 'Other Locations' item.
To handle fixed devices and manage network connections, add a new
widget named GtkPlacesView, based on Nautilus mockups to keep
consistency between GNOME file management tools - in this case,
between Nautilus and the bundled Gtk's file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=752034
2015-07-14 17:45:37 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<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>
|
2017-08-02 11:12:58 +00:00
|
|
|
</object>
|
2019-02-07 08:23:02 +00:00
|
|
|
</property>
|
placesview: add view for fixed drives and networks
Places sidebar shows XDG directories, mounted and unmounted devices,
connected networks, bookmarks and actions like 'Connect to server'
and 'Insert location', which causes the sidebar to grow very quickly
and look cluttered. Because of that, new mockups for the sidebar try
to simplify it.
To make the sidebar simpler, the new mockups propose that it should
only handle connected networks and removable devices such as flash
drives and USB devices, and delegates other devices for external
widgets through the 'Other Locations' item.
To handle fixed devices and manage network connections, add a new
widget named GtkPlacesView, based on Nautilus mockups to keep
consistency between GNOME file management tools - in this case,
between Nautilus and the bundled Gtk's file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=752034
2015-07-14 17:45:37 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<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>
|
placesview: add view for fixed drives and networks
Places sidebar shows XDG directories, mounted and unmounted devices,
connected networks, bookmarks and actions like 'Connect to server'
and 'Insert location', which causes the sidebar to grow very quickly
and look cluttered. Because of that, new mockups for the sidebar try
to simplify it.
To make the sidebar simpler, the new mockups propose that it should
only handle connected networks and removable devices such as flash
drives and USB devices, and delegates other devices for external
widgets through the 'Other Locations' item.
To handle fixed devices and manage network connections, add a new
widget named GtkPlacesView, based on Nautilus mockups to keep
consistency between GNOME file management tools - in this case,
between Nautilus and the bundled Gtk's file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=752034
2015-07-14 17:45:37 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2018-03-09 05:07:44 +00:00
|
|
|
<child>
|
2019-05-29 17:10:46 +00:00
|
|
|
<object class="GtkGestureClick">
|
2018-03-09 05:07:44 +00:00
|
|
|
<property name="button">3</property>
|
|
|
|
<signal name="pressed" handler="pressed_cb" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
placesview: add view for fixed drives and networks
Places sidebar shows XDG directories, mounted and unmounted devices,
connected networks, bookmarks and actions like 'Connect to server'
and 'Insert location', which causes the sidebar to grow very quickly
and look cluttered. Because of that, new mockups for the sidebar try
to simplify it.
To make the sidebar simpler, the new mockups propose that it should
only handle connected networks and removable devices such as flash
drives and USB devices, and delegates other devices for external
widgets through the 'Other Locations' item.
To handle fixed devices and manage network connections, add a new
widget named GtkPlacesView, based on Nautilus mockups to keep
consistency between GNOME file management tools - in this case,
between Nautilus and the bundled Gtk's file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=752034
2015-07-14 17:45:37 +00:00
|
|
|
</template>
|
|
|
|
</interface>
|