qulogic/libgnt

Improve resizing a box.

2010-03-24, Sadrul Habib Chowdhury
11f5e4943b5b
Improve resizing a box.

libgnt used to always change the size of the first widget. So in a lot of
dialogs (e.g. the log viewer, the add-buddy dialogs etc.) only the labels
would be resized, and the entry/comboboxes, resizing which would be more
useful, would never be resized. So change that behaviour to cycle through
all the widgets in the box for resize.

Fixes #11580, #7843.
wms = irssi.la
if PURPLE_AVAILABLE
# These custom wms depend on libpurple
purple_wms = s.la
else
purple_wms =
endif
s_la_LDFLAGS = -module -avoid-version
irssi_la_LDFLAGS = -module -avoid-version
plugin_LTLIBRARIES = \
$(wms) \
$(purple_wms)
plugindir = $(libdir)/gnt
irssi_la_SOURCES = irssi.c
irssi_la_LIBADD = \
$(GLIB_LIBS) \
../libgnt.la
s_la_SOURCES = s.c
s_la_LIBADD = \
$(GLIB_LIBS) \
../libgnt.la \
$(top_builddir)/libpurple/libpurple.la
EXTRA_DIST =
AM_CPPFLAGS = \
-DDATADIR=\"$(datadir)\" \
-I$(top_srcdir)/libpurple \
-I$(top_srcdir)/finch \
-I$(top_srcdir)/finch/libgnt \
$(DEBUG_CFLAGS) \
$(GLIB_CFLAGS) \
$(GNT_CFLAGS) \
$(PLUGIN_CFLAGS)