You can now define title and summary on notifications. The first line
of the provided text will be considered the title and the following
lines are the summary.
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)
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
2008-05-31 Lucas Rocha <lucasr@gnome.org>
* src/zenity.glade: set all dialogs in glade file as resizable in
order to have them respecting the --width and --height command-line
options (Fixes bug #529452).
svn path=/trunk/; revision=1380
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-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-03-17 Lucas Rocha <lucasr@gnome.org>
* src/scale.c (zenity_scale): set value range before setting value
in order to correctly set initial state (Fixes bug #521574).
svn path=/trunk/; revision=1337
2007-03-17 Lucas Rocha <lucasr@gnome.org>
* src/option.c: added comment on a string in order clarify its
meaning for translators (Fixes bug #520847).
svn path=/trunk/; revision=1335
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-08-13 Lucas Rocha <lucasr@gnome.org>
* src/tree.c: fix critical warning when using checkbox and radiobox in
list dialog (Fixes bug #453713).
svn path=/trunk/; revision=1230
2007-05-27 Lucas Rocha <lucasr@gnome.org>
* src/tree.c: fix broken handling of input from pipes in list
dialog (Fixes bug #343684).
svn path=/trunk/; revision=1221
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-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
2007-05-15 Lucas Rocha <lucasr@gnome.org>
* src/calendar.c (zenity_calendar, zenity_calendar_double_click):
double-click on day results in dialog response (Fixes bug #395152).
Patch from Tom Tromey <tromey@redhat.com>.
svn path=/trunk/; revision=1209
2006-12-04 Lucas Rocha <lucasr@gnome.org>
* src/zenity.glade: make dialog text selectable on message dialogs
(error, warning, info, and question) (Fixes bug #352910). Patch
from Greg Hudson <ghudson@mit.edu>.
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-05-10 Lucas Rocha <lucasr@gnome.org>
* .cvsignore, Makefile.am, autogen.sh, configure.in,
data/Makefile.am, po/.cvsignore, src/Makefile.am: move to
automake 1.9 and several cleanups (Fixes bug #341056).
Patch from Christian Persch <chpe@gnome.org>.
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.
2006-03-07 Lucas Rocha <lucasr@gnome.org>
* src/option.c: add G_OPTION_FLAG_NOALIAS to separator
option for list dialog. Patch from Glynn
Foster <glynn.foster@sun.com>.
2005-12-18 Lucas Rocha <lucasr@gnome.org>
* src/about.c: use GtkAboutDialog instead of custom
dialog (Fixes bug #309405).
* src/zenity.glade: remove zenity_about_dialog.
* configure.in: zenity now depends on GTK+ >= 2.6.x
because now it uses GtkAboutDialog.
2005-12-16 Lucas Rocha <lucasr@gnome.org>
* src/zenity.glade: make all dialogs HIG compliant
by fixing spaces and removing separator (Fixes bug
#324211). Patch by Christian Persch <chpe@gnome.org>.
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-11-15 Lucas Rocha <lucasr@cvs.gnome.org>
* src/calendar.c, src/progress.c, src/tree.c: make
it possible to add new lines and markup in the dialog
text.
2005-10-18 Lucas Rocha <lucasr@cvs.gnome.org>
* src/zenity.glade: by default, focus is on tree
view in list dialogs. Fixes#317263. Patch from
Aleksey Kliger <akliger@gmail.com>
2005-07-12 Lucas Rocha <lucasr@cvs.gnome.org>
* configure.in: dependency on glib >= 2.7.3
* src/option.c: Add G_OPTION_FLAG_NOALIAS flag
on options that are present in more than on
group.
2005-07-08 Lucas Rocha <lucasr@cvs.gnome.org>
* src/about.c, src/option.c, src/fileselection.c:
marks static many functions and global variables.
Contribution from Benoît Dejean.
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.
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.
2005-02-16 Glynn Foster <glynn.foster@sun.com>
* src/fileselection.c, THANKS, src/about.c: Fix bug
#167577, that leaks a seperator. Patch from
Paolo Borelli <pborelli@katamail.com>
2005-02-07 Glynn Foster <glynn.foster@sun.com>
* help/C/zenity.xml: Update docs to add the new goption
help stuff.
* src/option.c: Update to be in line with the documentation
descriptions.
2005-01-17 Glynn Foster <glynn.foster@sun.com>
* src/tree.c: Patch from Ed Catmur to fix the list dialog
on stdin. Fixes#164152.
* src/about.c, THANKS: Update.
2005-01-07 Glynn Foster <glynn.foster@sun.com>
* src/option.c, src/calendar.c: Really fix#162297, and
preload the current dates if they aren't already set.
2005-01-07 Glynn Foster <glynn.foster@sun.com>
* src/option.c: Pre-load the year, because gtk_calendar* is
dumb and you need to select the year to change the month. Fixes
#162297.
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