From 7c00cf317849bfe9e565336e5a911effe16b98bb Mon Sep 17 00:00:00 2001 From: rbuj Date: Fri, 17 Dec 2021 22:27:47 +0100 Subject: Use gresources for ui files --- data/Makefile.am | 9 + data/caja-bookmarks-window.ui | 299 ++++ data/caja-file-management-properties.ui | 2568 +++++++++++++++++++++++++++++++ data/caja-resources.gresource.xml | 7 + data/ui-a11y.suppr | 35 + 5 files changed, 2918 insertions(+) create mode 100644 data/caja-bookmarks-window.ui create mode 100644 data/caja-file-management-properties.ui create mode 100644 data/caja-resources.gresource.xml create mode 100644 data/ui-a11y.suppr (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index bf98a1e6..3d57d895 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -70,13 +70,21 @@ else $(AM_V_GEN) cp -f $< $@ endif +ui_files = \ + caja-file-management-properties.ui \ + caja-bookmarks-window.ui \ + $(NULL) + EXTRA_DIST = \ $(appdata_in_in_files) \ $(cajadata_DATA) \ $(desktop_in_in_files) \ $(mime_in_files) \ $(service_in_files) \ + $(ui_files) \ + caja-resources.gresource.xml \ freedesktop-dbus-interfaces.xml \ + ui-a11y.suppr \ $(NULL) DISTCLEANFILES = \ @@ -106,4 +114,5 @@ if ENABLE_UPDATE_MIMEDB $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime" endif +include $(top_srcdir)/gla11y.mk -include $(top_srcdir)/git.mk diff --git a/data/caja-bookmarks-window.ui b/data/caja-bookmarks-window.ui new file mode 100644 index 00000000..c8da6090 --- /dev/null +++ b/data/caja-bookmarks-window.ui @@ -0,0 +1,299 @@ + + + + + + + True + False + help-browser + + + True + False + go-jump + + + True + False + list-remove + + + True + False + window-close + + + False + 5 + Edit Bookmarks + center + 500 + 300 + normal + + + True + False + vertical + 2 + + + True + False + end + + + _Help + True + True + True + False + image1 + True + + + True + True + 0 + + + + + _Jump to + True + True + True + False + image2 + True + + + True + True + 1 + + + + + _Remove + True + True + True + False + image3 + True + + + True + True + 2 + + + + + _Close + True + True + True + False + image4 + True + + + True + True + 3 + + + + + False + True + end + 0 + + + + + True + False + 5 + 18 + True + + + True + False + vertical + 6 + + + True + False + _Bookmarks + True + bookmark_tree_view + 0 + 0.5 + + + + + + False + False + 0 + + + + + True + True + never + in + + + True + True + False + True + + + + + + + + True + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + 18 + + + True + False + vertical + 6 + + + True + False + _Name + True + 0 + 0.5 + + + + + + False + False + 0 + + + + + True + False + + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + 6 + + + True + False + _Location + True + 0 + 0.5 + + + + + + False + False + 0 + + + + + True + False + + + + + + False + True + 1 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + True + True + 1 + + + + + + helpbutton1 + bookmark_jump_button + bookmark_delete_button + button2 + + + diff --git a/data/caja-file-management-properties.ui b/data/caja-file-management-properties.ui new file mode 100644 index 00000000..3207c800 --- /dev/null +++ b/data/caja-file-management-properties.ui @@ -0,0 +1,2568 @@ + + + + + + + + + + + + + + + + + + True + False + help-about + + + True + False + preferences-desktop + + + True + False + help-browser + + + True + False + window-close + + + + + + + + + Icon View + + + List View + + + Compact View + + + + + + + + + + + Always + + + Local Files Only + + + Never + + + + + + + + + + + By Name + + + By Path + + + By Size + + + By Size on Disk + + + By Type + + + By Modification Date + + + By Creation Date + + + By Access Date + + + By Emblems + + + By Extension + + + By Trashed Date + + + + + + + + + + + 33% + + + 50% + + + 66% + + + 100% + + + 150% + + + 200% + + + 400% + + + + + + + + + + + 33% + + + 50% + + + 66% + + + 100% + + + 150% + + + 200% + + + 400% + + + + + + + + + + + 33% + + + 50% + + + 66% + + + 100% + + + 150% + + + 200% + + + 400% + + + + + + + + + + + Always + + + Local Files Only + + + Never + + + + + + + + + + + Always + + + Local Files Only + + + Never + + + + + + + + + + + 100 KB + + + 500 KB + + + 1 MB + + + 3 MB + + + 5 MB + + + 10 MB + + + 100 MB + + + 1 GB + + + 2 GB + + + 4 GB + + + + + + + + + + + Always + + + Local Files Only + + + Never + + + + + False + 5 + File Management Preferences + center + 400 + 400 + dialog + + + True + False + vertical + 2 + + + True + False + end + + + _Help + True + True + True + False + image3 + True + + + False + False + 0 + + + + + _Close + True + True + True + False + image4 + True + + + False + False + 1 + + + + + False + True + end + 0 + + + + + True + True + 5 + + + True + False + 12 + vertical + 18 + + + True + False + vertical + 6 + + + True + False + <b>Default View</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + True + False + 12 + + + True + False + View _new folders using: + True + default_view_combobox + 0 + + + False + False + 0 + + + + + True + False + model1 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + 12 + + + True + False + _Arrange items: + True + sort_order_combobox + 0 + + + False + False + 0 + + + + + True + False + model2 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + Sort _folders before files + True + True + False + start + True + True + + + False + False + 2 + + + + + Show hidden files + True + True + False + start + True + True + + + False + False + 3 + + + + + Show backup files + True + True + False + start + True + True + + + False + False + 4 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + True + True + 0 + none + + + True + True + True + True + + + True + False + 12 + vertical + 6 + + + True + False + 12 + + + True + False + Default _zoom level: + True + icon_view_zoom_combobox + 0 + + + False + False + 0 + + + + + True + False + model3 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + _Use compact layout + True + True + False + start + True + True + + + False + False + 1 + + + + + _Text beside icons + True + True + False + start + True + True + + + False + False + 2 + + + + + + + True + False + Icon View + + + False + + + + + True + False + 12 + vertical + 6 + + + True + False + 12 + + + True + False + _Default zoom level: + True + compact_view_zoom_combobox + 0 + + + False + False + 0 + + + + + True + False + model4 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + A_ll columns have the same width + True + True + False + start + True + True + + + False + False + 1 + + + + + 1 + + + + + True + False + Compact View + + + 1 + False + + + + + True + False + 12 + vertical + 6 + + + True + False + 12 + + + True + False + D_efault zoom level: + True + list_view_zoom_combobox + 0 + + + False + False + 0 + + + + + True + False + model5 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + _Show icons + True + True + False + start + True + True + + + False + True + 1 + + + + + 2 + + + + + True + False + List View + + + 2 + False + + + + + True + False + 12 + vertical + 6 + + + Show _only folders + True + True + False + start + True + True + + + False + False + 0 + + + + + 3 + + + + + True + False + Tree View + + + 3 + False + + + + + + + True + False + 6 + Defaults + + + + + + + + False + True + 1 + + + + + + + True + False + Views + + + False + + + + + True + False + 12 + vertical + 18 + + + True + False + vertical + 6 + + + True + False + <b>Behavior</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + + + _Single click to open items + True + True + False + start + True + True + + + False + False + 0 + + + + + _Double click to open items + True + True + False + start + True + True + single_click_radiobutton + + + False + False + 6 + 1 + + + + + Open each _folder in its own window + True + True + False + start + True + True + + + False + False + 2 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + 6 + + + True + False + <b>Executable Text Files</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + _Run executable text files when they are opened + True + True + False + start + True + True + + + False + False + 0 + + + + + _View executable text files when they are opened + True + True + False + start + True + True + scripts_execute_radiobutton + + + False + False + 1 + + + + + _Ask each time + True + True + False + start + True + True + scripts_execute_radiobutton + + + False + False + 2 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + True + False + vertical + 6 + + + True + False + <b>Trash</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + Ask before _emptying the Trash or deleting files + True + True + False + start + True + True + + + False + False + 0 + + + + + Ask before moving files to the _Trash + True + True + False + start + True + True + + + False + False + 1 + + + + + I_nclude a Delete command that bypasses Trash + True + True + False + start + True + True + + + False + False + 2 + + + + + False + True + 1 + + + + + False + True + 2 + + + + + 1 + + + + + True + False + Behavior + + + 1 + False + + + + + True + False + 12 + vertical + 18 + + + True + False + vertical + 6 + + + True + False + <b>Icon Captions</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + True + False + Choose the order of information to appear beneath icon names. More information will appear when zooming in closer. + True + 0 + + + False + False + 0 + + + + + True + False + + + True + False + + + False + False + 0 + + + + + True + False + + + False + False + 1 + + + + + False + False + 1 + + + + + True + False + + + True + False + True + + + False + False + 0 + + + + + True + False + + + False + False + 1 + + + + + False + False + 2 + + + + + True + False + + + True + False + + + False + False + 0 + + + + + True + False + + + False + False + 1 + + + + + False + False + 3 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + 6 + + + True + False + <b>Date</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + 12 + + + True + False + _Format: + True + date_format_combobox + + + False + False + 0 + + + + + True + False + + + False + False + 1 + + + + + False + True + 1 + + + + + False + False + 1 + + + + + True + False + vertical + 6 + + + True + False + <b>Size</b> + True + 0 + + + False + False + 0 + + + + + _Show file sizes with IEC units + True + True + False + start + 12 + True + True + + + False + True + 1 + + + + + False + False + 2 + + + + + 2 + + + + + True + False + Display + + + 2 + False + + + + + True + False + 12 + vertical + 18 + + + True + False + vertical + 6 + + + True + False + <b>List Columns</b> + True + 0 + + + False + False + 0 + + + + + True + False + vertical + 6 + + + True + False + Choose the order of information to appear in the list view. + True + 0 + + + False + False + 0 + + + + + + + + True + True + 1 + + + + + True + True + 0 + + + + + 3 + + + + + True + False + List Columns + + + 3 + False + + + + + True + False + 12 + vertical + 18 + + + True + False + vertical + 6 + + + True + False + <b>Text Files</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + True + False + 12 + + + True + False + Show te_xt in icons: + True + preview_text_combobox + 0 + + + False + False + 0 + + + + + True + False + model6 + + + + 0 + + + + + False + False + 1 + + + + + False + False + 0 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + 6 + + + True + False + <b>Other Previewable Files</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + True + False + 12 + + + True + False + Show _thumbnails: + True + preview_image_combobox + 0 + + + False + False + 0 + + + + + True + False + model7 + + + + 0 + + + + + False + False + 1 + + + + + False + False + 0 + + + + + True + False + 12 + + + True + False + _Only for files smaller than: + True + preview_image_size_combobox + 0 + + + False + False + 0 + + + + + True + False + model8 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + True + False + vertical + 6 + + + True + False + <b>Sound Files</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + True + False + 12 + + + True + False + Preview _sound files: + True + preview_sound_combobox + 0 + + + False + False + 0 + + + + + True + False + model9 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + False + True + 1 + + + + + False + True + 2 + + + + + True + False + vertical + 6 + + + True + False + <b>Folders</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + True + False + 12 + + + True + False + Count _number of items: + True + preview_folder_combobox + 0 + + + False + False + 0 + + + + + True + False + model10 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + False + True + 1 + + + + + False + True + 3 + + + + + 4 + + + + + True + False + Preview + + + 4 + False + + + + + True + False + 12 + vertical + 6 + + + True + False + vertical + 6 + + + True + False + vertical + 6 + + + True + False + <b>Media Handling</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + True + False + Choose what happens when inserting media or connecting devices to the system + True + True + 0 + + + False + False + 0 + + + + + + True + False + 6 + 6 + + + True + False + CD _Audio: + True + media_audio_cdda_combobox + 0 + + + 0 + 0 + + + + + True + False + True + + + 1 + 0 + + + + + True + False + _DVD Video: + True + media_video_dvd_combobox + 0 + + + 0 + 1 + + + + + True + False + True + + + 1 + 1 + + + + + True + False + _Music Player: + True + media_music_player_combobox + 0 + + + 0 + 2 + + + + + True + False + True + + + 1 + 2 + + + + + True + False + _Photos: + True + media_dcf_combobox + 0 + + + 0 + 3 + + + + + True + False + True + + + 1 + 3 + + + + + True + False + _Software: + True + media_software_combobox + 0 + + + 0 + 4 + + + + + True + False + True + + + 1 + 4 + + + + + + + + + + + + + + + + + + + + False + True + 1 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + 6 + + + True + False + <b>Other Media</b> + True + 0 + + + False + False + 0 + + + + + True + False + 12 + vertical + 6 + + + True + False + Less common media formats can be configured here + True + True + 0 + + + False + False + 0 + + + + + + True + False + 6 + 6 + + + True + False + _Type: + True + media_other_type_combobox + 0 + + + 0 + 0 + + + + + True + False + Acti_on: + True + media_other_action_combobox + 0 + + + 0 + 1 + + + + + True + False + True + + + 1 + 0 + + + + + True + False + True + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + False + True + 1 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + False + False + 0 + + + + + _Never prompt or start programs on media insertion + True + True + False + start + True + True + + + False + False + 1 + + + + + B_rowse media when inserted + True + True + False + start + True + True + + + False + False + 2 + + + + + 5 + + + + + True + False + Media + + + 5 + False + + + + + True + False + 12 + vertical + 6 + + + True + False + <b>Available _Extensions:</b> + True + True + 0 + + + False + True + 0 + + + + + True + True + in + + + 100 + 270 + True + True + extension_store + False + True + + + + + + True + column + True + + + + 0 + + + + + + + True + Extension + + + + + + + + column + + + + 2 + + + + + + + + + True + True + 1 + + + + + True + False + 8 + end + + + _About Extension + True + False + True + True + image1 + True + + + False + False + 0 + + + + + C_onfigure Extension + True + False + True + True + image2 + True + + + False + False + 1 + + + + + False + False + 2 + + + + + 6 + + + + + True + False + Extensions + + + 3 + False + + + + + True + True + 1 + + + + + + helpbutton1 + closebutton1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/caja-resources.gresource.xml b/data/caja-resources.gresource.xml new file mode 100644 index 00000000..1c830a6e --- /dev/null +++ b/data/caja-resources.gresource.xml @@ -0,0 +1,7 @@ + + + + caja-file-management-properties.ui + caja-bookmarks-window.ui + + diff --git a/data/ui-a11y.suppr b/data/ui-a11y.suppr new file mode 100644 index 00000000..c257b3c7 --- /dev/null +++ b/data/ui-a11y.suppr @@ -0,0 +1,35 @@ +caja-bookmarks-window.ui://GtkLabel[@id='label4'] orphan-label +caja-bookmarks-window.ui://GtkLabel[@id='bookmark_name_label'] orphan-label +caja-bookmarks-window.ui://GtkLabel[@id='label3'] orphan-label +caja-bookmarks-window.ui://GtkLabel[@id='bookmark_location_label'] orphan-label +caja-bookmarks-window.ui://GtkLabel[@id='label2'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label4'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label5'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label6'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label25'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label10'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label12'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label14'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label28'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label29'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='captions_label_0'] orphan-label +caja-file-management-properties.ui://GtkComboBoxText[@id='captions_0_combobox'] no-labelled-by +caja-file-management-properties.ui://GtkLabel[@id='captions_label_1'] orphan-label +caja-file-management-properties.ui://GtkComboBoxText[@id='captions_1_combobox'] no-labelled-by +caja-file-management-properties.ui://GtkLabel[@id='captions_label_2'] orphan-label +caja-file-management-properties.ui://GtkComboBoxText[@id='captions_2_combobox'] no-labelled-by +caja-file-management-properties.ui://GtkLabel[@id='label34'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label40'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label31'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label33'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label16'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label18'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label20'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label22'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label42'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label60'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label61'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label65'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label7'] orphan-label +caja-file-management-properties.ui://GtkTreeView[@id='extension_view'] no-labelled-by -- cgit v1.2.1