Using a plugin to manage folder new mail highlighting so it works in the same way as for other notifications.
26 lines
566 B
Python
26 lines
566 B
Python
|
|
plugin_name = 'folder-highlight'
|
|
|
|
plugin_src = join_paths(plugin_name + '.vala')
|
|
plugin_data = join_paths(plugin_name + '.plugin')
|
|
plugin_dest = join_paths(plugins_dir, plugin_name)
|
|
|
|
shared_module(
|
|
plugin_name,
|
|
sources: plugin_src,
|
|
dependencies: plugin_dependencies,
|
|
include_directories: config_h_dir,
|
|
vala_args: geary_vala_args,
|
|
c_args: plugin_c_args,
|
|
install: true,
|
|
install_dir: plugin_dest
|
|
)
|
|
|
|
i18n.merge_file(
|
|
input: plugin_data + '.in',
|
|
output: plugin_data,
|
|
type: 'desktop',
|
|
po_dir: po_dir,
|
|
install: true,
|
|
install_dir: plugin_dest
|
|
)
|