summaryrefslogtreecommitdiff
path: root/src/main.c
Commit message (Collapse)AuthorAge
* Add libnotify as optional in zenity instalationArx Cruz2010-11-09
|
* Add new password dialogArx Cruz2010-07-12
|
* Bug 540169 - Zenity should offer color selection dialogBerislav Kovacki2010-02-23
|
* GNOME Goal: Clean up GLib and GTK+ includes (Fixes bug #563855). PatchLucas Rocha2009-01-09
| | | | | | | | | | | 2009-01-09 Lucas Rocha <lucasr@gnome.org> * src/main.c: * src/option.h: GNOME Goal: Clean up GLib and GTK+ includes (Fixes bug #563855). Patch from Pedro Fragoso <ember@ubuntu.com>. svn path=/trunk/; revision=1462
* initialize GTK+ before parsing command line options to better handleLucas Rocha2007-05-27
| | | | | | | | | 2007-05-27 Lucas Rocha <lucasr@gnome.org> * src/main.c: initialize GTK+ before parsing command line options to better handle errors on display setting (Fixes bug #410055). svn path=/trunk/; revision=1217
* add optional dropdown menu to entry dialog (Fixed bug #311038). Patch fromLucas Rocha2006-05-11
| | | | | | | | | 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>.
* new scale dialog for selecting a value from a range (Fixes #322399).Lucas Rocha2005-12-13
| | | | | | | | | | 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).
* COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,Glynn Foster2005-04-25
| | | | | | | | | | | 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.
* Fix for #137993. There is a chance that we'll have to revert this fix,Glynn Foster2004-12-07
| | | | | | | | | | | | | | | | | | | | | 2004-12-07 Glynn Foster <glynn.foster@sun.com> * src/main.c: Fix for #137993. There is a chance that we'll have to revert this fix, given the comments in /etc/X11/gdm/Xsession: # Note that this should only go to zenity dialogs which always # expect utf8 gettextfunc () { if [ "x$gdmtranslate" != "x" ] ; then "$gdmtranslate" --utf8 "$1" else echo "$1" fi } So I guess we may be over a barrel with our original guarantee. Let's just change this in 2.9.x and see if anyone notices or cares enough. Patch from Leonardo Boshell <p@kapcoweb.com>.
* Patch from Lucas Rocha <lucasr@im.ufba.br> to use the GOption API for theGlynn Foster2004-12-07
| | | | | | | | | | | | | | | | | | | | 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.
* Updated Spanish translation. Fixed typoFrancisco Javier F. Serrador2004-10-30
| | | | | | | 2004-10-30 Francisco Javier F. Serrador <serrador@cvs.gnome.org> * po/es.po: Updated Spanish translation. * src/main.c: Fixed typo
* add code to listen for commands on stdin when in listen mode.James Henstridge2004-09-16
| | | | | | | | | | | | 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.
* Add new notification icon. Update for new files. Restructure code a littleGlynn Foster2004-09-13
| | | | | | | | | | | | | | | | | 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.
* Update Update. Patch from Lucas Rocha to implement save and directoryGlynn Foster2004-09-13
| | | | | | | | | | | 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.
* Add new option for --print-column, based on a patch by Paul Bolle. FixesGlynn Foster2004-07-19
| | | | | | | | 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.
* Remove duplicate locale.h include. Patch from Leonardo Boshell. PartlyGlynn Foster2004-07-18
| | | | | | | 2004-07-19 Glynn Foster <glynn.foster@sun.com> * src/main.c: Remove duplicate locale.h include. Patch from Leonardo Boshell. Partly fixes #137993.
* Fix parsing errors. Patch from Paull Bolle. Fixes #144501.Glynn Foster2004-06-16
| | | | | | | 2004-06-17 Glynn Foster <glynn.foster@sun.com> * src/main.c: Fix parsing errors. Patch from Paull Bolle. Fixes #144501.
* Add Paul. fix tyops in parsing.Glynn Foster2004-06-09
| | | | | | | 2004-06-08 Glynn Foster <glynn.foster@sun.com> * THANKS, src/about.c: Add Paul. * src/main.c: fix tyops in parsing.
* Fix the list dialog not being able to handle --text to change the text. ItGlynn Foster2004-04-28
| | | | | | | | | | 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.
* Patch from Leonardo Boshell to add the locale.h header.Glynn Foster2003-10-27
| | | | | | | 2003-10-27 Glynn Foster <glynn.foster@sun.com> * src/main.c: Patch from Leonardo Boshell to add the locale.h header.
* Make zenity compile on solaris. Whoops :)Damien Carbery2003-09-12
| | | | | | 2003-09-12 Damien Carbery <damien.carbery@sun.com> * src/main.c: Make zenity compile on solaris. Whoops :)
* Update. Update. Patch from Toshi to fix encoding of passed text strings.Glynn Foster2003-09-04
| | | | | | | | | 2003-09-04 Glynn Foster <glynn.foster@sun.com> * THANKS: Update. * src/about.c: Update. * src/main.c: Patch from Toshi to fix encoding of passed text strings. Fixes #121389.
* Fixed i18n of help messages.Mike Newman2003-08-22
|
* Added en_GB translation and fixed a typo.Mike Newman2003-06-21
|
* Allow /t and /n in dialog text. Some code cleanup.Mike Newman2003-06-10
|
* Allow multiple file selections.Mike Newman2003-06-09
|
* Fix up some build warnings as reported by Ross Burton and his amazing gccGlynn Foster2003-06-04
| | | | | | | | 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.
* Add a "no-c-format" xgettext header to unbreak po files in the newJordi Mallach2003-06-04
| | | | | | | 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.
* Add --auto-close option to progress dialog. Closes dialog when 100% has been ↵Mike Newman2003-06-03
| | | | reached. Also update docs for new option. Fixes #114125.
* Update commandline error message, needs updating of translations. RemoveGlynn Foster2003-05-07
| | | | | | | | | | 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.
* Ooops - fix build.Glynn Foster2003-04-13
|
* Finish off the indentation cleanup. Add new '--width' and '--height'Glynn Foster2003-04-13
| | | | | | | | | | | | | 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
* Mass indentation cleanup. Make sure the glade dialogs aren't initiallyGlynn Foster2003-03-10
| | | | | | | | | | | | 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.
* Don't do a g_assert_not_reached () if we don't have any dialog types.Glynn Foster2003-01-29
| | | | | | | 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.
* Don't display the translators tab unless there is stuff to show.Glynn Foster2003-01-28
| | | | | | | | | | | | | | | | | | | | | 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.
* Print out warning when we have no arguments to the commandline.Glynn Foster2003-01-22
| | | | | | | | | 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
* Attempt to make things work after 2 bottles of wine last night. HarmlessGlynn Foster2003-01-19
| | | | | | | | | | | | | | | | | 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.
* Add --editable option to --text-info, and return edited textbuffer contents ↵Mike Newman2003-01-19
| | | | on dialog close.
* Only some examples and some screenshots and we're mostly done for a firstGlynn Foster2003-01-18
| | | | | | | | | | | | | | 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.
* Some new window icons.Glynn Foster2003-01-18
| | | | | | | | | | | | | | | | | | | | | 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.
* Add an about box. Still need to add an icon, and implement the callbacksGlynn Foster2003-01-14
| | | | | | | | | 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.
* Add support to separate the selected rows output with a character with '/'Glynn Foster2003-01-14
| | | | | | | | 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.
* Re-structure the code to pass in the ZenityData structure into theGlynn Foster2003-01-13
| | | | | | | | | | | | | | 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.
* Localise output of --calendar dialog by default (using nl_langinfo),Mike Newman2003-01-13
| | | | | and provide a --date-format option to provide a strftime-style format for the returned date.
* Improve error handling. Make --list actually return something useful,Glynn Foster2003-01-13
| | | | | | | | | | | 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.
* Fix up the date string, although I guess this should be localized.Glynn Foster2003-01-09
| | | | | | | | | | | | | | 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.
* Fix up the response signal handlers. Use returns of 0 for 'Ok' andGlynn Foster2003-01-07
| | | | | | | | | | | | | | | | | 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.
* Fix up the error returns.Glynn Foster2003-01-07
| | | | | | | | 2003-01-07 Glynn Foster <glynn.foster@sun.com> * src/main.c: Fix up the error returns. * TODO: Update accordingly.
* Improve error handling... a lot.Glynn Foster2003-01-07
| | | | | | | | 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.
* Finish off commandline parsing for the list dialog. Wow, this is almostGlynn Foster2003-01-06
| | | | | | | | | | 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
bgstack15