this is done to keep the name of the extra buttons
ADD general option "extra-button" with string array as argument
This will upon consecutive calls save the name of buttons in an array of strings
To all MODES, except notification.c and about.c ADD
if (data->extra_label) {
gint i=0;
while(data->extra_label[i]!=NULL){
gtk_dialog_add_button (GTK_DIALOG (dialog), data->extra_label[i], i);
i++;
}
}
This add the extra buttons to the dialog. The response is the number of the button
To all MODES response, except notification.c and about.c ADD
default:
if (response < g_strv_length(zen_data->extra_label))
printf("%s\n",zen_data->extra_label[response]);
This will print the button name to stdout when they are pressed
ADD question option "switch"
This will suppress the standard "ok" and "cancel" button in question. This just wort in combination with --extra-button, otherwise error is raised.
https://bugzilla.gnome.org/show_bug.cgi?id=118016
This will enable users to find a row with a text matching the
middle of the row.
Consider the following list:
Little piggy one
Little piggy two
Little piggy three
As a user I would expect that entering 'th' would focus the last row, because
it's the first one that contains 'th'
As WMs cannot open windows themselves, Mutter uses zenity to open
"Force Quit" dialogs for unresponsive windows; as those are strongly
tied to the corresponding window, it makes sense to make them modal
(in particular when attaching them to their parent).
https://bugzilla.gnome.org/show_bug.cgi?id=684322
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
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-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-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.
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-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-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.