pidgin/plugins/gestures/meson.build

Mon, 29 Aug 2022 22:06:07 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Mon, 29 Aug 2022 22:06:07 -0500
changeset 41623
78cf94d0f8c8
parent 41579
49d29706f311
child 41637
ea3c8dca0bc8
permissions
-rw-r--r--

Move network preferences to Adwaita preference widgets

This does make the TURN server settings longer vertically, but that seems more consistent with everything.

Also fix the `leave` event on the TURN server setting.

Testing Done:
Toggled all the options and checked that stuff happened in the Debug Window.

Also, I'm not sure why the `GtkSpinButton` and `GtkEntry` expand to different sizes; they both have `hexpand=1`, and the spin button is next to text that's _shorter_ than the entry, but somehow ends up farther right. Seems like a bug in GTK.

PS, be careful of this page; it tries to get your public IP address and displays it when it succeeds.

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

38471
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
1 gestures_SOURCES = [
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
2 'gestures.c',
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
3 'gstroke.h',
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
4 'gstroke-internal.h',
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
5 'stroke.c',
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
6 'stroke-draw.c'
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
7 ]
a7ce1d49ac8c Add Pidgin plugins to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
8
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40497
diff changeset
9 gestures = library('gestures', gestures_SOURCES,
41116
dff0811ff40c Enable structured logging in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41066
diff changeset
10 c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-Gestures"'],
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40497
diff changeset
11 dependencies : [libpurple_dep, libpidgin_dep, glib],
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40497
diff changeset
12 name_prefix : '',
41579
49d29706f311 Disable gestures plugin by default
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41116
diff changeset
13 build_by_default : false, # FIXME: Port to GTK4
41011
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40497
diff changeset
14 install : true, install_dir : PIDGIN_PLUGINDIR)
90dd69fd1372 Remove the option to disable compiling plugins.
Gary Kramlich <grim@reaperworld.com>
parents: 40497
diff changeset
15
41066
00e6bda3ef95 Add a Meson devenv configuration.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41011
diff changeset
16 devenv.append('PIDGIN_PLUGIN_PATH', meson.current_build_dir())

mercurial