summaryrefslogtreecommitdiff
path: root/src/text.c
AgeCommit message (Collapse)Author
2011-07-26Fix for bug #611297 Now Zenity have --ok-label and --cancel-label in all ↵Arx Cruz
dialogs. This patch doesn't break old zenity scripts.
2011-07-19Enable html support in --text-info option. This fix bug #598655, thanks for ↵Arx Cruz
the work from Francis Meyvis francis.meyvis at gmail dot com. Two new options in --text-info: * --html - enable HTML support. * --url - load an url If you need to load a local html file, you can use --filename=patch/to/html. Examples: * zenity --text-info --html --filename=file.html * zenity --text-info --html --url=www.gnome.org Zenity will add http:// if isn't declared in --url
2011-06-28This change add a new functionality to text-info:Arx Cruz
* Added a cancel button returning 1 if clicked * Renamed the Close button to Ok, still returning 0 if clicked * Added --ok-label=TEXT option to change the Ok button label * Added --cancel-label=TEXT option to change the Cancel button label * Added --checkbox=TEXT option to show an "I Agree and accept the terms" checkbox If --checkbox is enabled, the Ok button will be disabled if the checkbox isn't checked.
2011-06-17Now if you use --timeout option, the return code will be properly handledArx Cruz
The default behavior will be done (ie. user click on ok button) The return code will be 5
2011-06-16Bug 651948 - zenity list does not return default value when timeout is overArx Cruz
2011-02-15text.c: Fix compilation warningJavier Jardón
2011-01-04Add font and no wrap mode support in text dialogmuzuiget
2010-05-27Use g_timeout_add_seconds instead g_timeout_addPhilippe Gauthier
The calls to g_timeout_add are replaced with g_timeout_add_seconds to reduce the number or program wake ups. See the GNOME Goal description: http://live.gnome.org/GnomeGoals/UseTimeoutAddSeconds
2009-07-20Bug 578393 – convert from libglade to GtkBuilderFelix Riemann
2007-08-13added timeout option to all dialogs (Fixes bug #160654). Based on patchLucas Rocha
2007-08-13 Lucas Rocha <lucasr@gnome.org> * src/*.c: added timeout option to all dialogs (Fixes bug #160654). Based on patch from Muthiah Annamalai <gnumuthu@users.sf.net>. svn path=/trunk/; revision=1231
2007-05-27correctly handle UTF-8 input text in the text info dialog (Fixes bugLucas Rocha
2007-05-27 Lucas Rocha <lucasr@gnome.org> * src/text.c: correctly handle UTF-8 input text in the text info dialog (Fixes bug #407275). svn path=/trunk/; revision=1220
2007-05-14fix seg fault when outputing files with special printf format stringsLucas Rocha
2007-05-15 Lucas Rocha <lucasr@gnome.org> * src/text.c (zenity_text_dialog_response): fix seg fault when outputing files with special printf format strings (Fixes bug #405006). Patch from Mariano Suárez-Alvarez. svn path=/trunk/; revision=1212
2006-07-28correctly stdin input for text info dialog (Fixes bug #336736).Lucas Rocha
2006-07-27 Lucas Rocha <lucasr@gnome.org> * src/text.c (zenity_text_handle_stdin): correctly stdin input for text info dialog (Fixes bug #336736).
2005-07-08general code cleanups. Contribution from Benoît Dejean.Lucas Rocha
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-06Include cleanups (config.h)Lucas Almeida Rocha
2005-04-25COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,Glynn Foster
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.
2004-09-13Add new notification icon. Update for new files. Restructure code a littleGlynn Foster
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-07-19src/calendar.c, src/entry.c, src/fileselection.c, Cleanup fixes from PaulGlynn Foster
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-04-26Add from the 2 Sebastian's, and make email addresses more spam proof.Glynn Foster
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-03-19Patch from Darren Adams <darrenadams@dsl.pipex.com> to make sure the newGlynn Foster
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-01-26Handle stdin. Fixes #132517.Glynn Foster
2004-01-26 Glynn Foster <glynn.foster@sun.com> * src/text.c: Handle stdin. Fixes #132517.
2003-07-13user input data output to STDOUT via g_print instead of outputting toKevin C. Krinke
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-06-07Support user-defined return values via env vars, like dialog did.Mike Newman
2003-04-13Finish off the indentation cleanup. Add new '--width' and '--height'Glynn Foster
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-03-10Mass indentation cleanup. Make sure the glade dialogs aren't initiallyGlynn Foster
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-01-21Sigh - half a job done as usual :)Mike Newman
2003-01-21Fixed a bug I introduced! Ensure that an editable --text-info dialog getsMike Newman
a buffer associated with it, so we can get the output even when we don't start out with a --filename.
2003-01-19Attempt to make things work after 2 bottles of wine last night. HarmlessGlynn Foster
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-19Add --editable option to --text-info, and return edited textbuffer contents ↵Mike Newman
on dialog close.
2003-01-18Some new window icons.Glynn Foster
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-07Fix up the response signal handlers. Use returns of 0 for 'Ok' andGlynn Foster
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-03Initial revisionGlynn Foster