Commit Graph

288 Commits

Author SHA1 Message Date
Glynn Foster
452c3426fb Fix Jonathan's name - I suck.
2003-02-01  Glynn Foster  <glynn.foster@sun.com>

	* NEWS, THANKS, src/about.c: Fix Jonathan's
	name - I suck.
2003-02-01 20:07:25 +00:00
Glynn Foster
9e7cbd647f Add new. Update coordinates.
2003-02-01  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/sunglasses.png: Add new.
	* src/about.c: Update coordinates.
2003-02-01 12:13:25 +00:00
Glynn Foster
8f85e68421 Okay, I'm a glory hunter. Seperate out the about dialog entries a little.
2003-02-01  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Okay, I'm a glory hunter. Seperate out the
	about dialog entries a little.

	* THANKS: Update.
2003-02-01 11:43:32 +00:00
Glynn Foster
feef039683 Don't do a g_assert_not_reached () if we don't have any dialog types.
2003-01-29  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Don't do a g_assert_not_reached () if we don't have
	any dialog types.
2003-01-29 02:20:02 +00:00
Glynn Foster
574404b13e Update
2003-01-29  Glynn Foster  <glynn.foster@sun.com>

	* README: Update

	* configure.in: Remove some bogus configure checks that
	we almost certainly don't need.

	* src/about.c, data/Makefile.am, data/*.png: Add new pixbuf for
	about dialog.

	* TODO: Update accordingly
2003-01-29 02:05:44 +00:00
Glynn Foster
22625f8b16 Don't display the translators tab unless there is stuff to show.
2003-01-28  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Don't display the translators tab
	unless there is stuff to show.

	* src/entry.c: Add sanity NULL checking.

	* src/tree.c, src/zenity.h: Add support for a new
	--editable option.

	* src/main.c: Add support for new --editable option for
	the List dialog. Merge in the list of Gtk+ options into
	the popt table - ripped this from libbonoboui, thanks to
	James for pointing this out.

	* src/zenity.glade: Make the translatable strings less arse.

	* TODO: Update accordingly.
2003-01-28 14:58:30 +00:00
Glynn Foster
2c9e227432 Update
2003-01-26  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c: Update
2003-01-26 20:25:44 +00:00
John Fleck
2d0e828c5d adding comma Glynn left out that kept it from compiling
2003-01-24 John Fleck <jfleck@inkstain.net>

	* src/about.c: adding comma Glynn left out
	that kept it from compiling
2003-01-25 02:12:07 +00:00
Glynn Foster
89255c3b35 Provide correct help URL.
2003-01-24  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Provide correct help URL.

	* src/util.h, src/util.c: Add functions from
	libgnome/gnome-i18n so that we can correctly find the
	apropriate help file.

	* xmldocs.make: Install help into $(datadir)/help/$(lang)/

	* THANKS: Update from the code I stole from libgnome
2003-01-24 16:16:40 +00:00
Glynn Foster
525e0dbe64 Print out warning when we have no arguments to the commandline.
2003-01-22  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Print out warning when we have no arguments to the
	commandline.

	* TODO: Add another item
2003-01-22 02:03:09 +00:00
Mike Newman
0629d7f227 Sigh - half a job done as usual :) 2003-01-21 08:05:38 +00:00
Mike Newman
818872f171 Fixed a bug I introduced! Ensure that an editable --text-info dialog gets
a buffer associated with it, so we can get the output even when we don't
start out with a --filename.
2003-01-21 08:00:27 +00:00
Glynn Foster
a161b30233 Remove some strings for translation that should be done.
2003-01-20  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Remove some strings for translation that
	should be done.
2003-01-20 10:03:13 +00:00
Glynn Foster
3a90fe7167 Attempt to make things work after 2 bottles of wine last night. Harmless
2003-01-19  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Attempt to make things work after 2 bottles of
	wine last night. Harmless changes though, so I'll commit them
	for posterity.

	* src/main.c: Add a new helper function for the error reporting
	that makes the translators life easier. Thanks to Ole for spotting
	this.

	* src/text.c, src/zenity.h: Lame white spacing hacking.

	* xmldocs.make: Put the docs in $(datadir)/help - not quite sure
	yet if yelp is going to like this or not.
2003-01-19 12:48:57 +00:00
Mike Newman
1e1dfef56e Add --editable option to --text-info, and return edited textbuffer contents on dialog close. 2003-01-19 12:13:08 +00:00
Glynn Foster
c41421c043 Add some screenshots for the help documentation.
2003-01-18  Glynn Foster  <glynn.foster@sun.com>

	* help/C/figures/zenity-calendar-screenshot.png,
	help/C/figures/zenity-entry-screenshot.png,
	help/C/figures/zenity-error-screenshot.png,
	help/C/figures/zenity-fileselection-screenshot.png,
	help/C/figures/zenity-information-screenshot.png,
	help/C/figures/zenity-list-screenshot.png,
	help/C/figures/zenity-progress-screenshot.png,
	help/C/figures/zenity-question-screenshot.png,
	help/C/figures/zenity-text-screenshot.png,
	help/C/figures/zenity-warning-screenshot.png: Add some
	screenshots for the help documentation.

	* src/entry.c, src/msg.c: Don't set the text if it's NULL.
2003-01-18 18:30:52 +00:00
Glynn Foster
18760d406d Only some examples and some screenshots and we're mostly done for a first
2003-01-18  Glynn Foster  <glynn.foster@sun.com>

	* help/C/zenity.xml: Only some examples and some screenshots
	and we're mostly done for a first draft.

	* src/calendar.c: Don't set the text if it's NULL.

	* src/main.c: Swap the order of the commandline dialogs so
	that we're alphabetical.

	* src/zenity.glade: Add some default strings.
2003-01-18 18:02:14 +00:00
Glynn Foster
10e683c2e7 Hooray! Zenity now has an about window icon. It's very zen too.
2003-01-18  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/zenity.png, src/about.c: Hooray!
	Zenity now has an about window icon. It's very zen too.
2003-01-18 14:54:44 +00:00
Glynn Foster
f182d9f7fc Some new window icons.
2003-01-18  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/zenity-calendar.png,
	data/zenity-entry.png, data/zenity-progress.png,
	data/zenity-text.png: Some new window icons.

	* src/text.c: Fix crash where the GladeXML ref was getting
	unref'd before we wanted to use it.

	* src/main.c: Fix up commandline parsing a little, although we
	should really add the parsing options for gtk+.

	* src/zenity.glade: Give some saner defaults.

	* THANKS, src/about.c: Update for all the people I stole icons
	and code from.

	* TODO: Update accordingly.
2003-01-18 13:35:13 +00:00
Mike Newman
0e338ba3e0 Fix a segfault in the --list if no data is supplied to populate
the tree.
2003-01-17 07:46:11 +00:00
Glynn Foster
5123cda5cd Updates to make distcheck. Wow, this is scarey, a 1.0 release is on the
2003-01-14  Glynn Foster  <glynn.foster@sun.com>

	* Makefile.am, src/Makefile.am: Updates to make
	distcheck. Wow, this is scarey, a 1.0 release is on the
	horizon. Applications like this shouldn't reach 1.0.
2003-01-14 23:40:47 +00:00
Glynn Foster
97656d7e29 Update to add new gconf requirement.
2003-01-14  Glynn Foster  <glynn.foster@sun.com>

	* configure.in: Update to add new gconf requirement.

	* src/zenity.h, src/about.c: Hurray for a new about box,
	although it lacks an icon. I wonder if people would actually
	like to see this as part of the dialog options. Can't think
	of any reason to do so at the moment though. Large chunks
	copied from libgnomeui/gnome-about.[ch]

	* src/util.h, src/util.c: Add new helper functions because I
	don't want to touch gnome_program with a bargepole. Copied from
	libgnome/gnome-url.[ch]

	* po/POTFILES.in: Add missing files. I think we have
	everything now.

	* TODO: Update accordingly.
2003-01-14 15:35:24 +00:00
Glynn Foster
15538e120d Add an about box. Still need to add an icon, and implement the callbacks
2003-01-14  Glynn Foster  <glynn.foster@sun.com>

	* src/Makefile.am, src/about.c, src/main.c,
	src/zenity.glade: Add an about box. Still need to add
	an icon, and implement the callbacks for Help and Credits. Extra
	hassle for not linking against libgnomeui. Sigh.
2003-01-14 03:16:47 +00:00
Glynn Foster
f00eb34c06 Add support to separate the selected rows output with a character with '/'
2003-01-14  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c, src/zenity.h, src/main.c: Add support to
	separate the selected rows output with a character
	with '/' used by default.
2003-01-14 01:52:23 +00:00
Glynn Foster
275dafc66e Whitespace hacking.
2003-01-13  Glynn Foster <glynn.foster@sun.com>

	* zenity.h: Whitespace hacking.
2003-01-13 18:32:26 +00:00
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
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
48c1564ac5 Initial revision 2003-01-03 13:26:04 +00:00