2004-12-20 Glynn Foster <glynn.foster@sun.com>
* src/notification.c: Fix#161539, and try and hide the parent
widget, rather than the tray icon, since it saves space.
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>.
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>
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-10-05 James Henstridge <james@jamesh.id.au>
* src/util.c (zenity_util_pixbuf_new_from_file): g_strdown()
modifies the filename, so use strcasecmp() for the comparison
instead. Since we are comparing against fixed ASCII strings,
this should have no UTF-8 issues.
2004-09-30 James Henstridge <james@jamesh.id.au>
* src/notification.c (set_scaled_pixbuf): function to set a
GtkImage to a scaled pixbuf.
(zenity_notification_handle_stdin): set the image to a
GTK_ICON_SIZE_BUTTON sized image.
(zenity_notification): same here.
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-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 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-08-17 Glynn Foster <glynn.foster@sun.com>
* src/about.c: Add translator comment from Christian Rose,
and fix up strcmp's for untranslated translator-credits.
2004-08-11 Glynn Foster <glynn.foster@sun.com>
* src/about.c: Use 'translator-credits' rather than the
underscore version which makes things easier for the translation
dudes.
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 Glynn Foster <glynn.foster@sun.com>
* src/msg.c: Make sure the text can take markup, so
that people can create nice HIG compliant message
dialogs. Patch from Sebastian Heinlein. Fixes#140748.
2004-07-19 Glynn Foster <glynn.foster@sun.com>
* configure.in, src/Makefile.am: Fix up compilation
using Forte compiler. Based on patch from Ivan Noris.
Fixes#143041.
2004-06-18 Glynn Foster <glynn.foster@sun.com>
* THANKS, src/about.c, src/progress.c: Patch
from Luke Suchocki to send HUP to parent
instead of itself. Fixes#144542.
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-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-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-07 Glynn Foster <glynn.foster@sun.com>
* AUTHORS: Update to add Mike.
* NEWS: Update for new release.
* THANKS, src/about.c: Add lots of people, probably get heaps
of bug reports complaining their name is spelled wrongly - darn
those weird characters.
* configure.in: Release 2.5.90
2004-02-29 Glynn Foster <glynn.foster@sun.com>
* src/about.c, src/util.c, src/util.h: Remove all the
stupid duplicated code to do the help stuff, and instead
do a simple call for 'yelp ghelp:zenity'. -418, +23. Eeek.
Fixes#135607.
2003-12-30 Glynn Foster <glynn.foster@sun.com>
* configure.in: Release 2.5.1, a ridiculous bump
so that we sync with the GNOME desktop releases.
2003-12-30 Jan Arne Petersen <jpetersen@uni-bonn.de>
* src/fileselection.c: (zenity_fileselection),
(zenity_fileselection_dialog_response): Replace
GtkFileSelection with GtkFileChooser.
2003-11-12 Glynn Foster <glynn.foster@sun.com>
* src/gdialog.in: Make sure the gdialog wrapper
handles spaces. Patch from Peter strand
<astrand@lysator.liu.se>
2003-10-28 Glynn Foster <glynn.foster@sun.com>
* src/zenity.glade: Make the dialogs resizable
so that --height/--width works. Reported by
Ingo van Lil <inguin@gmx.de>.
2003-09-12 Glynn Foster <glynn.foster@sun.com>
* src/entry.c, src/zenity.glade: Better patch from
raf@noduck.net to fix the activate on the entry dialog.
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-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-05-24 Glynn Foster <glynn.foster@sun.com>
* help/C/zenity.xml: Patch from Dagmar d'Surreal
<dagmar@speakeasy.net> to correct help docs and
script examples for the change from --dialog-title to
--title.
* THANKS, src/about.c: Add Dagmar.
* src/progress.c: For now, just send a SIGHUP to the
parent process - not entirely sure if this is the best thing
to do right now.
2003-05-19 Glynn Foster <glynn.foster@sun.com>
* src/Makefile.am, src/gdialog: Compatibility wrapper script
from Mike Newman <mikegtn@gnome.org>. Disabled for the present
until I have a chance to review the code.
2003-05-19 Glynn Foster <glynn.foster@sun.com>
* src/progress.c: Make the progress dialog actually work
and now uses g_io_channel. Woot! Need to be able to cancel
the dialog, which currently doesn't work too well.
* TODO: Update.
* help/C/zenity.xml: Update help documentation.
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-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-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-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-02-01 Glynn Foster <glynn.foster@sun.com>
* src/about.c: Okay, I'm a glory hunter. Seperate out the
about dialog entries a little.
* THANKS: Update.
2003-01-29 Glynn Foster <glynn.foster@sun.com>
* README: Update
* configure.in: Remove some bogus configure checks that
we almost certainly don't need.
* src/about.c, data/Makefile.am, data/*.png: Add new pixbuf for
about dialog.
* TODO: Update accordingly
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-24 Glynn Foster <glynn.foster@sun.com>
* src/about.c: Provide correct help URL.
* src/util.h, src/util.c: Add functions from
libgnome/gnome-i18n so that we can correctly find the
apropriate help file.
* xmldocs.make: Install help into $(datadir)/help/$(lang)/
* THANKS: Update from the code I stole from libgnome
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-18 Glynn Foster <glynn.foster@sun.com>
* help/C/figures/zenity-calendar-screenshot.png,
help/C/figures/zenity-entry-screenshot.png,
help/C/figures/zenity-error-screenshot.png,
help/C/figures/zenity-fileselection-screenshot.png,
help/C/figures/zenity-information-screenshot.png,
help/C/figures/zenity-list-screenshot.png,
help/C/figures/zenity-progress-screenshot.png,
help/C/figures/zenity-question-screenshot.png,
help/C/figures/zenity-text-screenshot.png,
help/C/figures/zenity-warning-screenshot.png: Add some
screenshots for the help documentation.
* src/entry.c, src/msg.c: Don't set the text if it's NULL.
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.
2003-01-18 Glynn Foster <glynn.foster@sun.com>
* data/Makefile.am, data/zenity.png, src/about.c: Hooray!
Zenity now has an about window icon. It's very zen too.
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-14 Glynn Foster <glynn.foster@sun.com>
* Makefile.am, src/Makefile.am: Updates to make
distcheck. Wow, this is scarey, a 1.0 release is on the
horizon. Applications like this shouldn't reach 1.0.
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-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.
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-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.
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-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.
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-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 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.
2003-01-06 Glynn Foster <glynn.foster@sun.com>
* src/zenity.glade: Feeling stupid because I can't use
glade. Thanks to jrb and jamesh for showing me the light.
Update default strings to sensible stuff.