summaryrefslogtreecommitdiff
path: root/src/msg.c
AgeCommit message (Collapse)Author
2013-08-31added attach option for transient windowWeitian Leung
2012-09-25msg: Add an option to set a custom dialog iconFlorian Müllner
The predefined dialog icons work well in many cases, but sometimes it makes sense to use a more specific icon, so add an option to specify an icon-name to use instead. https://bugzilla.gnome.org/show_bug.cgi?id=684329
2012-09-25util: Add an option to request dialogs being modalFlorian Müllner
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
2011-07-26Fix for bug #611297 Now Zenity have --ok-label and --cancel-label in all ↵Arx Cruz
dialogs. This patch doesn't break old zenity scripts.
2011-07-06Forgot change one option in gtk_labelArx Cruz
2011-07-06Patch for bug #621907Arx Cruz
This patch add the option --no-markup in the info, warning, error and question dialogs So if the user wants to use & \ ' and other symbols, now he can, and no error will be showed.
2011-06-17Now if you use --timeout option, the return code will be properly handledArx Cruz
The default behavior will be done (ie. user click on ok button) The return code will be 5
2011-06-16Fix the msg forms (question, warning, error) to return 5 when timeoutArx Cruz
2011-06-16Bug 651948 - zenity list does not return default value when timeout is overArx Cruz
2010-05-27Use g_timeout_add_seconds instead g_timeout_addPhilippe Gauthier
The calls to g_timeout_add are replaced with g_timeout_add_seconds to reduce the number or program wake ups. See the GNOME Goal description: http://live.gnome.org/GnomeGoals/UseTimeoutAddSeconds
2009-08-10Bug 572835 – Zenity --question should be yes or noLucas Rocha
2009-07-20Bug 578393 – convert from libglade to GtkBuilderFelix Riemann
2008-04-07fix memory leak on custom labels (Fixes bug #526627). Patch byLucas Rocha
2008-03-30 Lucas Rocha <lucasr@gnome.org> * src/msg.c (zenity_msg_construct_question_dialog): fix memory leak on custom labels (Fixes bug #526627). Patch by kraai@ftbfs.org. svn path=/trunk/; revision=1348
2008-03-29Allow question dialogs to use custom button label text (Fixes bugLucas Rocha
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-08-13added timeout option to all dialogs (Fixes bug #160654). Based on patchLucas Rocha
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
2005-11-14make it possible to add new lines in the in the msg dialog (Fixes bugLucas Rocha
2005-11-13 Lucas Rocha <lucasr@cvs.gnome.org> * src/msg.c: make it possible to add new lines in the in the msg dialog (Fixes bug #320787).
2005-07-06Include cleanups (config.h)Lucas Almeida Rocha
2005-04-25COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,Glynn Foster
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-20Bug fix for #149290, based on contributions from Timo Aaltonen, LucasGlynn Foster
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.
2004-09-13Add new notification icon. Update for new files. Restructure code a littleGlynn Foster
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-19src/calendar.c, src/entry.c, src/fileselection.c, Cleanup fixes from PaulGlynn Foster
2004-07-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: Cleanup fixes from Paul Bolle.
2004-07-18Make sure the text can take markup, so that people can create nice HIGGlynn Foster
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-04-26Add from the 2 Sebastian's, and make email addresses more spam proof.Glynn Foster
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-19Patch from Darren Adams <darrenadams@dsl.pipex.com> to make sure the newGlynn Foster
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.
2003-06-07Support user-defined return values via env vars, like dialog did.Mike Newman
2003-06-04Fix up some build warnings as reported by Ross Burton and his amazing gccGlynn Foster
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-04-13Finish off the indentation cleanup. Add new '--width' and '--height'Glynn Foster
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-03-10Mass indentation cleanup. Make sure the glade dialogs aren't initiallyGlynn Foster
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.
2003-01-18Add some screenshots for the help documentation.Glynn Foster
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-13Re-structure the code to pass in the ZenityData structure into theGlynn Foster
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-07Fix up the response signal handlers. Use returns of 0 for 'Ok' andGlynn Foster
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-06I love featuritis. Instead of fixing stuff so it actually works, I addGlynn Foster
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-03Initial revisionGlynn Foster