diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/eom-image-properties-dialog.ui | 6 | ||||
-rw-r--r-- | data/eom-preferences-dialog.ui | 15 | ||||
-rw-r--r-- | data/icons/meson.build | 33 | ||||
-rw-r--r-- | data/meson.build | 57 |
4 files changed, 111 insertions, 0 deletions
diff --git a/data/eom-image-properties-dialog.ui b/data/eom-image-properties-dialog.ui index fdff309..ab42ec1 100644 --- a/data/eom-image-properties-dialog.ui +++ b/data/eom-image-properties-dialog.ui @@ -145,6 +145,7 @@ <property name="margin-top">8</property> <property name="margin-bottom">8</property> <property name="label" translatable="yes">Name:</property> + <property name="mnemonic-widget">name_label</property> <property name="justify">right</property> <attributes> <attribute name="weight" value="bold"/> @@ -164,6 +165,7 @@ <property name="margin-top">8</property> <property name="margin-bottom">8</property> <property name="label" translatable="yes">Width:</property> + <property name="mnemonic-widget">width_label</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -182,6 +184,7 @@ <property name="margin-top">8</property> <property name="margin-bottom">8</property> <property name="label" translatable="yes">Height:</property> + <property name="mnemonic-widget">height_label</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -200,6 +203,7 @@ <property name="margin-top">8</property> <property name="margin-bottom">8</property> <property name="label" translatable="yes">Type:</property> + <property name="mnemonic-widget">type_label</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -218,6 +222,7 @@ <property name="margin-top">8</property> <property name="margin-bottom">8</property> <property name="label" translatable="yes">Bytes:</property> + <property name="mnemonic-widget">bytes_label</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -236,6 +241,7 @@ <property name="margin-top">8</property> <property name="margin-bottom">8</property> <property name="label" translatable="yes">Location:</property> + <property name="mnemonic-widget">folder_button</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/data/eom-preferences-dialog.ui b/data/eom-preferences-dialog.ui index 9974193..c32e5b2 100644 --- a/data/eom-preferences-dialog.ui +++ b/data/eom-preferences-dialog.ui @@ -277,6 +277,11 @@ <property name="can-focus">True</property> <property name="receives-default">True</property> <property name="title" translatable="yes">Background Color</property> + <child internal-child="accessible"> + <object class="AtkObject" id="bg_color_accessible"> + <property name="AtkObject::accessible-name" translatable="yes">Background Color</property> + </object> + </child> </object> <packing> <property name="expand">False</property> @@ -388,6 +393,11 @@ <property name="use-alpha">True</property> <property name="title" translatable="yes">Color for Transparent Areas</property> <property name="rgba">rgb(0,0,0)</property> + <child internal-child="accessible"> + <object class="AtkObject" id="transp_color_accessible"> + <property name="AtkObject::accessible-name" translatable="yes">Color for Transparent Areas</property> + </object> + </child> </object> <packing> <property name="expand">False</property> @@ -609,6 +619,11 @@ <property name="adjustment">adjustment1</property> <property name="climb-rate">1</property> <property name="numeric">True</property> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="AtkObject::accessible-name" translatable="yes">seconds</property> + </object> + </child> </object> <packing> <property name="expand">False</property> diff --git a/data/icons/meson.build b/data/icons/meson.build new file mode 100644 index 0000000..e7bfb26 --- /dev/null +++ b/data/icons/meson.build @@ -0,0 +1,33 @@ +actioniconsdir = pkgdatadir / 'icons' / 'hicolor' +appiconsdir = datadir / 'icons' / 'hicolor' + +foreach size : ['16x16', '22x22', '24x24', '32x32'] + install_data([ + size / 'actions/eom-image-collection.png', + size / 'actions/slideshow-play.png', + ], install_dir: actioniconsdir / size / 'actions') +endforeach + +foreach size : ['16x16', '22x22', '32x32'] + install_data([ + size / 'actions/eom-plugin.png', + ], install_dir: actioniconsdir / size / 'actions') +endforeach + +install_data('48x48/actions/slideshow-play.png', install_dir: actioniconsdir / '48x48' / 'actions') + +install_data([ + 'scalable/actions/eom-image-collection.svg', + 'scalable/actions/eom-plugin.svg', + 'scalable/actions/slideshow-play.svg', +], install_dir: actioniconsdir / 'scalable' / 'actions') + +foreach size : ['16x16', '22x22', '24x24', '32x32'] + install_data([ + size / 'apps/eom.png', + ], install_dir: appiconsdir / size / 'apps') +endforeach + +install_data(['scalable/apps/eom.svg'], install_dir: appiconsdir / 'scalable' / 'apps') + +gnome.post_install(gtk_update_icon_cache: true) diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..06acf52 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,57 @@ +subdir('icons') + +desktopdir = datadir / 'applications' +desktopfile = configure_file(input: 'eom.desktop.in.in', configuration: pkg_info, output: 'eom.desktop.in') + +if get_option('nls') + i18n.merge_file( + input: desktopfile, + output: 'eom.desktop', + install: true, + install_dir: desktopdir, + type: 'desktop', + po_dir: po_dir, + ) +else + install_data(desktopfile, install_dir: desktopdir, rename: ['eom.desktop']) +endif +gnome.post_install(update_desktop_database: true) + +appdatadir = join_paths(datadir, 'metainfo') +appdatafile = configure_file(input: 'eom.appdata.xml.in.in', configuration: pkg_info, output: 'eom.appdata.xml.in') + +if get_option('nls') + i18n.merge_file( + input: appdatafile, + output: 'eom.appdata.xml', + install: true, + install_dir: appdatadir, + type: 'xml', + po_dir: po_dir, + ) +else + install_data(appdatafile, install_dir: appdatadir, rename: ['eom.appdata.xml']) +endif + +gsettings_schema = configure_file(input: 'org.mate.eom.gschema.xml.in', configuration: pkg_info, output: 'org.mate.eom.gschema.xml') +install_data(gsettings_schema, install_dir: schemadir) +gnome.post_install(glib_compile_schemas: true) + +gnome.mkenums( + 'org.mate.eom.enums.xml', + comments: '<!-- @comment@ -->', + sources: enum_headers, + fhead: '<schemalist>', + vhead: ''' <@type@ id='org.mate.eom.@EnumName@'>''', + vprod: ''' <value nick='@valuenick@' value='@valuenum@'/>''', + vtail: ' </@type@>', + ftail: '</schemalist>', + install_header: true, + install_dir: schemadir +) + +eom_pc = configure_file(input: 'eom.pc.in', configuration: pkg_info, output: 'eom.pc') +install_data(eom_pc, install_dir: libdir / 'pkgconfig') + +uidir = pkgdatadir +install_data('eom-toolbar.xml', install_dir: uidir) |