Commit Graph

57 Commits

Author SHA1 Message Date
Mike Newman
15c5b0f48e Oops - committed with debugging instrumentation which would confuse scripts! 2003-05-27 18:00:56 +00:00
Mike Newman
a7673b42d2 Fix an indentation weirdness in calendar.c
Take notice of width and height in gdialog wrapper for textbox, because
the original gdialog also did.
2003-05-27 17:56:51 +00:00
Mike Newman
25d20adbd1 Fix typo in gdialog wrapper. Sensitize OK button in progress when 100% reached. 2003-05-24 09:15:50 +00:00
Glynn Foster
1acd9cfed8 Patch from Dagmar d'Surreal <dagmar@speakeasy.net> to correct help docs
2003-05-24  Glynn Foster  <glynn.foster@sun.com>

	* help/C/zenity.xml: Patch from Dagmar d'Surreal
	<dagmar@speakeasy.net> to correct help docs and
	script examples for the change from --dialog-title to
	--title.

	* THANKS, src/about.c: Add Dagmar.

	* src/progress.c: For now, just send a SIGHUP to the
	parent process - not entirely sure if this is the best thing
	to do right now.
2003-05-24 01:36:24 +00:00
Mike Newman
1930a4a763 Hmm, forgot some other bits - support --separate-output, ensure list rows
are returned.
2003-05-23 16:57:16 +00:00
Mike Newman
c4bdad5128 More work on wrapper - fix --textbox to actually load the file 2003-05-23 16:18:26 +00:00
Mike Newman
0664c94197 Update to gdialog wrapper script 2003-05-20 23:48:12 +00:00
Glynn Foster
d8d6d65386 Compatibility wrapper script from Mike Newman <mikegtn@gnome.org>.
2003-05-19  Glynn Foster  <glynn.foster@sun.com>

	* src/Makefile.am, src/gdialog: Compatibility wrapper script
	from Mike Newman <mikegtn@gnome.org>. Disabled for the present
	until I have a chance to review the code.
2003-05-19 18:46:03 +00:00
Glynn Foster
70ea28f34c Make the progress dialog actually work and now uses g_io_channel. Woot!
2003-05-19  Glynn Foster  <glynn.foster@sun.com>

	* src/progress.c: Make the progress dialog actually work
	and now uses g_io_channel. Woot! Need to be able to cancel
	the dialog, which currently doesn't work too well.

	* TODO: Update.

	* help/C/zenity.xml: Update help documentation.
2003-05-19 18:24:41 +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
d5549deab3 Fix up the stdin list dialog stuff. Updated to actually include the
2003-05-06  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c: Fix up the stdin list dialog stuff.
	* NEWS: Updated to actually include the updated
	translations as well.
2003-05-06 20:22:16 +00:00
Glynn Foster
8ff2b32c9e Make the list dialog handle stdin - a little bit buggy still. Update
2003-05-05  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c, src/util.c, src/util.h: Make the list dialog
	handle stdin - a little bit buggy still.
	* TODO: Update
2003-05-05 17:17:02 +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
e5149948ec Add Ross.
2003-02-05  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c: Add Ross.
2003-02-05 10:37:08 +00:00
Glynn Foster
ec7cb56de2 Raise on mouse click
2003-02-03  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Raise on mouse click
2003-02-03 22:58:14 +00:00
Glynn Foster
8402c27e77 Um, you don't really want to know.
2003-02-03  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/hawaii-shirt.png,
	data/surfboard.png, src/about.c: Um, you don't really
	want to know.
2003-02-03 03:16:32 +00:00
Glynn Foster
00e48cb2b5 Add spec file, thanks to Mihai T. Lazarescu.
2003-02-03  Glynn Foster  <glynn.foster@sun.com>

	* Makefile.am, configure.in, zenity.spec.in: Add
	spec file, thanks to Mihai T. Lazarescu.

	* THANKS, src/about.c: Update.
2003-02-03 01:56:42 +00:00
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