summaryrefslogtreecommitdiff
path: root/src/progress.c
Commit message (Collapse)AuthorAge
* Fix uninitialized progress_bar errorArx Cruz2015-05-29
|
* Merge branch 'jjardon/no_deprecated'Arx Cruz2015-04-21
|\ | | | | | | | | Conflicts: src/msg.c
| * Do not use an icon for Cancel/OK buttonsJavier Jardón2015-03-22
| | | | | | | | | | GTK+ documentation recommends to not use an icons, but use "_OK"/"_Cancel" labels instead
* | ADD gchar **extra_label TO struct ZenityDataGama Anderson2015-04-21
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Bug #700249 - Progress dialog does not wrapArx Cruz2014-10-22
|
* Fixing g_timeout_add callsArx Cruz2014-10-21
|
* Fixing remain g_timeout_addArx Cruz2014-10-21
| | | | Finish switch g_timeout_add for g_timeout_add_seconds
* Added time-remaining support to progress barsScott Pakin2014-10-21
| | | | | | Introduced a --time-remaining command-line option that uses the time and percent complete to extrapolate the time remaining until progress reaches 100%.
* added attach option for transient windowWeitian Leung2013-08-31
|
* Bug #653468. Fixed by Kurt Miller <kurt@intricatesoftware.com>.Arx Cruz2013-06-04
| | | | Fix the broken auto-close option in progress and list dialogs.
* But #674881 - Timeout option overriding normal exit codeArx Cruz2013-03-05
|
* util: Add an option to request dialogs being modalFlorian Müllner2012-09-25
| | | | | | | | | 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
* Fix various compiler warnings (two serious)Colin Walters2012-08-12
| | | | Missing sentinels can cause crashes. The others are just style.
* Wrong unref objectArx Cruz2012-04-19
|
* Fix for Bug 567663. Now the --pulsate option works properlyArx Cruz2012-04-19
|
* Fix for bug #611297 Now Zenity have --ok-label and --cancel-label in all ↵Arx Cruz2011-07-26
| | | | dialogs. This patch doesn't break old zenity scripts.
* Now if you use --timeout option, the return code will be properly handledArx Cruz2011-06-17
| | | | | The default behavior will be done (ie. user click on ok button) The return code will be 5
* Bug 651948 - zenity list does not return default value when timeout is overArx Cruz2011-06-16
|
* Fix for bug 540560.Arx Cruz2011-01-02
| | | | Patch by Victor Ananjevsky <ananasik at gmail dot com>
* Use g_timeout_add_seconds instead g_timeout_addPhilippe Gauthier2010-05-27
| | | | | | 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
* Bug 593926 - --progress needs a --nocancel optionHuzaifa Sidhpurwala2010-02-23
|
* [progress] Improve code to update of percentageLucas Rocha2009-08-10
|
* Bug 556198 – Support toggling pulsate in progressbarLucas Rocha2009-08-10
|
* [progress] Factor out function to control pulsateLucas Rocha2009-08-10
|
* [progress] coding style fixesLucas Rocha2009-08-10
|
* [progress] Remove duplicate code when returningLucas Rocha2009-08-08
|
* [progress] Cosmetic fix in code commentLucas Rocha2009-08-08
|
* Bug 578393 – convert from libglade to GtkBuilderFelix Riemann2009-07-20
|
* added timeout option to all dialogs (Fixes bug #160654). Based on patchLucas Rocha2007-08-13
| | | | | | | | | 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
* general cleanups for build warnings (Fixes bug #416196). Patch fromLucas Rocha2007-05-14
| | | | | | | | | | | | 2007-05-14 Lucas Rocha <lucasr@gnome.org> * src/progress.c (zenity_progress_handle_stdin), src/option.c (zenity_create_context), src/about.c, src/notification.c (zenity_notification_handle_stdin): general cleanups for build warnings (Fixes bug #416196). Patch from Kjartan Maraas <kmaraas@gnome.org>. svn path=/trunk/; revision=1208
* add "auto-kill" option to progress dialog. Now the user can choose whetherLucas Rocha2006-12-02
| | | | | | | | | 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>.
* make it possible to add new lines and markup in the dialog text.Lucas Rocha2005-11-15
| | | | | | | | 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.
* general code cleanups. Contribution from Benoît Dejean.Lucas Rocha2005-07-08
| | | | | | | | | 2005-07-08 Lucas Rocha <lucasr@cvs.gnome.org> * src/about.c, src/calendar.c, src/fileselection.c, src/option.c, src/progress.c, src/text.c, src/tree.c, src/util.c: general code cleanups. Contribution from Benoît Dejean.
* Include cleanups (config.h)Lucas Almeida Rocha2005-07-06
|
* COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,Glynn Foster2005-04-25
| | | | | | | | | | | 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.
* If auto-close, close the dialog when the input stream finds an EOF.Glynn Foster2005-02-07
| | | | | | | 2005-02-07 Glynn Foster <glynn.foster@sun.com> * src/progress.c: If auto-close, close the dialog when the input stream finds an EOF.
* Add missing header. Same ANSIfication. Closes bug #152851.Kjartan Maraas2004-09-17
| | | | | | | | | | 2004-09-17 Kjartan Maraas <kmaraas@gnome.org> * src/progress.c: Add missing header. * src/tree.c: Same * src/util.c: (transient_get_xterm), (transient_get_xterm_toplevel): ANSIfication. Closes bug #152851.
* Add new notification icon. Update for new files. Restructure code a littleGlynn Foster2004-09-13
| | | | | | | | | | | | | | | | | 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.
* src/calendar.c, src/entry.c, src/fileselection.c, Cleanup fixes from PaulGlynn Foster2004-07-19
| | | | | | | | 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.
* Patch from Luke Suchocki to send HUP to parent instead of itself. FixesGlynn Foster2004-06-17
| | | | | | | | 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.
* Add from the 2 Sebastian's, and make email addresses more spam proof.Glynn Foster2004-04-26
| | | | | | | | | | | | | 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.
* Patch from Darren Adams <darrenadams@dsl.pipex.com> to make sure the newGlynn Foster2004-03-19
| | | | | | | | | | | | | | 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.
* *** empty log message ***Mike Newman2003-06-13
|
* Support user-defined return values via env vars, like dialog did.Mike Newman2003-06-07
|
* Fix up some build warnings as reported by Ross Burton and his amazing gccGlynn Foster2003-06-04
| | | | | | | | 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.
* Add --auto-close option to progress dialog. Closes dialog when 100% has been ↵Mike Newman2003-06-03
| | | | reached. Also update docs for new option. Fixes #114125.
* Fix typo in gdialog wrapper. Sensitize OK button in progress when 100% reached.Mike Newman2003-05-24
|
* Patch from Dagmar d'Surreal <dagmar@speakeasy.net> to correct help docsGlynn Foster2003-05-24
| | | | | | | | | | | | | | | 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.
* Make the progress dialog actually work and now uses g_io_channel. Woot!Glynn Foster2003-05-19
| | | | | | | | | | | | 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.
* Finish off the indentation cleanup. Add new '--width' and '--height'Glynn Foster2003-04-13
| | | | | | | | | | | | | 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
bgstack15