Commit Graph

68 Commits

Author SHA1 Message Date
Mike Newman
0e4c879656 Allow multiple file selections. 2003-06-09 18:57:01 +00:00
Mike Newman
5bade6fe6a Support user-defined return values via env vars, like dialog did. 2003-06-07 14:41:56 +00:00
Glynn Foster
3aab6a19a5 Untranslate silly strings pointed out by Kjartan Maraas.
2003-06-07  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Untranslate silly strings pointed out by
	Kjartan Maraas.
2003-06-07 13:10:58 +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
Mike Newman
b12b1a4faf add a --help option to the gdialog wrapper script 2003-06-03 17:28:20 +00:00
Glynn Foster
f091d10d08 Make the progress dialog resize. Lamely fixes #113706.
2003-05-27  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Make the progress dialog resize. Lamely
	fixes #113706.
2003-05-27 22:28:44 +00:00
Mike Newman
beaff4a661 Enable the gdialog wrapper script. 2003-05-27 22:00:43 +00:00
Mike Newman
9e131f64cb Enable the gdialog compatibility wrapper script. 2003-05-27 21:57:46 +00:00
Mike Newman
34f3758977 Not my day. Fix order of height and width args of textbox in gdialog wrapper. 2003-05-27 18:05:18 +00:00
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