summaryrefslogtreecommitdiff
path: root/src/zenity.h
AgeCommit message (Collapse)Author
2012-07-19Added support to --imagelist on tree. Thanks to Joshua Nathaniel Pritikin ↵Arx Cruz
<jpritikin@pobox.com> now the first column can have an image.
2011-12-21Added support to lists on zenity --formsArx Cruz
2011-10-13Revert "Initial support for list/tree on --forms option Added zenity ↵Arx Cruz
--add-list and --list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns" This reverts commit ed825cf92b9d786b9b13361db4a0e696af347a59.
2011-10-13Initial support for list/tree on --forms option Added zenity --add-list and ↵Arx Cruz
--list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns
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-07-06Patch for bug #621907Arx Cruz
This patch add the option --no-markup in the info, warning, error and question dialogs So if the user wants to use & \ ' and other symbols, now he can, and no error will be showed.
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-01-17Adding missed files and code for --forms option.Arx Cruz
2011-01-04Add font and no wrap mode support in text dialogmuzuiget
2010-11-09Add libnotify as optional in zenity instalationArx Cruz
2010-07-12Add new password dialogArx Cruz
2010-02-23Bug 540169 - Zenity should offer color selection dialogBerislav Kovacki
2010-02-23Bug 593926 - --progress needs a --nocancel optionHuzaifa Sidhpurwala
2009-08-10Bug 552971 - Add a hide-header option to list dialogBryce Harrington
2009-08-08Bug 579999 – zenity sets a huge but finite timeoutOlivier Blin
Declare timeout delay as signed, so that assigning -1 does not act as setting a huge (but finite) timeout (this has been noticed by resetting the clock)
2008-04-21Add support for file filter in file selection dialog through the newLucas Rocha
2008-04-21 Lucas Rocha <lucasr@gnome.org> Add support for file filter in file selection dialog through the new --file-filter command line option (Fixes bug #409843). * src/option.c, src/zenity.h: added supporting variable and new GOptionEntry entry for the new command line option. * src/fileselection.c (zenity_fileselection): add file filters based on command line input. svn path=/trunk/; revision=1362
2008-03-29Allow question dialogs to use custom button label text (Fixes bugLucas Rocha
2008-03-30 Lucas Rocha <lucasr@gnome.org> Allow question dialogs to use custom button label text (Fixes bug #335763). Patch from Cosimo Cecchi <anarki@lilik.it> and Thomas Thurman <tthurman@gnome.org>. * src/msg.c (zenity_msg_construct_question_dialog), (zenity_msg): dynamically add dialog buttons with provided labels. * src/option.c (zenity_option_free): free input labels. (zenity_question_post_callback): set button labels provided by the respective command line options. * src/zenity.glade: remove pre-defined dialog button from question dialog. * src/zenity.h: added ok_label and cancel_label to ZenityMsgData. svn path=/trunk/; revision=1346
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
2006-12-02add "auto-kill" option to progress dialog. Now the user can choose whetherLucas Rocha
2006-12-02 Lucas Rocha <lucasr@gnome.org> * src/zenity.h, src/progress.c, src/option.c: add "auto-kill" option to progress dialog. Now the user can choose whether to kill parent process or not (Fixes bug #310824). Patch from Diego Escalante Urrelo <diego@aureal.com.pe>.
2006-07-26fix small build warnings on 64-bit architectures (Fixes bug #344125). fixLucas Rocha
2006-07-26 Lucas Rocha <lucasr@gnome.org> * src/tree.c (zenity_tree_fill_entries_from_stdin, zenity_tree): fix small build warnings on 64-bit architectures (Fixes bug #344125). * src/zenity.h: fix small build warning.
2006-05-11add optional dropdown menu to entry dialog (Fixed bug #311038). Patch fromLucas Rocha
2006-05-10 Lucas Rocha <lucasr@gnome.org> * src/entry.c (zenity_entry_fill_entries, zenity_entry), src/main.c, src/option.c, src/zenity.glade, src/zenity.h: add optional dropdown menu to entry dialog (Fixed bug #311038). Patch from Diego Escalante Urrelo <dieguito@gmail.com>.
2006-03-23add --confirm-overwrite to file selection dialog to pop a confirmationLucas Rocha
2006-03-23 Lucas Rocha <lucasr@gnome.org> * src/fileselection.c, zenity.h, option.c: add --confirm-overwrite to file selection dialog to pop a confirmation dialog when selecting an existing filename.
2005-12-15add --hide-value to scale dialog.Lucas Rocha
2005-12-15 Lucas Rocha <lucasr@gnome.org> * src/option.c, src/scale.c, src/zenity.h: add --hide-value to scale dialog.
2005-12-13new scale dialog for selecting a value from a range (Fixes #322399).Lucas Rocha
2005-12-13 Lucas Rocha <lucasr@gnome.org> * data/Makefile.am, data/zenity-scale.png, src/Makefile.am, src/main.c, src/option.c, src/option.h, src/scale.c, src/zenity.glade, src/zenity.h: new scale dialog for selecting a value from a range (Fixes #322399).
2005-07-01New --hide-column option.Lucas Almeida Rocha
2005-06-27Changed list dialog Selection behaviorLucas Almeida Rocha
2005-04-20Clean up the code a little bit.Glynn Foster
2005-04-20 Glynn Foster <glynn.foster@sun.com> * src/entry.c, src/option.c, src/zenity.h: Clean up the code a little bit.
2005-04-20Bug fix for #149290, based on contributions from Timo Aaltonen, LucasGlynn Foster
2005-04-20 Glynn Foster <glynn.foster@sun.com> * src/msg.c, src/option.c, src/zenity.h: Bug fix for #149290, based on contributions from Timo Aaltonen, Lucas Rocha, and Carlos Parra. * THANKS: Update.
2004-12-07Patch from Lucas Rocha <lucasr@im.ufba.br> to use the GOption API for theGlynn Foster
2004-12-07 Glynn Foster <glynn.foster@sun.com> Patch from Lucas Rocha <lucasr@im.ufba.br> to use the GOption API for the zenity parsing options, with some spacing fixes from Glynn. * configure.in: zenity now requires glib-2.0 >= 2.5.3 to build because now it uses GOption. popt requirement removed. * src/Makefile.am: update for new files * src/main.c: use GOption API * src/option.c, src/option.h: New files to implement the new functionality. * src/zenity.h: Fix spacing. 2004-12-07 Glynn Foster <glynn.foster@sun.com> * POTFILES.in: Add new files.
2004-09-16add code to listen for commands on stdin when in listen mode.James Henstridge
2004-09-16 James Henstridge <james@jamesh.id.au> * src/notification.c: add code to listen for commands on stdin when in listen mode. * src/main.c: parse the --listen argument for --notification mode. * src/zenity.h (ZenityNotificationData): add a field for the "listen" argument.
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-09-13Update Update. Patch from Lucas Rocha to implement save and directoryGlynn Foster
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-07-19Add new option for --print-column, based on a patch by Paul Bolle. FixesGlynn Foster
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.
2003-06-09Allow multiple file selections.Mike Newman
2003-06-07Support user-defined return values via env vars, like dialog did.Mike Newman
2003-06-03Add --auto-close option to progress dialog. Closes dialog when 100% has been ↵Mike Newman
reached. Also update docs for new option. Fixes #114125.
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-28Don't display the translators tab unless there is stuff to show.Glynn Foster
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-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-14Update to add new gconf requirement.Glynn Foster
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-14Add support to separate the selected rows output with a character with '/'Glynn Foster
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-13Whitespace hacking.Glynn Foster
2003-01-13 Glynn Foster <glynn.foster@sun.com> * zenity.h: Whitespace hacking.
2003-01-13Localise output of --calendar dialog by default (using nl_langinfo),Mike Newman
and provide a --date-format option to provide a strftime-style format for the returned date.
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-07Improve error handling... a lot.Glynn Foster
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-06Finish off commandline parsing for the list dialog. Wow, this is almostGlynn Foster
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-06I love featuritis. Instead of fixing stuff so it actually works, I addGlynn Foster
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.