Patch from Lucas Rocha <lucasr@im.ufba.br> to use the GOption API for the

2004-12-07  Glynn Foster  <glynn.foster@sun.com>

	Patch from Lucas Rocha <lucasr@im.ufba.br> to use the GOption
	API for the zenity parsing options, with some spacing fixes
	from Glynn.

	* configure.in: zenity now requires glib-2.0 >= 2.5.3 to build
	because now it uses GOption. popt requirement removed.
	* src/Makefile.am: update for new files
	* src/main.c: use GOption API
	* src/option.c, src/option.h: New files to implement the new
	functionality.
	* src/zenity.h: Fix spacing.

2004-12-07  Glynn Foster  <glynn.foster@sun.com>

	* POTFILES.in: Add new files.
This commit is contained in:
Glynn Foster 2004-12-07 00:17:16 +00:00 committed by Glynn Foster
parent d9f8ccdc47
commit 530a4c0408
7 changed files with 52 additions and 1537 deletions

View File

@ -1,3 +1,17 @@
2004-12-07 Glynn Foster <glynn.foster@sun.com>
Patch from Lucas Rocha <lucasr@im.ufba.br> to use the GOption
API for the zenity parsing options, with some spacing fixes
from Glynn.
* configure.in: zenity now requires glib-2.0 >= 2.5.3 to build
because now it uses GOption. popt requirement removed.
* src/Makefile.am: update for new files
* src/main.c: use GOption API
* src/option.c, src/option.h: New files to implement the new
functionality.
* src/zenity.h: Fix spacing.
2004-11-23 Ross Burton <ross@burtonini.com>
* src/util.c: Check the xterm window ID is valid for the current

View File

@ -11,12 +11,10 @@ AC_PROG_CC
GTK_REQUIRED=2.3.1
PKG_CHECK_MODULES(ZENITY, gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 libgnomecanvas-2.0)
PKG_CHECK_MODULES(ZENITY, gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 libgnomecanvas-2.0 glib-2.0 >= 2.5.3)
AC_SUBST(ZENITY_CFLAGS)
AC_SUBST(ZENITY_LIBS)
AC_CHECK_LIB(popt, poptHelpOptions,, AC_MSG_ERROR([popt is required to build script.]))
dnl ***********************************************
dnl scrollkeeper checks
dnl ***********************************************

View File

@ -1,3 +1,7 @@
2004-12-07 Glynn Foster <glynn.foster@sun.com>
* POTFILES.in: Add new files.
2004-12-04 Žygimantas Beručka <uid0@akl.lt>
* lt.po: Updated Lithuanian translation.

View File

@ -5,3 +5,4 @@ src/notification.c
src/tree.c
src/util.c
src/zenity.glade
src/option.c

View File

@ -4,6 +4,8 @@ bin_SCRIPTS = gdialog
zenity_SOURCES = \
main.c \
option.c \
option.h \
zenity.h \
calendar.c \
msg.c \

1536
src/main.c

File diff suppressed because it is too large Load Diff