diff options
Diffstat (limited to 'src/resources/ui/nautilus-window.ui')
-rw-r--r-- | src/resources/ui/nautilus-window.ui | 205 |
1 files changed, 205 insertions, 0 deletions
diff --git a/src/resources/ui/nautilus-window.ui b/src/resources/ui/nautilus-window.ui new file mode 100644 index 000000000..b23e3a5a4 --- /dev/null +++ b/src/resources/ui/nautilus-window.ui @@ -0,0 +1,205 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="NautilusWindow" parent="GtkApplicationWindow"> + <property name="show-menubar">False</property> + <property name="title" translatable="yes">_Files</property> + <property name="icon-name">system-file-manager</property> + <child type="titlebar"> + <object class="NautilusToolbar" id="toolbar"> + <!-- We override the title widget so the GtkHeaderBar stop managing the + title label automatically, since we use the NautilusPathBar. We need to set it + here rather than in the NautilusToolbar definition due to bug 744324 on + gtk+ . --> + <child type="title"> + <object class="GtkLabel"> + </object> + </child> + </object> + </child> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <child> + <object class="GtkPaned" id="content_paned"> + <property name="visible">True</property> + <property name="vexpand">True</property> + <property name="hexpand">True</property> + <child> + <object class="GtkBox" id="sidebar"> + <property name="visible">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkPlacesSidebar" id="places_sidebar"> + <property name="visible">True</property> + <property name="populate-all">True</property> + <property name="show-other-locations">True</property> + <signal name="show-other-locations" handler="places_sidebar_show_other_locations" object="NautilusWindow" swapped="yes" /> + </object> + <packing> + <property name="pack_type">start</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + </object> + <packing> + <property name="resize">False</property> + <property name="shrink">False</property> + </packing> + </child> + <child> + <object class="GtkOverlay" id="main_view"> + <property name="visible">True</property> + <child> + <object class="NautilusNotebook" id="notebook"> + <property name="visible">True</property> + <property name="show-tabs">False</property> + <property name="show-border">False</property> + </object> + </child> + <child type="overlay"> + <object class="GtkRevealer" id="notification_delete"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">start</property> + <property name="transition_duration">100</property> + <child> + <object class="GtkFrame"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="margin_end">4</property> + <child> + <object class="GtkLabel" id="notification_delete_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="max_width_chars">50</property> + <property name="ellipsize">middle</property> + <property name="margin_end">30</property> + </object> + </child> + <child> + <object class="GtkButton" id="notification_delete_undo"> + <property name="label" translatable="yes">Undo</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="no_show_all">True</property> + <property name="margin_end">6</property> + <style> + <class name="text-button"/> + </style> + </object> + </child> + <child> + <object class="GtkButton" id="notification_delete_close"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="relief">none</property> + <property name="focus_on_click">False</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">window-close-symbolic</property> + <property name="icon_size">2</property> + </object> + </child> + <style> + <class name="image-button"/> + </style> + </object> + </child> + </object> + </child> + <style> + <class name="app-notification"/> + </style> + </object> + </child> + </object> + </child> + <child type="overlay"> + <object class="GtkRevealer" id="notification_operation"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">start</property> + <property name="transition_duration">100</property> + <child> + <object class="GtkFrame"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="margin_end">4</property> + <child> + <object class="GtkLabel" id="notification_operation_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="max_width_chars">50</property> + <property name="ellipsize">middle</property> + <property name="margin_end">30</property> + </object> + </child> + <child> + <object class="GtkButton" id="notification_operation_open"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="no_show_all">True</property> + <property name="margin_end">6</property> + <signal name="clicked" handler="on_notification_operation_open_clicked" object="NautilusWindow" swapped="no"/> + <style> + <class name="text-button"/> + </style> + </object> + </child> + <child> + <object class="GtkButton" id="notification_operation_close"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="relief">none</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="on_notification_operation_close_clicked" object="NautilusWindow" swapped="no"/> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">window-close-symbolic</property> + <property name="icon_size">2</property> + </object> + </child> + <style> + <class name="image-button"/> + </style> + </object> + </child> + </object> + </child> + <style> + <class name="app-notification"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |