pidgin/plugins/disco/meson.build

Fri, 28 Mar 2025 00:32:48 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 28 Mar 2025 00:32:48 -0500
changeset 43208
b81c104ccbe0
parent 42742
44125b8e3b27
permissions
-rw-r--r--

Fix an alignment issue with the conversation 3 vertical dots menu

If a conversation had notifications and you selected or hovered over it, the
notifications would hide, but the 3 vertical dots menu would be positioned
like the notifications were still visible.

Testing Done:
Joined a bunch of channels and waited for notifications to popup and then verified that the 3 vertical dots menu was in the correct place.

Reviewed at https://reviews.imfreedom.org/r/3932/

subdir_done()

xmppdisco_SOURCES = [
	'gtkdisco.c',
	'xmppdisco.c',
	'xmppdiscoservice.c',
]

xmppdisco_HEADERS = [
	'gtkdisco.h',
	'xmppdisco.h',
	'xmppdiscoservice.h',
]

xmppdisco_enums = gnome.mkenums_simple('xmppdiscoenums',
	sources: xmppdisco_HEADERS,
	identifier_prefix: 'XmppDisco',
	symbol_prefix: 'xmpp_disco')
xmppdisco_SOURCES += xmppdisco_enums

xmppdisco_resource = gnome.compile_resources('xmppdiscoresources',
    'resources/xmppdisco.gresource.xml',
    source_dir : 'resources',
    c_name : 'xmppdisco')
xmppdisco_SOURCES += xmppdisco_resource

library('xmppdisco', xmppdisco_SOURCES, xmppdisco_HEADERS,
    c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-XMPPDisco"'],
    gnu_symbol_visibility : 'hidden',
    dependencies : [libpurple_dep, libpidgin_dep, glib],
    name_prefix : '',
    install : true,
    install_dir : PIDGIN_PLUGINDIR)

devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())

mercurial