Tue, 02 Jan 2024 00:36:32 -0600
Create a full widget for the new instant message window
This now uses AdwMessageDialog and is self contained but PidginApplication
manages a singleton of it.
Previously this used the request api. I'm not sure why, as the request fields
were created by the ui itself.
Testing Done:
Created an im with `Echo` on a `demo` account and was able to send and receive messages.
Reviewed at https://reviews.imfreedom.org/r/2896/
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())