diff options
Diffstat (limited to 'src/resources/ui')
20 files changed, 6097 insertions, 0 deletions
diff --git a/src/resources/ui/nautilus-batch-rename-dialog-menu.ui b/src/resources/ui/nautilus-batch-rename-dialog-menu.ui new file mode 100644 index 0000000..640cfa1 --- /dev/null +++ b/src/resources/ui/nautilus-batch-rename-dialog-menu.ui @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.1 --> +<interface> + <menu id="add_tag_menu"> + <section> + <attribute name="label" translatable="yes">Automatic Numbers</attribute> + <item> + <attribute name="label" translatable="yes">1, 2, 3, 4</attribute> + <attribute name="action">dialog.add-numbering-no-zero-pad-tag</attribute> + </item> + <item> + <attribute name="label" translatable="yes">01, 02, 03, 04</attribute> + <attribute name="action">dialog.add-numbering-one-zero-pad-tag</attribute> + </item> + <item> + <attribute name="label" translatable="yes">001, 002, 003, 004</attribute> + <attribute name="action">dialog.add-numbering-two-zero-pad-tag</attribute> + </item> + </section> + <section> + <attribute name="label" translatable="yes">Metadata</attribute> + <item> + <attribute name="label" translatable="yes">Creation Date</attribute> + <attribute name="action">dialog.add-creation-date-tag</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Camera Model</attribute> + <attribute name="action">dialog.add-equipment-tag</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Season Number</attribute> + <attribute name="action">dialog.add-season-tag</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Episode Number</attribute> + <attribute name="action">dialog.add-episode-tag</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Track Number</attribute> + <attribute name="action">dialog.add-track-number-tag</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Artist Name</attribute> + <attribute name="action">dialog.add-artist-name-tag</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Title</attribute> + <attribute name="action">dialog.add-title-tag</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Album Name</attribute> + <attribute name="action">dialog.add-album-name-tag</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Original File Name</attribute> + <attribute name="action">dialog.add-original-file-name-tag</attribute> + </item> + </section> + </menu> + <menu id="numbering_order_menu"> + <section> + <item> + <attribute name="label" translatable="yes">Original Name (Ascending)</attribute> + <attribute name="action">dialog.numbering-order-changed</attribute> + <attribute name="target">name-ascending</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Original Name (Descending)</attribute> + <attribute name="action">dialog.numbering-order-changed</attribute> + <attribute name="target">name-descending</attribute> + </item> + <item> + <attribute name="label" translatable="yes">First Modified</attribute> + <attribute name="action">dialog.numbering-order-changed</attribute> + <attribute name="target">first-modified</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Last Modified</attribute> + <attribute name="action">dialog.numbering-order-changed</attribute> + <attribute name="target">last-modified</attribute> + </item> + </section> + </menu> +</interface> + diff --git a/src/resources/ui/nautilus-batch-rename-dialog.ui b/src/resources/ui/nautilus-batch-rename-dialog.ui new file mode 100644 index 0000000..be7886f --- /dev/null +++ b/src/resources/ui/nautilus-batch-rename-dialog.ui @@ -0,0 +1,427 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="NautilusBatchRenameDialog" parent="GtkDialog"> + <property name="resizable">True</property> + <property name="modal">True</property> + <property name="height-request">563</property> + <property name="window_position">center-on-parent</property> + <property name="destroy_with_parent">True</property> + <signal name="response" handler="batch_rename_dialog_on_response"/> + <child type="action"> + <object class="GtkButton" id="cancel_button"> + <property name="label" translatable="yes">_Cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_underline">True</property> + </object> + </child> + <child type="action"> + <object class="GtkButton" id="rename_button"> + <property name="label" translatable="yes">_Rename</property> + <property name="visible">True</property> + <property name="use_underline">True</property> + <property name="can_default">True</property> + <style> + <class name="suggested-action"/> + </style> + </object> + </child> + <action-widgets> + <action-widget response="ok" default="true">rename_button</action-widget> + <action-widget response="cancel">cancel_button</action-widget> + </action-widgets> + <child internal-child="vbox"> + <object class="GtkBox" id="vbox"> + <property name="border-width">0</property> + <child> + <object class="GtkGrid" id="grid"> + <property name="visible">True</property> + <property name="margin">0</property> + <property name="row-spacing">6</property> + <property name="column-spacing">6</property> + <property name="hexpand">True</property> + <property name="row-homogeneous">False</property> + <property name="column-homogeneous">False</property> + <child> + <object class="GtkBox"> + <property name="orientation">horizontal</property> + <property name="spacing">15</property> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="halign">center</property> + <property name="margin">20</property> + <child> + <object class="GtkRadioButton" id="format_mode_button"> + <property name="label" translatable="yes">Rename _using a template</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="use_underline">True</property> + <property name="active">True</property> + <signal name="toggled" handler="batch_rename_dialog_mode_changed" swapped="yes" /> + </object> + </child> + <child> + <object class="GtkRadioButton" id="replace_mode_button"> + <property name="label" translatable="yes">Find and replace _text</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="use_underline">True</property> + <property name="active">True</property> + <property name="group">format_mode_button</property> + <signal name="toggled" handler="batch_rename_dialog_mode_changed" swapped="yes" /> + </object> + </child> + </object> + <packing> + <property name="left-attach">3</property> + <property name="top-attach">0</property> + <property name="width">1</property> + </packing> + </child> + <child> + <object class="GtkStack" id="mode_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="vhomogeneous">False</property> + <property name="hhomogeneous">True</property> + <property name="transition_type">crossfade</property> + <property name="transition_duration">100</property> + <child> + <object class="GtkGrid" id="format_stack_child"> + <property name="visible">True</property> + <property name="margin-start">40</property> + <property name="margin-end">40</property> + <property name="margin-top">0</property> + <property name="margin-bottom">10</property> + <property name="row-spacing">15</property> + <property name="column-spacing">6</property> + <child> + <object class="GtkBox"> + <property name="orientation">horizontal</property> + <property name="spacing">0</property> + <property name="visible">True</property> + <property name="halign">center</property> + <child> + <object class="GtkEntry" id="name_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="has_focus">True</property> + <property name="width_request">400</property> + <property name="hexpand">True</property> + <property name="activates-default">True</property> + <signal name="activate" handler="file_names_widget_on_activate" swapped="yes" /> + <signal name="insert-text" handler="on_insert_text" swapped="no" /> + <signal name="delete-text" handler="on_delete_text" swapped="no" /> + </object> + </child> + <child> + <object class="GtkToggleButton" id="add_button"> + <property name="visible">True</property> + <signal name="toggled" handler="add_button_clicked" swapped="yes" /> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="orientation">horizontal</property> + <property name="spacing">0</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">list-add-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Add</property> + <property name="can_focus">False</property> + </object> + </child> + </object> + </child> + </object> + </child> + <style> + <class name="linked"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + <property name="width">5</property> + </packing> + </child> + <child> + <object class="GtkRevealer" id="numbering_revealer"> + <property name="visible">True</property> + <property name="halign">center</property> + <child> + <object class="GtkBox" id="numbering_box"> + <property name="visible">True</property> + <property name="orientation">horizontal</property> + <property name="spacing">10</property> + <child> + <object class="GtkLabel" id="numbering_label"> + <property name="visible">True</property> + <property name="label" translatable="yes">Automatic Numbering Order</property> + <property name="can_focus">False</property> + </object> + </child> + <child> + <object class="GtkToggleButton" id="numbering_order_button"> + <property name="visible">True</property> + <signal name="toggled" handler="numbering_order_button_clicked" swapped="yes" /> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="orientation">horizontal</property> + <property name="spacing">15</property> + <child> + <object class="GtkLabel" id="numbering_order_label"> + <property name="visible">True</property> + <property name="width-request">180</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Original Name (Ascending)</property> + <property name="can_focus">False</property> + </object> + </child> + <child> + <object class="GtkImage" id="action_icon"> + <property name="visible">True</property> + <property name="icon-name">pan-down-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + <property name="width">5</property> + </packing> + </child> + </object> + <packing> + <property name="name">format</property> + <property name="title" translatable="yes" comments="Translators: This is a noun, not a verb">Format</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="replace_stack_child"> + <property name="visible">True</property> + <property name="margin-start">40</property> + <property name="margin-end">40</property> + <property name="margin-top">0</property> + <property name="margin-bottom">10</property> + <property name="hexpand">True</property> + <property name="halign">center</property> + <property name="row-spacing">15</property> + <property name="column-spacing">6</property> + <child> + <object class="GtkLabel" id="existing_text_label"> + <property name="visible">True</property> + <property name="label" translatable="yes">Existing Text</property> + <property name="can_focus">False</property> + <property name="sensitive">False</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + <property name="width">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="find_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="width_request">375</property> + <property name="hexpand">False</property> + <property name="activates-default">True</property> + <signal name="changed" handler="file_names_widget_entry_on_changed" swapped="yes" /> + <signal name="activate" handler="file_names_widget_on_activate" swapped="yes" /> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">0</property> + <property name="width">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="replace_label"> + <property name="visible">True</property> + <property name="label" translatable="yes">Replace With</property> + <property name="can_focus">False</property> + <property name="sensitive">False</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + <property name="width">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="replace_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="width_request">375</property> + <signal name="changed" handler="file_names_widget_entry_on_changed" swapped="yes" /> + <signal name="activate" handler="file_names_widget_on_activate" swapped="yes" /> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">1</property> + <property name="width">3</property> + </packing> + </child> + </object> + <packing> + <property name="name">replace</property> + <property name="title" translatable="yes" context="title">Replace</property> + </packing> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + <property name="width">8</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow" id="scrolled_window"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">False</property> + <property name="vexpand">True</property> + <property name="shadow_type">in</property> + <property name="max-content-height">250</property> + <property name="min-content-height">250</property> + <property name="max-content-width">600</property> + <property name="min-content-width">600</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkBox" id="a_box"> + <property name="visible">True</property> + <child> + <object class="GtkListBox" id="original_name_listbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="selection_mode">GTK_SELECTION_NONE</property> + </object> + </child> + <child> + <object class="GtkListBox" id="arrow_listbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="selection_mode">GTK_SELECTION_NONE</property> + </object> + </child> + <child> + <object class="GtkListBox" id="result_listbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="selection_mode">GTK_SELECTION_NONE</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">2</property> + <property name="width">8</property> + </packing> + </child> + <child> + <object class="GtkBox" id="conflict_box"> + <property name="orientation">horizontal</property> + <property name="spacing">6</property> + <property name="visible">False</property> + <property name="margin-start">6</property> + <child> + <object class="GtkLabel" id="conflict_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="pack-type">start</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="orientation">horizontal</property> + <property name="visible">True</property> + <child> + <object class="GtkButton" id="conflict_down"> + <property name="visible">True</property> + <property name="relief">none</property> + <signal name="clicked" handler="select_next_conflict_down" swapped="yes" /> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">go-down-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkButton" id="conflict_up"> + <property name="visible">True</property> + <property name="relief">GTK_RELIEF_NONE</property> + <signal name="clicked" handler="select_next_conflict_up" swapped="yes" /> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">go-up-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="pack-type">end</property> + </packing> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">3</property> + <property name="width">8</property> + </packing> + </child> + </object> + </child> + </object> + </child> + </template> + <object class="GtkPopover" id="add_popover"> + <property name="position">bottom</property> + <property name="relative-to">add_button</property> + <signal name="closed" handler="add_popover_closed" swapped="yes" /> + </object> + <object class="GtkImage" id="done_image"> + <property name="visible">True</property> + <property name="icon_name">object-select-symbolic</property> + </object> + <object class="GtkPopover" id="numbering_order_popover"> + <property name="position">bottom</property> + <property name="relative-to">numbering_order_button</property> + <signal name="closed" handler="numbering_order_popover_closed" swapped="yes" /> + </object> +</interface> diff --git a/src/resources/ui/nautilus-compress-dialog.ui b/src/resources/ui/nautilus-compress-dialog.ui new file mode 100644 index 0000000..526e9ee --- /dev/null +++ b/src/resources/ui/nautilus-compress-dialog.ui @@ -0,0 +1,186 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.14"/> + <object class="GtkDialog" id="compress_dialog"> + <property name="title" translatable="yes">Create Archive</property> + <property name="resizable">False</property> + <property name="modal">True</property> + <property name="window_position">center-on-parent</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="use-header-bar">1</property> + <child internal-child="vbox"> + <object class="GtkBox" id="vbox"> + <property name="orientation">vertical</property> + <property name="margin_top">18</property> + <property name="margin_bottom">12</property> + <property name="margin_start">18</property> + <property name="margin_end">18</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="name_label"> + <property name="label" translatable="yes">Archive name</property> + <property name="visible">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="name_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkRevealer" id="error_revealer"> + <child> + <object class="GtkLabel" id="error_label"> + <property name="margin_top">4</property> + <property name="margin_bottom">4</property> + <property name="visible">True</property> + <property name="xalign">0</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkBox" id="hbox"> + <property name="orientation">horizontal</property> + <property name="homogeneous">True</property> + <property name="spacing">0</property> + <child> + <object class="GtkRadioButton" id="zip_radio_button"> + <property name="label" translatable="no">.zip</property> + <property name="draw_indicator">True</property> + <signal name="toggled" handler="zip_radio_button_on_toggled"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="tar_xz_radio_button"> + <property name="label" translatable="no">.tar.xz</property> + <property name="group">zip_radio_button</property> + <property name="draw_indicator">True</property> + <signal name="toggled" handler="tar_xz_radio_button_on_toggled"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="seven_zip_radio_button"> + <property name="label" translatable="no">.7z</property> + <property name="group">zip_radio_button</property> + <property name="draw_indicator">True</property> + <signal name="toggled" handler="seven_zip_radio_button_on_toggled"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkStack" id="description_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="homogeneous">True</property> + <child> + <object class="GtkLabel" id="zip_description_label"> + <property name="visible">True</property> + <property name="label" translatable="yes">Compatible with all operating systems.</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="name">zip-description-label</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="tar_xz_description_label"> + <property name="visible">True</property> + <property name="label" translatable="yes">Smaller archives but Linux and Mac only.</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="name">tar-xz-description-label</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="seven_zip_description_label"> + <property name="visible">True</property> + <property name="label" translatable="yes">Smaller archives but must be installed on Windows and Mac.</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="name">seven-zip-description-label</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">5</property> + </packing> + </child> + </object> + </child> + <child type="action"> + <object class="GtkButton" id="cancel_button"> + <property name="label" translatable="yes">Cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + </child> + <child type="action"> + <object class="GtkButton" id="activate_button"> + <property name="label" translatable="yes">Create</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">True</property> + <property name="sensitive">False</property> + </object> + </child> + <action-widgets> + <action-widget response="ok" default="true">activate_button</action-widget> + <action-widget response="cancel">cancel_button</action-widget> + </action-widgets> + </object> +</interface> diff --git a/src/resources/ui/nautilus-create-folder-dialog.ui b/src/resources/ui/nautilus-create-folder-dialog.ui new file mode 100644 index 0000000..818ae08 --- /dev/null +++ b/src/resources/ui/nautilus-create-folder-dialog.ui @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.14"/> + <object class="GtkDialog" id="create_folder_dialog"> + <property name="resizable">False</property> + <property name="modal">True</property> + <property name="window_position">center-on-parent</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="use-header-bar">1</property> + <property name="width_request">450</property> + <child internal-child="vbox"> + <object class="GtkBox" id="vbox"> + <property name="orientation">vertical</property> + <property name="margin_top">18</property> + <property name="margin_bottom">12</property> + <property name="margin_start">18</property> + <property name="margin_end">18</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="name_label"> + <property name="visible">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="name_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkRevealer" id="error_revealer"> + <child> + <object class="GtkLabel" id="error_label"> + <property name="margin_top">4</property> + <property name="margin_bottom">4</property> + <property name="visible">True</property> + <property name="xalign">0</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + </object> + </child> + <child type="action"> + <object class="GtkButton" id="cancel_button"> + <property name="label" translatable="yes">Cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + </child> + <child type="action"> + <object class="GtkButton" id="ok_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">True</property> + <property name="sensitive">False</property> + </object> + </child> + <action-widgets> + <action-widget response="ok" default="true">ok_button</action-widget> + <action-widget response="cancel">cancel_button</action-widget> + </action-widgets> + </object> +</interface> diff --git a/src/resources/ui/nautilus-file-properties-change-permissions.ui b/src/resources/ui/nautilus-file-properties-change-permissions.ui new file mode 100644 index 0000000..122fd1f --- /dev/null +++ b/src/resources/ui/nautilus-file-properties-change-permissions.ui @@ -0,0 +1,185 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.22"/> + <object class="GtkDialog" id="change_permissions_dialog"> + <property name="title" translatable="yes">Change Permissions for Enclosed Files</property> + <property name="modal">True</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="use-header-bar">1</property> + <child type="action"> + <object class="GtkButton" id="cancel"> + <property name="visible">True</property> + <property name="label" translatable="yes">_Cancel</property> + <property name="use_underline">True</property> + </object> + </child> + <child type="action"> + <object class="GtkButton" id="change"> + <property name="visible">True</property> + <property name="label" translatable="yes">C_hange</property> + <property name="use_underline">True</property> + </object> + </child> + <child internal-child="vbox"> + <object class="GtkBox"> + <property name="can-focus">False</property> + <property name="orientation">vertical</property> + <style> + <class name="view"/> + </style> + <child> + <object class="GtkGrid" id="change_permissions_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="border_width">6</property> + <property name="orientation">vertical</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Files</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Folders</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Owner</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="file_owner_combo"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="folder_owner_combo"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Group</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="file_group_combo"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="folder_group_combo"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="file_other_combo"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="folder_other_combo"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Others</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <placeholder/> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="cancel">cancel</action-widget> + <action-widget response="ok">change</action-widget> + </action-widgets> + </object> +</interface> diff --git a/src/resources/ui/nautilus-files-view-context-menus.ui b/src/resources/ui/nautilus-files-view-context-menus.ui new file mode 100644 index 0000000..6438314 --- /dev/null +++ b/src/resources/ui/nautilus-files-view-context-menus.ui @@ -0,0 +1,239 @@ +<?xml version="1.0"?> +<interface> + <menu id="background-menu"> + <item> + <attribute name="label" translatable="yes">New _Folder</attribute> + <attribute name="action">view.new-folder</attribute> + </item> + <submenu id="templates-submenu"> + <attribute name="label" translatable="yes">New _Document</attribute> + <attribute name="action">view.new-document</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </submenu> + <item> + <attribute name="label" translatable="yes">Add to _Bookmarks</attribute> + <attribute name="action">win.bookmark-current-location</attribute> + </item> + <section> + <item> + <attribute name="label" translatable="yes">Create _Link</attribute> + <attribute name="action">view.create-link</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Paste</attribute> + <attribute name="action">view.paste</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Select _All</attribute> + <attribute name="action">view.select-all</attribute> + </item> + </section> + <section id="background-extensions-section"> + </section> + <section> + <item> + <attribute name="label" translatable="yes">P_roperties</attribute> + <attribute name="action">view.current-directory-properties</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + </menu> + <menu id="selection-menu"> + <section id="new-folder-with-selection-section"> + </section> + <section id="open-with-default-application-section"> + </section> + <submenu id="scripts-submenu"> + <attribute name="label" translatable="yes">_Scripts</attribute> + <attribute name="action">view.scripts</attribute> + <attribute name="hidden-when">action-disabled</attribute> + <section> + <item> + <attribute name="label" translatable="yes">_Open Scripts Folder</attribute> + <attribute name="action">view.open-scripts-folder</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + </submenu> + <section> + <item> + <attribute name="label" translatable="yes">_Open Item Location</attribute> + <attribute name="action">view.open-item-location</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Open In New _Tab</attribute> + <attribute name="action">view.open-item-new-tab</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Open In New _Window</attribute> + <attribute name="action">view.open-item-new-window</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Open With Other _Application</attribute> + <attribute name="action">view.open-with-other-application</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section id="drive-section"> + <item> + <attribute name="label" translatable="yes">_Mount</attribute> + <attribute name="action">view.mount-volume</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Unmount</attribute> + <attribute name="action">view.unmount-volume</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Eject</attribute> + <attribute name="action">view.eject-volume</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Start</attribute> + <attribute name="action">view.start-volume</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Stop</attribute> + <attribute name="action">view.stop-volume</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Detect Media</attribute> + <attribute name="action">view.detect-media</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Cu_t</attribute> + <attribute name="action">view.cut</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Copy</attribute> + <attribute name="action">view.copy</attribute> + </item> + <section> + <item> + <attribute name="label" translatable="yes">Create _Link</attribute> + <attribute name="action">view.create-link-in-place</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <item> + <attribute name="label" translatable="yes">_Paste Into Folder</attribute> + <attribute name="action">view.paste-into</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Move to…</attribute> + <attribute name="action">view.move-to</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Copy to…</attribute> + <attribute name="action">view.copy-to</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Mo_ve to Trash</attribute> + <attribute name="action">view.move-to-trash</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Delete from Trash</attribute> + <attribute name="action">view.delete-from-trash</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Delete Permanently</attribute> + <attribute name="action">view.delete-permanently-menu-item</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Delete Permanently</attribute> + <attribute name="action">view.permanent-delete-permanently-menu-item</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Restore From Trash</attribute> + <attribute name="action">view.restore-from-trash</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Rena_me…</attribute> + <attribute name="action">view.rename</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Set As Wallpaper</attribute> + <attribute name="action">view.set-as-wallpaper</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Remove from Recent</attribute> + <attribute name="action">view.remove-from-recent</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Extract Here</attribute> + <attribute name="action">view.extract-here</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">E_xtract to…</attribute> + <attribute name="action">view.extract-to</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes">C_ompress…</attribute> + <attribute name="action">view.compress</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section id="selection-extensions-section"> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Tags</attribute> + <attribute name="action">view.edit-tags</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes" context="menu item" comments="Marks a file as starred (starred)">Star</attribute> + <attribute name="action">view.star</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + <item> + <attribute name="label" translatable="yes" context="menu item" comments="Unmarks a file as starred (starred)">Unstar</attribute> + <attribute name="action">view.unstar</attribute> + <attribute name="hidden-when">action-disabled</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">P_roperties</attribute> + <attribute name="action">view.properties</attribute> + </item> + </section> + </menu> +</interface> diff --git a/src/resources/ui/nautilus-folder-is-empty.ui b/src/resources/ui/nautilus-folder-is-empty.ui new file mode 100644 index 0000000..22031ba --- /dev/null +++ b/src/resources/ui/nautilus-folder-is-empty.ui @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkGrid" id="folder_is_empty"> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">12</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixel_size">80</property> + <property name="icon_name">folder-symbolic</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Folder is Empty</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="1.4399999999999999"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <style> + <class name="dim-label"/> + </style> + </object> +</interface> diff --git a/src/resources/ui/nautilus-no-search-results.ui b/src/resources/ui/nautilus-no-search-results.ui new file mode 100644 index 0000000..92683be --- /dev/null +++ b/src/resources/ui/nautilus-no-search-results.ui @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkGrid" id="no_search_results"> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">12</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixel_size">80</property> + <property name="icon_name">edit-find-symbolic</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">No Results Found</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="1.4399999999999999"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Try a different search</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <style> + <class name="dim-label"/> + </style> + </object> +</interface> diff --git a/src/resources/ui/nautilus-pathbar-context-menu.ui b/src/resources/ui/nautilus-pathbar-context-menu.ui new file mode 100644 index 0000000..696921e --- /dev/null +++ b/src/resources/ui/nautilus-pathbar-context-menu.ui @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.1 --> +<interface> + <menu id="button-menu"> + <item> + <attribute name="label" translatable="yes">Open in New _Window</attribute> + <attribute name="action">pathbar.open-item-new-window</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Open in New _Tab</attribute> + <attribute name="action">pathbar.open-item-new-tab</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Properties</attribute> + <attribute name="action">pathbar.properties</attribute> + </item> + </menu> +</interface> + diff --git a/src/resources/ui/nautilus-preferences-window.ui b/src/resources/ui/nautilus-preferences-window.ui new file mode 100644 index 0000000..066b157 --- /dev/null +++ b/src/resources/ui/nautilus-preferences-window.ui @@ -0,0 +1,1365 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.22"/> + <object class="GtkAdjustment" id="adjustment1"> + <property name="lower">1</property> + <property name="upper">4096</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> + <object class="GtkDialog" id="preferences_window"> + <property name="can_focus">False</property> + <property name="title" translatable="yes">Preferences</property> + <property name="resizable">False</property> + <property name="modal">True</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">normal</property> + <child internal-child="vbox"> + <object class="GtkBox" id="vbox"> + <property name="can_focus">False</property> + <child internal-child="action_area"> + <object class="GtkButtonBox"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkNotebook" id="notebook1"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="border_width">0</property> + <property name="show_border">False</property> + <child> + <object class="GtkBox" id="vbox1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <property name="spacing">18</property> + <child> + <object class="GtkBox" id="vbox2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label17"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">General</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <accessibility> + <relation type="label-for" target="vbox2"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="show_sidebar_checkbutton"> + <property name="label" translatable="yes">_Show sidebar</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label17"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox12"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="preferences" comments="Translators: a title in the preferences dialog with an option to sort folder before files "Sort folders before files".">Sort</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <accessibility> + <relation type="label-for" target="vbox12"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="sort_folders_first_checkbutton"> + <property name="label" translatable="yes">Sort _folders before files</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label6"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="vbox12-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkBox" id="box1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label7"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">List View</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <accessibility> + <relation type="label-for" target="box1"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="use_tree_view_checkbutton"> + <property name="label" translatable="yes">Allow folders to be _expanded</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label7"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="box1-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox27"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label28"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Icon View Captions</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <accessibility> + <relation type="label-for" target="vbox27"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label29"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Add information to be displayed beneath file and folder names. More information will appear when zooming closer.</property> + <property name="wrap">True</property> + <property name="max_width_chars">65</property> + <property name="xalign">0</property> + <accessibility> + <relation type="description-for" target="captions_0_combobox"/> + <relation type="description-for" target="captions_1_combobox"/> + <relation type="description-for" target="captions_2_combobox"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="grid1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">10</property> + <property name="column_spacing">15</property> + <child> + <object class="GtkBox" id="hbox29"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkLabel" id="captions_label_1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="captions_0_combobox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <accessibility> + <relation type="labelled-by" target="label8"/> + <relation type="described-by" target="label29"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="hbox28"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkLabel" id="captions_label_0"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="captions_2_combobox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <accessibility> + <relation type="labelled-by" target="label11"/> + <relation type="described-by" target="label29"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkBox" id="hbox30"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkLabel" id="captions_label_2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="captions_1_combobox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <accessibility> + <relation type="labelled-by" target="label9"/> + <relation type="described-by" target="label29"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label9"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="the n-th position of an icon caption" comments="Translators: This is an ordinal number">Second</property> + <property name="xalign">1</property> + <accessibility> + <relation type="label-for" target="captions_1_combobox"/> + </accessibility> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label11"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="the n-th position of an icon caption" comments="Translators: This is an ordinal number">Third</property> + <property name="xalign">1</property> + <accessibility> + <relation type="label-for" target="captions_2_combobox"/> + </accessibility> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label8"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="the n-th position of an icon caption" comments="Translators: This is an ordinal number">First</property> + <property name="xalign">1</property> + <accessibility> + <relation type="label-for" target="captions_0_combobox"/> + </accessibility> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label28"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="vbox27-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + </object> + <packing> + <property name="tab_expand">True</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Views</property> + </object> + <packing> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox5"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <property name="spacing">10</property> + <child> + <object class="GtkBox" id="vbox6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label10"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Open Action</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <accessibility> + <relation type="label-for" target="vbox6"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="single_click_radiobutton"> + <property name="label" translatable="yes">_Single click to open items</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="double_click_radiobutton"> + <property name="label" translatable="yes">_Double click to open items</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">single_click_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">3</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label10"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="vbox6-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox14"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label13"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Link Creation</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <accessibility> + <relation type="label-for" target="vbox14"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="show_create_link_checkbutton"> + <property name="label" translatable="yes">Show action to create symbolic _links</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label13"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="vbox14-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox7"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label12"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Executable Text Files</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <accessibility> + <relation type="label-for" target="vbox7"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="scripts_view_radiobutton"> + <property name="label" translatable="yes">_Display them</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">scripts_execute_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="scripts_execute_radiobutton"> + <property name="label" translatable="yes">_Run them</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">scripts_view_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="scripts_confirm_radiobutton"> + <property name="label" translatable="yes">_Ask what to do</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">scripts_execute_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">4</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label12"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="vbox7-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox8"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label14"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Trash</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <accessibility> + <relation type="label-for" target="vbox8"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="trash_confirm_checkbutton"> + <property name="label" translatable="yes">Ask before _emptying the Trash</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="show_delete_permanently_checkbutton"> + <property name="label" translatable="yes">Show action to _permanently delete files and folders</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label14"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="vbox8-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + </object> + <packing> + <property name="position">1</property> + <property name="tab_expand">True</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="label2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Behavior</property> + </object> + <packing> + <property name="position">1</property> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox29"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <property name="spacing">18</property> + <child> + <object class="GtkBox" id="vbox30"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkBox" id="list_columns_vbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label33"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Choose the order of information to appear in the list view.</property> + <property name="wrap">True</property> + <property name="max_width_chars">65</property> + <property name="xalign">0</property> + <accessibility> + <relation type="label-for" target="list_columns_vbox"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <placeholder/> + </child> + <accessibility> + <relation type="labelled-by" target="label33"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="list_columns_vbox-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="position">2</property> + <property name="tab_expand">True</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="label30"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">List Columns</property> + </object> + <packing> + <property name="position">2</property> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox9"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <property name="spacing">18</property> + <child> + <object class="GtkBox" id="vbox3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label5"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Search</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Search in subfolders:</property> + <property name="xalign">0</property> + <accessibility> + <relation type="label-for" target="vbox3"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="search_recursive_only_this_computer_radiobutton"> + <property name="label" translatable="yes">_On this computer only</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="search_recursive_all_locations_radiobutton"> + <property name="label" translatable="yes">_All locations</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">search_recursive_only_this_computer_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="search_recursive_never_radiobutton"> + <property name="label" translatable="yes">_Never</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">search_recursive_only_this_computer_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label4"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="vbox3-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox11"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label18"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Thumbnails</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label15"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Show thumbnails:</property> + <property name="xalign">0</property> + <accessibility> + <relation type="label-for" target="vbox11"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="thumbnails_only_this_computer_radiobutton"> + <property name="label" translatable="yes">_Files on this computer only</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="thumbnails_all_files_radiobutton"> + <property name="label" translatable="yes">A_ll files</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">thumbnails_only_this_computer_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="thumbnails_never_radiobutton"> + <property name="label" translatable="yes">N_ever</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">thumbnails_only_this_computer_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkBox" id="hbox21"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">12</property> + <child> + <object class="GtkLabel" id="preview_label_1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Onl_y for files smaller than:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">preview_image_size_spinbutton</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="preview_image_size_spinbutton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="width_chars">8</property> + <property name="input_purpose">number</property> + <property name="adjustment">adjustment1</property> + <property name="climb_rate">10</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">5</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label15"/> + </accessibility> + <child internal-child="accessible"> + <object class="AtkObject" id="vbox11-atkobject"> + <property name="AtkObject::accessible-role">panel</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkBox" id="vbox13"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="label22"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">File count</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label16"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Count number of files in folders:</property> + <property name="xalign">0</property> + <accessibility> + <relation type="label-for" target="vbox13"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="count_only_this_computer_radiobutton"> + <property name="label" translatable="yes">F_olders on this computer only</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="count_all_files_radiobutton"> + <property name="label" translatable="yes">All folder_s</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">count_only_this_computer_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="count_never_radiobutton"> + <property name="label" translatable="yes">Ne_ver</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">count_only_this_computer_radiobutton</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + <accessibility> + <relation type="labelled-by" target="label16"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="position">3</property> + <property name="tab_expand">True</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="label3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Search & Preview</property> + </object> + <packing> + <property name="position">3</property> + <property name="tab_fill">False</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + <child type="titlebar"> + <placeholder/> + </child> + </object> + <object class="GtkListStore" id="icon_view_zoom_levels"> + <columns> + <!-- column-name gchararray --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Always</col> + </row> + <row> + <col id="0" translatable="yes">Local Files Only</col> + </row> + <row> + <col id="0" translatable="yes">Never</col> + </row> + </data> + </object> + <object class="GtkListStore" id="list_view_zoom_levels"> + <columns> + <!-- column-name gchararray --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Small</col> + </row> + <row> + <col id="0" translatable="yes">Standard</col> + </row> + <row> + <col id="0" translatable="yes">Large</col> + </row> + </data> + </object> + <object class="GtkListStore" id="model1"> + <columns> + <!-- column-name gchararray --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Icon View</col> + </row> + <row> + <col id="0" translatable="yes">List View</col> + </row> + </data> + </object> + <object class="GtkListStore" id="model10"> + <columns> + <!-- column-name gchararray --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Always</col> + </row> + <row> + <col id="0" translatable="yes">Local Files Only</col> + </row> + <row> + <col id="0" translatable="yes">Never</col> + </row> + </data> + </object> + <object class="GtkListStore" id="model2"> + <columns> + <!-- column-name gchararray --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">By Name</col> + </row> + <row> + <col id="0" translatable="yes">By Size</col> + </row> + <row> + <col id="0" translatable="yes">By Type</col> + </row> + <row> + <col id="0" translatable="yes">By Modification Date</col> + </row> + <row> + <col id="0" translatable="yes">By Access Date</col> + </row> + <row> + <col id="0" translatable="yes">By Trashed Date</col> + </row> + </data> + </object> + <object class="GtkListStore" id="model3"> + <columns> + <!-- column-name gchararray --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Small</col> + </row> + <row> + <col id="0" translatable="yes">Standard</col> + </row> + <row> + <col id="0" translatable="yes">Large</col> + </row> + </data> + </object> + <object class="GtkListStore" id="model7"> + <columns> + <!-- column-name gchararray --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Always</col> + </row> + <row> + <col id="0" translatable="yes">Local Files Only</col> + </row> + <row> + <col id="0" translatable="yes">Never</col> + </row> + </data> + </object> +</interface> diff --git a/src/resources/ui/nautilus-progress-info-widget.ui b/src/resources/ui/nautilus-progress-info-widget.ui new file mode 100644 index 0000000..72d08e9 --- /dev/null +++ b/src/resources/ui/nautilus-progress-info-widget.ui @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkImage" id="cancel_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">window-close-symbolic</property> + </object> + <template class="NautilusProgressInfoWidget" parent="GtkGrid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">5</property> + <property name="margin_end">5</property> + <child> + <object class="GtkLabel" id="status"> + <property name="width_request">300</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_bottom">6</property> + <property name="hexpand">True</property> + <property name="label">status</property> + <property name="ellipsize">middle</property> + <property name="max_width_chars">40</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkProgressBar" id="progress_bar"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <property name="margin_start">2</property> + <property name="margin_bottom">4</property> + <property name="hexpand">True</property> + <property name="pulse_step">0.050000000000000003</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="valign">center</property> + <property name="margin_start">20</property> + <property name="image">cancel_image</property> + <style> + <class name="nautilus-circular-button"/> + </style> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="height">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="details"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">label</property> + <property name="wrap">True</property> + <property name="wrap_mode">word-char</property> + <property name="ellipsize">end</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + <attributes> + <attribute name="font-features" value="tnum"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + </template> + <object class="GtkImage" id="done_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">object-select-symbolic</property> + </object> +</interface> diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui new file mode 100644 index 0000000..d9cac49 --- /dev/null +++ b/src/resources/ui/nautilus-properties-window.ui @@ -0,0 +1,1382 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.36.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <template class="NautilusPropertiesWindow" parent="GtkWindow"> + <property name="can_focus">False</property> + <property name="modal">True</property> + <property name="type_hint">dialog</property> + <child> + <object class="GtkBox" id="content_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkNotebook" id="notebook"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="show_border">False</property> + <child> + <object class="GtkBox" id="basic_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">18</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> + <child> + <object class="GtkStack" id="icon_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">start</property> + <child> + <object class="GtkImage" id="icon_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="stock">gtk-missing-image</property> + </object> + <packing> + <property name="name">icon_image</property> + </packing> + </child> + <child> + <object class="GtkButton" id="icon_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <child> + <object class="GtkImage" id="icon_button_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="stock">gtk-missing-image</property> + </object> + </child> + </object> + <packing> + <property name="name">icon_button</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="grid_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkGrid" id="basic_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="name_title_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">_Name</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">name_field</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkStack" id="name_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkLabel" id="name_value_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="selectable">True</property> + <property name="ellipsize">end</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="name">name_value_label</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="name_field"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + <packing> + <property name="name">name_value_entry</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="type_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Type</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="type_value_label"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="selectable">True</property> + <property name="ellipsize">end</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="link_target_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Link target</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="link_target_value_label"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="selectable">True</property> + <property name="ellipsize">end</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="contents_title_label"> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="label" translatable="yes">Contents</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="contents_value_label"> + <property name="can_focus">False</property> + <property name="wrap">True</property> + <property name="selectable">True</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkSpinner" id="contents_spinner"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="size_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Size</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="size_value_label"> + <property name="can_focus">False</property> + <property name="selectable">True</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="parent_folder_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Parent folder</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">6</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="parent_folder_value_label"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="selectable">True</property> + <property name="ellipsize">end</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">6</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="original_folder_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Original folder</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">11</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="original_folder_value_label"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="selectable">True</property> + <property name="ellipsize">end</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">11</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="volume_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Volume</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">7</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="volume_value_label"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="selectable">True</property> + <property name="ellipsize">end</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">7</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="trashed_on_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Trashed on</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">12</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="trashed_on_value_label"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="selectable">True</property> + <property name="ellipsize">end</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">12</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="accessed_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Accessed</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">9</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="accessed_value_label"> + <property name="can_focus">False</property> + <property name="selectable">True</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">9</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="modified_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Modified</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">10</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="modified_value_label"> + <property name="can_focus">False</property> + <property name="selectable">True</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">10</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="free_space_title_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Free space</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">14</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="free_space_value_label"> + <property name="can_focus">False</property> + <property name="selectable">True</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">14</property> + </packing> + </child> + <child> + <object class="GtkBox" id="volume_widget_box"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkGrid" id="volume_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">False</property> + <property name="border_width">5</property> + <property name="row_spacing">10</property> + <property name="column_spacing">10</property> + <child> + <object class="GtkDrawingArea" id="pie_chart"> + <property name="width_request">200</property> + <property name="height_request">200</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <style> + <class name="disk-space-display"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="height">5</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="spacer_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="vexpand">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkDrawingArea" id="used_color"> + <property name="width_request">20</property> + <property name="height_request">20</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="vexpand">False</property> + <style> + <class name="disk-space-display"/> + <class name="used"/> + </style> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkDrawingArea" id="free_color"> + <property name="width_request">20</property> + <property name="height_request">20</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="vexpand">False</property> + <style> + <class name="disk-space-display"/> + <class name="free"/> + </style> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="vexpand">False</property> + <property name="label" translatable="yes">Total capacity</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="vexpand">False</property> + <property name="label" translatable="yes">Filesystem type</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="total_capacity_value"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="vexpand">False</property> + <property name="label">0</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="file_system_value"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="vexpand">False</property> + <property name="label">0</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="used_value"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="vexpand">False</property> + <property name="label">0</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="free_value"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="vexpand">False</property> + <property name="label">0</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="vexpand">False</property> + <property name="label" translatable="yes" comments="Refers to the capacity of the filesystem">used</property> + </object> + <packing> + <property name="left_attach">3</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="vexpand">False</property> + <property name="label" translatable="yes" comments="Refers to the capacity of the filesystem">free</property> + </object> + <packing> + <property name="left_attach">3</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">15</property> + <property name="width">3</property> + </packing> + </child> + <child> + <object class="GtkButton" id="open_in_disks_button"> + <property name="label" translatable="yes">Open in Disks</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">16</property> + <property name="width">3</property> + </packing> + </child> + <child> + <object class="GtkBox" id="spacer_1"> + <property name="height_request">6</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">5</property> + </packing> + </child> + <child> + <object class="GtkBox" id="spacer_2"> + <property name="height_request">6</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">8</property> + </packing> + </child> + <child> + <object class="GtkBox" id="spacer_3"> + <property name="height_request">6</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">13</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="tab_expand">True</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="basic_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Basic</property> + </object> + <packing> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="GtkBox" id="permissions_box"> + <property name="can_focus">False</property> + <property name="border_width">18</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkLabel" id="not_the_owner_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">You are not the owner, so you cannot change these permissions.</property> + <property name="justify">center</property> + <property name="wrap">True</property> + <property name="max_width_chars">40</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSeparator" id="bottom_prompt_seperator"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="padding">12</property> + <property name="pack_type">end</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="permission_indeterminable_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">The permissions of the selected file could not be determined.</property> + <property name="justify">center</property> + <property name="wrap">True</property> + <property name="max_width_chars">40</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="permissions_grid"> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="orientation">vertical</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="owner_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">_Owner</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">owner_combo_box</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkStack" id="owner_value_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkComboBox" id="owner_combo_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + </object> + <packing> + <property name="name">combo_box</property> + <property name="title">page0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="owner_value_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="selectable">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="name">label</property> + <property name="title">page0</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="owner_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="owner_folder_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Folder access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="owner_file_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">File access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="owner_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="owner_folder_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="owner_file_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="group_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">12</property> + <property name="label" translatable="yes">_Group</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">group_combo_box</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">5</property> + </packing> + </child> + <child> + <object class="GtkStack" id="group_value_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkComboBoxText" id="group_combo_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="margin_top">12</property> + </object> + <packing> + <property name="name">combo_box</property> + <property name="title">page0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="group_value_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">12</property> + <property name="selectable">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="name">label</property> + <property name="title">page1</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">5</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="group_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">6</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="group_folder_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Folder access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">7</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="group_file_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">File access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">8</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="group_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">6</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="group_folder_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">7</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="group_file_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">8</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="others_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">12</property> + <property name="label" translatable="yes">Others</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">10</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="others_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">11</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="others_folder_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Folder access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">12</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="others_file_access_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">File access</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">13</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="others_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">11</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="others_folder_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">12</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="others_file_access_combo"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">13</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="execute_label"> + <property name="can_focus">False</property> + <property name="margin_top">12</property> + <property name="label" translatable="yes">Execute</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">15</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="security_context_title_label"> + <property name="can_focus">False</property> + <property name="margin_top">12</property> + <property name="label" translatable="yes">Security context</property> + <property name="xalign">1</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">17</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="security_context_value_label"> + <property name="can_focus">False</property> + <property name="margin_top">12</property> + <property name="selectable">True</property> + <property name="max_width_chars">24</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">17</property> + </packing> + </child> + <child> + <object class="GtkBox" id="change_permissions_button_box"> + <property name="can_focus">False</property> + <property name="margin_top">12</property> + <child> + <object class="GtkButton" id="change_permissions_button"> + <property name="label" translatable="yes">Change Permissions for Enclosed Files…</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">19</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="execute_checkbox"> + <property name="label" translatable="yes">Allow _executing file as program</property> + <property name="use_underline">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="margin_top">12</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">15</property> + </packing> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + </object> + <packing> + <property name="position">1</property> + <property name="tab_expand">True</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="permissions_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Permissions</property> + </object> + <packing> + <property name="position">1</property> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="GtkBox" id="open_with_box"> + <property name="can_focus">False</property> + <property name="border_width">18</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="open_with_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="wrap">True</property> + <property name="wrap_mode">word-char</property> + <property name="max_width_chars">30</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="app_chooser_widget_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButtonBox" id="app_chooser_button_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">6</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="reset_button"> + <property name="label" translatable="yes">Reset</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + <property name="secondary">True</property> + </packing> + </child> + <child> + <object class="GtkButton" id="add_button"> + <property name="label" translatable="yes">_Add</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="set_as_default_button"> + <property name="label" translatable="yes">Set as default</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="position">2</property> + <property name="tab_expand">True</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Open With</property> + </object> + <packing> + <property name="position">2</property> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <placeholder/> + </child> + <child type="tab"> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <style> + <class name="view"/> + </style> + </object> + </child> + <child type="titlebar"> + <placeholder/> + </child> + </template> +</interface> diff --git a/src/resources/ui/nautilus-rename-file-popover.ui b/src/resources/ui/nautilus-rename-file-popover.ui new file mode 100644 index 0000000..f11c665 --- /dev/null +++ b/src/resources/ui/nautilus-rename-file-popover.ui @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkPopover" id="rename_file_popover"> + <property name="can_focus">False</property> + <property name="position">bottom</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">10</property> + <property name="margin_end">10</property> + <property name="margin_top">10</property> + <property name="margin_bottom">10</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> + <child> + <object class="GtkLabel" id="name_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Name</property> + <property name="mnemonic_widget">name_entry</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="name_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="rename_button"> + <property name="label" translatable="yes">_Rename</property> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="use_underline">True</property> + <style> + <class name="suggested-action"/> + </style> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkRevealer" id="error_revealer"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkLabel" id="error_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">4</property> + <property name="margin_bottom">4</property> + <property name="xalign">0</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">2</property> + </packing> + </child> + </object> + </child> + </object> +</interface> diff --git a/src/resources/ui/nautilus-search-popover.ui b/src/resources/ui/nautilus-search-popover.ui new file mode 100644 index 0000000..1d03b48 --- /dev/null +++ b/src/resources/ui/nautilus-search-popover.ui @@ -0,0 +1,430 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.16"/> + <template class="NautilusSearchPopover" parent="GtkPopover"> + <property name="can_focus">False</property> + <property name="modal">True</property> + <child> + <object class="GtkGrid" > + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">20</property> + <property name="row_spacing">8</property> + <property name="column_spacing">18</property> + <child> + <object class="GtkLabel" id="when_dim_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">When</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkStack" id="date_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="transition_type">crossfade</property> + <property name="transition_duration">250</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="select_date_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">Select a date</property> + <property name="hexpand">True</property> + <child> + <object class="GtkLabel" id="select_date_button_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Select Dates…</property> + <property name="xalign">0</property> + </object> + </child> + <signal name="clicked" handler="select_date_button_clicked" object="NautilusSearchPopover" swapped="no" /> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="clear_date_button"> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">Clear the currently selected date</property> + <signal name="clicked" handler="clear_date_button_clicked" object="NautilusSearchPopover" swapped="no" /> + <child> + <object class="GtkImage" id="clear_date_button_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">edit-clear-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <style> + <class name="linked"/> + </style> + </object> + <packing> + <property name="name">date-button</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="date_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="secondary_icon_name">x-office-calendar-symbolic</property> + <property name="secondary_icon_tooltip_text" translatable="yes">Show a calendar to select the date</property> + <signal name="icon-release" handler="toggle_calendar_icon_clicked" object="NautilusSearchPopover" swapped="no" /> + <signal name="activate" handler="date_entry_activate" object="NautilusSearchPopover" swapped="no" /> + </object> + <packing> + <property name="name">date-entry</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkRevealer" id="around_revealer"> + <property name="can_focus">False</property> + <property name="transition_type">slide-down</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">8</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="around_dim_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">10</property> + <property name="label" translatable="yes">Since…</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkStack" id="around_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="vhomogeneous">False</property> + <property name="transition_type">crossfade</property> + <property name="transition_duration">250</property> + <child> + <object class="GtkScrolledWindow"> + <property name="height_request">200</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkListBox" id="dates_listbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="selection_mode">none</property> + <signal name="row-activated" handler="dates_listbox_row_activated" object="NautilusSearchPopover" swapped="no" /> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">date-list</property> + </packing> + </child> + <child> + <object class="GtkCalendar" id="calendar"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="valign">start</property> + <property name="show_week_numbers">True</property> + <signal name="day_selected" handler="calendar_day_selected" object="NautilusSearchPopover" swapped="no" /> + </object> + <packing> + <property name="name">date-calendar</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="last_modified_button"> + <property name="label" translatable="yes">Last _modified</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="use_underline">True</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + <signal name="toggled" handler="search_time_type_changed" object="NautilusSearchPopover" swapped="no" /> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="last_used_button"> + <property name="label" translatable="yes">Last _used</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + <property name="group">last_modified_button</property> + <signal name="toggled" handler="search_time_type_changed" object="NautilusSearchPopover" swapped="no" /> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="what_dim_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">10</property> + <property name="label" translatable="yes">What</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkStack" id="type_stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="vhomogeneous">False</property> + <property name="transition_type">crossfade</property> + <property name="transition_duration">250</property> + <child> + <object class="GtkButton" id="select_type_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">Which file types will be searched</property> + <signal name="clicked" handler="select_type_button_clicked" object="NautilusSearchPopover" swapped="no" /> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkLabel" id="type_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes">Anything</property> + <property name="width_chars">30</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">pan-down-symbolic</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + </object> + <packing> + <property name="name">type-button</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow"> + <property name="height_request">250</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkListBox" id="type_listbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="selection_mode">single</property> + <signal name="row-activated" handler="types_listbox_row_activated" object="NautilusSearchPopover" swapped="no" /> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">type-list</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="search_dim_label"> + <property name="can_focus">False</property> + <property name="margin_top">10</property> + <property name="label" translatable="yes">Search</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">5</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="visible">True</property> + <child> + <object class="GtkRadioButton" id="full_text_search_button"> + <property name="label" translatable="yes">Full Text</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Search on the file content and name</property> + <property name="hexpand">True</property> + <property name="xalign">0</property> + <property name="active">True</property> + <property name="draw_indicator">False</property> + <signal name="toggled" handler="search_fts_mode_changed" object="NautilusSearchPopover" swapped="no" /> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="filename_search_button"> + <property name="label" translatable="yes">File Name</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Search only on the file name</property> + <property name="hexpand">True</property> + <property name="xalign">0</property> + <property name="draw_indicator">False</property> + <property name="group">full_text_search_button</property> + <property name="active">True</property> + <signal name="toggled" handler="search_fts_mode_changed" object="NautilusSearchPopover" swapped="no" /> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <style> + <class name="linked"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">6</property> + <property name="width">2</property> + </packing> + </child> + </object> + </child> + </template> + <object class="GtkSizeGroup"> + <property name="mode">vertical</property> + <property name="ignore_hidden">True</property> + <widgets> + <widget name="full_text_search_button"/> + <widget name="filename_search_button"/> + <widget name="select_date_button"/> + <widget name="clear_date_button"/> + </widgets> + </object> + <object class="GtkSizeGroup"> + <property name="mode">horizontal</property> + <property name="ignore_hidden">True</property> + <widgets> + <widget name="search_dim_label"/> + <widget name="when_dim_label"/> + <widget name="around_dim_label"/> + <widget name="what_dim_label"/> + </widgets> + </object> +</interface> diff --git a/src/resources/ui/nautilus-starred-is-empty.ui b/src/resources/ui/nautilus-starred-is-empty.ui new file mode 100644 index 0000000..04465cd --- /dev/null +++ b/src/resources/ui/nautilus-starred-is-empty.ui @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkGrid" id="starred_is_empty"> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">12</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixel_size">80</property> + <property name="icon_name">starred-symbolic</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Starred files will appear here</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="1.4399999999999999"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <style> + <class name="dim-label"/> + </style> + </object> +</interface> diff --git a/src/resources/ui/nautilus-toolbar-switcher.ui b/src/resources/ui/nautilus-toolbar-switcher.ui new file mode 100644 index 0000000..3b13c92 --- /dev/null +++ b/src/resources/ui/nautilus-toolbar-switcher.ui @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkStack" id="toolbar_switcher"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">False</property> + <property name="transition_type">crossfade</property> + <child> + <object class="GtkBox" id="path_bar_container"> + <property name="can_focus">False</property> + <property name="valign">center</property> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <style> + <class name="path-bar-box"/> + </style> + </object> + <packing> + <property name="name">pathbar</property> + </packing> + </child> + <child> + <object class="GtkBox" id="location_entry_container"> + <property name="can_focus">False</property> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <style> + <class name="linked"/> + </style> + </object> + <packing> + <property name="name">location</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkBox" id="search_container"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="name">search</property> + <property name="position">2</property> + </packing> + </child> + </object> +</interface>
\ No newline at end of file diff --git a/src/resources/ui/nautilus-toolbar-view-menu.ui b/src/resources/ui/nautilus-toolbar-view-menu.ui new file mode 100644 index 0000000..ff9a1c5 --- /dev/null +++ b/src/resources/ui/nautilus-toolbar-view-menu.ui @@ -0,0 +1,296 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.16"/> + <object class="GtkBox" id="extended_section"> + <property name="width_request">160</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox" id="sort_menu"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">6</property> + <property name="margin_bottom">6</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="menu item" comments="Translators: a menu item in a group of sorting options in a toolbar menu, with criterions such as "A-Z" or "Last Modified".">Sort</property> + <property name="xalign">0</property> + <style> + <class name="nautilus-menu-sort-heading"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="sort_name"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">view.sort</property> + <property name="action_target">'name'</property> + <property name="text" translatable="yes" context="Sort Criterion" comments="This is used to sort by name in the toolbar view menu">_A-Z</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="sort_name_desc"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">view.sort</property> + <property name="action_target">'name-desc'</property> + <property name="text" translatable="yes" context="Sort Criterion" comments="This is used to sort by name, in descending order in the toolbar view menu">_Z-A</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="sort_modification_date_desc"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">view.sort</property> + <property name="action_target">'modification-date-desc'</property> + <property name="text" translatable="yes">Last _Modified</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="sort_modification_date"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">view.sort</property> + <property name="action_target">'modification-date'</property> + <property name="text" translatable="yes">_First Modified</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">5</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="sort_size"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">view.sort</property> + <property name="action_target">'size'</property> + <property name="text" translatable="yes">_Size</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">6</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="sort_type"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">view.sort</property> + <property name="action_target">'type'</property> + <property name="text" translatable="yes">_Type</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">7</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="sort_trash_time"> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">view.sort</property> + <property name="action_target">'trash-time'</property> + <property name="text" translatable="yes">Last _Trashed</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">8</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">6</property> + <property name="margin_bottom">6</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="visible_columns"> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">view.visible-columns</property> + <property name="text" translatable="yes">_Visible Columns…</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="reload"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">win.reload</property> + <property name="text" translatable="yes">R_eload</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="stop"> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">win.stop</property> + <property name="text" translatable="yes">St_op</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">5</property> + </packing> + </child> + </object> + <object class="GtkBox" id="zoom_section"> + <property name="width_request">160</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox" id="zoom_controls_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="homogeneous">True</property> + <child> + <object class="GtkButton" id="zoom-out"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Zoom out</property> + <property name="action_name">view.zoom-out</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">zoom-out-symbolic</property> + <property name="icon_size">1</property> + </object> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="zoom-default"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Reset zoom</property> + <property name="action_name">view.zoom-standard</property> + <child> + <object class="GtkLabel" id="zoom_level_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="width_chars">5</property> + </object> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="zoom-in"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Zoom in</property> + <property name="action_name">view.zoom-in</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">zoom-in-symbolic</property> + <property name="icon_size">1</property> + </object> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <style> + <class name="linked"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> +</interface> diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui new file mode 100644 index 0000000..51a8828 --- /dev/null +++ b/src/resources/ui/nautilus-toolbar.ui @@ -0,0 +1,744 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.22"/> + <object class="GtkPopoverMenu" id="app_menu"> + <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">10</property> + <property name="margin_end">10</property> + <property name="margin_top">10</property> + <property name="margin_bottom">10</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_bottom">6</property> + <property name="spacing">6</property> + <child> + <object class="GtkButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">New Window</property> + <property name="hexpand">True</property> + <property name="action_name">app.new-window</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">window-new-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">New Tab</property> + <property name="hexpand">True</property> + <property name="action_name">win.new-tab</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">tab-new-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">New Folder</property> + <property name="hexpand">True</property> + <property name="action_name">view.new-folder</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">folder-new-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">6</property> + <property name="margin_top">6</property> + <property name="margin_bottom">6</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_end">24</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes">Edit</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">Cut</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="hexpand">True</property> + <property name="action_name">view.cut</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">edit-cut-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes" comments="Translators: This is a verb">Copy</property> + <property name="halign">center</property> + <property name="hexpand">True</property> + <property name="action_name">view.copy</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">edit-copy-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">Paste</property> + <property name="halign">center</property> + <property name="hexpand">True</property> + <property name="action_name">view.paste</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">edit-paste-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkModelButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="margin_top">6</property> + <property name="margin_bottom">6</property> + <property name="action_name">view.select-all</property> + <property name="text" translatable="yes">Select All</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">5</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="show_hidden_files"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="margin_top">6</property> + <property name="action_name">view.show-hidden-files</property> + <property name="text" translatable="yes">Show _Hidden Files</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">6</property> + </packing> + </child> + <child> + <object class="GtkModelButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="margin_bottom">6</property> + <property name="action_name">app.show-hide-sidebar</property> + <property name="text" translatable="yes">Show _Sidebar</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">7</property> + </packing> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">8</property> + </packing> + </child> + <child> + <object class="GtkModelButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="margin_top">6</property> + <property name="action_name">app.preferences</property> + <property name="text" translatable="yes">_Preferences</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">9</property> + </packing> + </child> + <child> + <object class="GtkModelButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="action_name">app.show-help-overlay</property> + <property name="text" translatable="yes">_Keyboard Shortcuts</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">10</property> + </packing> + </child> + <child> + <object class="GtkModelButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="action_name">app.help</property> + <property name="text" translatable="yes">_Help</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">11</property> + </packing> + </child> + <child> + <object class="GtkModelButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="action_name">app.about</property> + <property name="text" translatable="yes">_About Files</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">12</property> + </packing> + </child> + </object> + <packing> + <property name="submenu">main</property> + <property name="position">1</property> + </packing> + </child> + </object> + <object class="GtkPopoverMenu" id="menu_popover"> + <property name="can_focus">False</property> + <child> + <object class="GtkBox"> + <property name="width_request">160</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">9</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox" id="view_menu_zoom_section"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkBox" id="view_menu_undo_redo_section"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_top">6</property> + <property name="margin_bottom">6</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="undo_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">win.undo</property> + <property name="text" translatable="yes">_Undo</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkModelButton" id="redo_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="action_name">win.redo</property> + <property name="text" translatable="yes">_Redo</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkBox" id="view_menu_extended_section"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + </object> + <packing> + <property name="submenu">main</property> + <property name="position">1</property> + </packing> + </child> + </object> + <object class="GtkPopover" id="operations_popover"> + <property name="can_focus">False</property> + <child> + <object class="GtkScrolledWindow"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hscrollbar_policy">never</property> + <property name="max_content_height">270</property> + <property name="propagate_natural_height">True</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkBox" id="operations_container"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="margin_end">12</property> + <property name="margin_top">12</property> + <property name="margin_bottom">12</property> + <property name="orientation">vertical</property> + <property name="spacing">10</property> + <child> + <placeholder/> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + <template class="NautilusToolbar" parent="GtkHeaderBar"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="show_close_button">True</property> + <child type="title"> + <object class="GtkBox" id="header_toolbar"> + <property name="width_request">270</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">6</property> + <child> + <object class="GtkBox" id="toolbar_switcher_container"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">center</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkToggleButton" id="search_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Search</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="action_name">slot.search-visible</property> + <child> + <object class="GtkImage" id="search_icon"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">edit-find-symbolic</property> + <property name="icon_size">1</property> + </object> + </child> + <style> + <class name="image-button"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + <child> + <object class="GtkBox" id="navigation_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="back_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Go back</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="action_name">win.back</property> + <child> + <object class="GtkImage" id="back_icon"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">go-previous-symbolic</property> + <property name="icon_size">1</property> + </object> + </child> + <style> + <class name="image-button"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="forward_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Go forward</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="action_name">win.forward</property> + <child> + <object class="GtkImage" id="forward_icon"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">go-next-symbolic</property> + <property name="icon_size">1</property> + </object> + </child> + <style> + <class name="image-button"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <style> + <class name="linked"/> + <class name="raised"/> + </style> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">72</property> + <child> + <object class="GtkRevealer" id="operations_revealer"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="transition_type">slide-right</property> + <child> + <object class="GtkMenuButton" id="operations_button"> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Show operations</property> + <property name="margin_end">6</property> + <property name="popover">operations_popover</property> + <signal name="toggled" handler="on_operations_button_toggled" object="NautilusToolbar" swapped="yes"/> + <child> + <object class="GtkDrawingArea" id="operations_icon"> + <property name="width_request">16</property> + <property name="height_request">16</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <signal name="draw" handler="on_operations_icon_draw" object="NautilusToolbar" swapped="no"/> + </object> + </child> + <style> + <class name="button"/> + </style> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="margin_end">6</property> + <child> + <object class="GtkButton" id="view_toggle_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes">Toggle view</property> + <property name="action_name">slot.files-view-mode-toggle</property> + <child> + <object class="GtkImage" id="view_toggle_icon"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_size">1</property> + </object> + </child> + <style> + <class name="image-button"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkMenuButton" id="view_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes" comments="“View” is a noun">View options</property> + <property name="halign">start</property> + <property name="action_name">win.view-menu</property> + <property name="popover">menu_popover</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">pan-down-symbolic</property> + </object> + </child> + <style> + <class name="disclosure-button"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <style> + <class name="linked"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkMenuButton" id="app_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="popover">app_menu</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">open-menu-symbolic</property> + <property name="icon_size">1</property> + </object> + </child> + <style> + <class name="image-button"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + </object> + <packing> + <property name="pack_type">end</property> + <property name="position">3</property> + </packing> + </child> + </template> +</interface> diff --git a/src/resources/ui/nautilus-trash-is-empty.ui b/src/resources/ui/nautilus-trash-is-empty.ui new file mode 100644 index 0000000..528f21d --- /dev/null +++ b/src/resources/ui/nautilus-trash-is-empty.ui @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkGrid" id="trash_is_empty"> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">12</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixel_size">80</property> + <property name="icon_name">user-trash-symbolic</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Trash is Empty</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="1.4399999999999999"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <style> + <class name="dim-label"/> + </style> + </object> +</interface> diff --git a/src/resources/ui/nautilus-window.ui b/src/resources/ui/nautilus-window.ui new file mode 100644 index 0000000..4eef37c --- /dev/null +++ b/src/resources/ui/nautilus-window.ui @@ -0,0 +1,197 @@ +<?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> + <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> + <property name="show-starred-location">True</property> + <signal name="show-other-locations-with-flags" handler="places_sidebar_show_other_locations_with_flags" object="NautilusWindow" swapped="yes" /> + <signal name="show-starred-location" handler="places_sidebar_show_starred_location" 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="in_app_notification_undo"> + <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="in_app_notification_undo_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="in_app_notification_undo_undo_button"> + <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="in_app_notification_undo_close_button"> + <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> + <packing> + <property name="shrink">False</property> + </packing> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |