Commit Graph

40 Commits

Author SHA1 Message Date
Glynn Foster
03f3e5b060 Update Update. Patch from Lucas Rocha to implement save and directory
2004-09-13  Glynn Foster  <glynn.foster@sun.com>

	* THANKS: Update
	* src/about.c: Update.
	* src/fileselection.c, src/main.c, src/zenity.h:
	Patch from Lucas Rocha to implement save and
	directory selection in the file selection dialog.
	Fixes #138342.
2004-09-13 04:56:26 +00:00
Glynn Foster
ffaed08856 Add new option for --print-column, based on a patch by Paul Bolle. Fixes
2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c, src/tree.c, src/zenity.h,
	help/C/zenity.xml: Add new option for --print-column, based
	on a patch by Paul Bolle.  Fixes #144496.
2004-07-19 01:01:28 +00:00
Glynn Foster
b986224682 Remove duplicate locale.h include. Patch from Leonardo Boshell. Partly
2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Remove duplicate locale.h include. Patch
	from Leonardo Boshell. Partly fixes #137993.
2004-07-18 23:52:07 +00:00
Glynn Foster
c7ec5229bb Fix parsing errors. Patch from Paull Bolle. Fixes #144501.
2004-06-17  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Fix parsing errors. Patch from
	Paull Bolle. Fixes #144501.
2004-06-16 23:45:28 +00:00
Glynn Foster
c30c2f365f Add Paul. fix tyops in parsing.
2004-06-08  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c: Add Paul.
	* src/main.c:  fix tyops in parsing.
2004-06-09 21:12:55 +00:00
Glynn Foster
02955ce70f Fix the list dialog not being able to handle --text to change the text. It
2004-04-29  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c, src/tree.c: Fix the list dialog not being
	able to handle --text to change the text. It was also
	intentional but must have fallen through the gaps.
	* data/zenity.1: Update
	* help/C/zenity.xml: Update.
2004-04-28 12:06:02 +00:00
Glynn Foster
2d67087ca0 Patch from Leonardo Boshell to add the locale.h header.
2003-10-27  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Patch from Leonardo Boshell to add the
	locale.h header.
2003-10-27 02:48:32 +00:00
Damien Carbery
1fab4b4e62 Make zenity compile on solaris. Whoops :)
2003-09-12  Damien Carbery <damien.carbery@sun.com>

	* src/main.c: Make zenity compile on solaris. Whoops :)
2003-09-12 08:40:48 +00:00
Glynn Foster
f3ea9c41a2 Update. Update. Patch from Toshi to fix encoding of passed text strings.
2003-09-04  Glynn Foster  <glynn.foster@sun.com>

	* THANKS: Update.
	* src/about.c: Update.
	* src/main.c: Patch from Toshi to fix encoding of passed
	text strings. Fixes #121389.
2003-09-04 10:33:00 +00:00
Mike Newman
32cb0ef0f5 Fixed i18n of help messages. 2003-08-22 08:30:15 +00:00
Mike Newman
86a829f7c8 Added en_GB translation and fixed a typo. 2003-06-21 15:33:39 +00:00
Mike Newman
cfe29d9ad0 Allow /t and /n in dialog text. Some code cleanup. 2003-06-10 21:30:22 +00:00
Mike Newman
0e4c879656 Allow multiple file selections. 2003-06-09 18:57:01 +00:00
Glynn Foster
65cb873430 Fix up some build warnings as reported by Ross Burton and his amazing gcc
2003-06-04  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c, src/main.c, src/msg.c,
	src/progress.c, src/tree.c, src/util.c: Fix up some build warnings
	as reported by Ross Burton and his amazing gcc 3.3 techno machine.
2003-06-04 12:53:46 +00:00
Jordi Mallach
52b1f1c71e Add a "no-c-format" xgettext header to unbreak po files in the new
2003-06-04  Jordi Mallach  <jordi@sindominio.net>

	* src/main.c: Add a "no-c-format" xgettext header to unbreak po files
	in the new auto-close string.
2003-06-04 10:46:02 +00:00
Mike Newman
626d95b752 Add --auto-close option to progress dialog. Closes dialog when 100% has been reached. Also update docs for new option. Fixes #114125. 2003-06-03 21:52:16 +00:00
Glynn Foster
a08343daf9 Update commandline error message, needs updating of translations. Remove
2003-05-06  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Update commandline error message, needs updating
	of translations.
	* src/tree.c: Remove some commented out code.
	* src/zenity.glade: Updated error and info dialogs to do
	wrapping.
2003-05-07 01:08:08 +00:00
Glynn Foster
9da6452661 Ooops - fix build. 2003-04-13 15:48:15 +00:00
Glynn Foster
965c2a9149 Finish off the indentation cleanup. Add new '--width' and '--height'
2003-04-13  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.h: Finish off the indentation cleanup.
	Add new '--width' and '--height' options to the general options.
	Fix up the radio list view, so that we can now act like a radio
	button group.

	* TODO: Update
2003-04-13 15:42:41 +00:00
Glynn Foster
49f8979534 Mass indentation cleanup. Make sure the glade dialogs aren't initially
2003-03-10  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c, 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/util.c, src/util.h, src/zenity.glade, src/zenity.h:

	Mass indentation cleanup. Make sure the glade dialogs aren't initially
	visible because this avoids a visibility jump. Apparently == TRUE is
	bad mojo. Fix up.
2003-03-10 17:11:18 +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
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
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
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
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
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
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
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
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