Commit Graph

38 Commits

Author SHA1 Message Date
Lucas Rocha
e97b6eeaeb don't ignore return value from g_renew() (Fixes bug #338038). Patch from
2006-04-16  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_extract_column_indexes):
	don't ignore return value from g_renew() (Fixes
	bug #338038). Patch from Behdad Esfahbod
	<gnome@behdad.org>.
2006-04-17 04:11:15 +00:00
Lucas Rocha
5547de9384 make it possible to add new lines and markup in the dialog text.
2005-11-15  Lucas Rocha  <lucasr@cvs.gnome.org>

        * src/calendar.c, src/progress.c, src/tree.c: make
        it possible to add new lines and markup in the dialog
        text.
2005-11-15 04:14:35 +00:00
Lucas Rocha
21f7bc6a54 general code cleanups. Contribution from Benoît Dejean.
2005-07-08  Lucas Rocha  <lucasr@cvs.gnome.org>

	* src/about.c, src/calendar.c, src/fileselection.c,
	src/option.c, src/progress.c, src/text.c, src/tree.c,
	src/util.c: general code cleanups. Contribution from
	Benoît Dejean.
2005-07-08 23:21:34 +00:00
Lucas Almeida Rocha
4c328078b6 Include cleanups (config.h) 2005-07-06 20:13:11 +00:00
Lucas Almeida Rocha
8ba040f33b New --hide-column option. 2005-07-01 21:28:36 +00:00
Lucas Almeida Rocha
da0a2585b3 Data structure improvements on List dialogs. 2005-06-30 23:43:23 +00:00
Lucas Almeida Rocha
c9be8d0579 New --print-column syntax. Now it's possible to pass a comma-separated list of column indexes. 2005-06-28 11:11:50 +00:00
Lucas Almeida Rocha
cc3fc2be3e Error handling when trying to use checklist and radiolist in the same List dialog 2005-06-28 04:43:10 +00:00
Lucas Almeida Rocha
5d584ca8ef Double-clicking on list dialog 2005-06-27 04:27:15 +00:00
Lucas Almeida Rocha
9c792cb86a Changed list dialog Selection behavior 2005-06-27 03:13:37 +00:00
Glynn Foster
6abd93050f COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,
2005-04-25  Glynn Foster  <glynn.foster@sun.com>

	* COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c,
	* src/entry.c, src/fileselection.c, src/main.c, src/msg.c,
	* src/notification.c, src/option.c, src/progress.c,
	* src/text.c, src/tree.c, src/util.c: Update the FSF address
	to point to 51 Franklin Street, Fifth Floor as per forwarded
	mail from Alvaro Lopez Ortega.
2005-04-25 03:20:45 +00:00
Glynn Foster
bc282cfa65 Patch from Ed Catmur to fix the list dialog on stdin. Fixes #164152.
2005-01-17  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c: Patch from Ed Catmur to fix the list dialog
	on stdin. Fixes #164152.
	* src/about.c, THANKS: Update.
2005-01-17 01:33:23 +00:00
Kjartan Maraas
ca975e8399 Add missing header. Same ANSIfication. Closes bug #152851.
2004-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* src/progress.c: Add missing header.
	* src/tree.c: Same
	* src/util.c: (transient_get_xterm),
	(transient_get_xterm_toplevel): ANSIfication.
	Closes bug #152851.
2004-09-17 08:57:21 +00:00
Glynn Foster
3e05834b4c Add new notification icon. Update for new files. Restructure code a little
2004-09-13  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/zenity-notification.png: Add new
	notification icon.
	* src/Makefile.am: Update for new files.
	* src/about.c, src/calendar.c, src/entry.c, src/fileselection.c,
	src/progress.c, src/text.c, src/tree.c, src/msg.c: Restructure code a
	little bit for new utility functions for setting window icons.
	* src/eggtrayicon.c, src/eggtrayicon.h: New files for notification area
	support.
	* src/main.c, src/notification.c, src/util.c, src/util.h, src/zenity.h:
	Add support for notification area.
	* data/zenity.1, help/*: Update docs for notification and new file
	selection changes.
2004-09-13 07:51:51 +00:00
Glynn Foster
63661a6ea0 src/calendar.c, src/entry.c, src/fileselection.c, Cleanup fixes from Paul
2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c, src/entry.c, src/fileselection.c,
	* src/msg.c, src/progress.c, src/text.c, src/tree.c: Cleanup
	fixes from Paul Bolle.
2004-07-19 01:13:40 +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
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
62785ed80f Add from the 2 Sebastian's, and make email addresses more spam proof.
2004-04-26  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c: Add from the 2 Sebastian's, and make
	email addresses more spam proof.
	* src/calendar.c, src/entry.c, src/fileselection.c, src/msg.c,
	* src/progress.c, src/text.c, src/tree.c, src/util.c,
	* src/util.h: Patch from Sebastian Kapfer to make all zenity
	dialogs transients of the parent xterm. Fixes #136226.
	* src/zenity.glade: Patch from Sebastian Heinlein to
	improve things HIG wise. Fixes #140745.
2004-04-26 04:41:25 +00:00
Glynn Foster
b43bbda2e2 Patch from Darren Adams <darrenadams@dsl.pipex.com> to make sure the new
2004-03-19  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c, src/entry.c, src/fileselection.c,
	src/msg.c, src/progress.c, src/text.c, src/tree.c:
	Patch from Darren Adams <darrenadams@dsl.pipex.com> to make
	sure the new file chooser resizes nicely. Sanitize the default
	setting of the other widgets.
	* configure.in, src/util.c: Lose gconf dependancy since we
	don't currently use it, although arguably we should to detect
	which help browser we're supposed to run :/
	* THANKS, src/about.c: Add Darren to the list.
2004-03-19 02:28:30 +00:00
Glynn Foster
d02a5bcd11 Put horizontal scrolling on automatic, otherwise we expand off the edge of
2003-08-27  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c:  Put horizontal scrolling on automatic, otherwise
	we expand off the edge of the screen.
2003-08-27 12:10:04 +00:00
Kevin C. Krinke
652c90596e user input data output to STDOUT via g_print instead of outputting to
2003-07-11  Kevin C. Krinke  <kckrinke@opendoorsoftware.com>

       * src/calendar.c, src/entry.c, src/fileselection.c, src/text.c,
       src/tree.c: user input data output to STDOUT via g_print instead
       of outputting to STDERR via g_printerr. This makes it possible to
       destinguish user input data from GTK+ warnings / errors.
       * THANKS, src/about.c: I figure this is my second patch submission
       so I belong in the credits...
2003-07-13 23:03:18 +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
5bade6fe6a Support user-defined return values via env vars, like dialog did. 2003-06-07 14:41:56 +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
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
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
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
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
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
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
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
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
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