Commit Graph

2515 Commits

Author SHA1 Message Date
Glynn Foster 1e0ff80be4 Re-structure the code to pass in the ZenityData structure into the
2003-01-13  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c: Re-structure the code to pass in the
	ZenityData structure into the response_callback instead.

	* src/main.c: Fix the screwups in the commandline parser
	due to popt being teh suck.

	* src/msg.c: Don't unref the GladeXML before you use it.

	* THANKS: New file.
2003-01-13 18:16:50 +00:00
Mike Newman 9a77e41fec Localise output of --calendar dialog by default (using nl_langinfo),
and provide a --date-format option to provide a strftime-style format
for the returned date.
2003-01-13 17:35:57 +00:00
Glynn Foster 69636459e1 Improve error handling. Make --list actually return something useful,
2003-01-13  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Improve error handling.
	* src/tree.c: Make --list actually return something
	useful, although I still need to actually seperate
	things out so it's actually decipherable.

	* TODO: Update accordingly.
2003-01-13 16:48:45 +00:00
Glynn Foster cd4e438bfb Fix up the date string, although I guess this should be localized.
2003-01-09  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c: Fix up the date string, although I guess
	this should be localized.

	* src/main.c: Add a new --pulsate option, which reads from
	stdin and pulsates the progress bar until we reach EOF.
	* src/progress.c: Rewrite to actually work. Don't really need
	GIOChannels here.

	* TODO: Updated accordingly.
2003-01-09 18:07:04 +00:00
Glynn Foster 6a65d75921 Fix up the response signal handlers. Use returns of 0 for 'Ok' and
2003-01-07  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c, src/entry.c, src/fileselection.c,
	src/main.c, src/msg.c, src/progress.c, src/text.c,
	src/tree.c, src/zenity.glade, src/zenity.h: Fix up
	the response signal handlers. Use returns of 0 for
	'Ok' and 'Close', 1 for 'Cancel' and 'Escape' and
	-1 for 'Uh Oh'. Get stuff printing to stderr. Fix up
	the error handling that I thought was improved,
	although still have issues with popt callback getting
	called numerous times because of more than one instance
	of the same kind is being used in poptOption.

	* TODO: Update accordingly.
2003-01-07 13:22:57 +00:00
Glynn Foster 952fc14e7b Fix up the error returns.
2003-01-07  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Fix up the error returns.

	* TODO: Update accordingly.
2003-01-07 00:30:03 +00:00
Glynn Foster a8c3006035 Improve error handling... a lot.
2003-01-06  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c, src/main.c, src/progress.c,
	src/tree.c, src/zenity.h: Improve error handling...
	a lot.
2003-01-07 00:01:00 +00:00
Glynn Foster d88a32f1f5 Finish off commandline parsing for the list dialog. Wow, this is almost
2003-01-06  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c, src/tree.c, src/zenity.h: Finish off
	commandline parsing for the list dialog. Wow, this
	is almost approaching usable ;)

	* TODO: Update accordingly
2003-01-06 21:58:21 +00:00
Glynn Foster 8924d5c401 I love featuritis. Instead of fixing stuff so it actually works, I add
2003-01-06  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c, src/msg.c, src/zenity.glade,
	src/zenity.h: I love featuritis. Instead of fixing
	stuff so it actually works, I add more stuff. Add
	support for info dialog.
2003-01-06 21:09:22 +00:00
Glynn Foster 342d84b35f Life is pleasant. Death is peaceful. It's the transition that's troublesome. 2003-01-06 17:09:44 +00:00
Glynn Foster 00e8b3c09a Feeling stupid because I can't use glade. Thanks to jrb and jamesh for
2003-01-06  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Feeling stupid because I can't use
	glade. Thanks to jrb and jamesh for showing me the light.
	Update default strings to sensible stuff.
2003-01-06 17:00:49 +00:00
Glynn Foster e62012d4a5 o/~ "
This is the end
Beautiful friend
This is the end
My only friend, the end

Of our elaborate plans, the end
Of everything that stands, the end
No safety or surprise, the end
I'll never look into your eyes...again
					" o/~
2003-01-06 15:11:12 +00:00
Glynn Foster 344345d9aa Add functions to init and free the parsing options. Still not terribly
2003-01-06  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Add functions to init and free the
	parsing options. Still not terribly pretty though.

	* src/tree.c, src/zenity.h: Handle --column
	argument.

	* TODO: Update accordingly.
2003-01-06 15:06:17 +00:00
Glynn Foster b44078584a Zenity - the art of Zen. Clearly. Um. 2003-01-03 13:26:04 +00:00
Glynn Foster 48c1564ac5 Initial revision 2003-01-03 13:26:04 +00:00