summaryrefslogtreecommitdiff
path: root/src/main.c
Commit message (Collapse)AuthorAge
* 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
* I love featuritis. Instead of fixing stuff so it actually works, I addGlynn Foster2003-01-06
| | | | | | | | | 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.
* Add functions to init and free the parsing options. Still not terriblyGlynn Foster2003-01-06
| | | | | | | | | | | | 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.
* Initial revisionGlynn Foster2003-01-03
bgstack15