summaryrefslogtreecommitdiff
path: root/src/entry.c
Commit message (Collapse)AuthorAge
* Fix styleArx Cruz2017-04-07
| | | | | Fixing style in all zenity code, removing useless spaces, empty lines, all code in 80 columns, etc.
* Fixing GLib-CRITICAL messagesArx Cruz2015-10-02
|
* 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
* added attach option for transient windowWeitian Leung2013-08-31
|
* 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 the ComboBoxText construction so the dropmenu works again.Frode Austvik2012-08-21
| | | | | | | This fixes lp#998445 by changing the code to construct a new ComboBoxText instead of a ComboBox, which it was (probably accidentally) changed to do in commit 4421de67. Closes: lp#998445
* 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
|
* Remove deprecated code for GTK+-3.0.Luis Medinas2010-10-21
|
* 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 551116 - Fix default activation in entry dialogAdrian Carpenter2009-08-10
| | | | when using the dialog with drop down menu.
* Bug 567773 – "zenity --entry --text" doesn't interpret line breaksSiegfried-Angel Gevatter Pujals2009-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
* entry activation makes dialog return OK (Fixes bug #347340).Lucas Rocha2006-07-27
| | | | | | | 2006-07-27 Lucas Rocha <lucasr@gnome.org> * src/entry.c (zenity_entry): entry activation makes dialog return OK (Fixes bug #347340).
* add optional dropdown menu to entry dialog (Fixed bug #311038). Patch fromLucas Rocha2006-05-11
| | | | | | | | | 2006-05-10 Lucas Rocha <lucasr@gnome.org> * src/entry.c (zenity_entry_fill_entries, zenity_entry), src/main.c, src/option.c, src/zenity.glade, src/zenity.h: add optional dropdown menu to entry dialog (Fixed bug #311038). Patch from Diego Escalante Urrelo <dieguito@gmail.com>.
* 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.
* Clean up the code a little bit.Glynn Foster2005-04-20
| | | | | | | 2005-04-20 Glynn Foster <glynn.foster@sun.com> * src/entry.c, src/option.c, src/zenity.h: Clean up the code a little bit.
* 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.
* 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.
* Better patch from raf@noduck.net to fix the activate on the entry dialog.Glynn Foster2003-09-12
| | | | | | | 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.
* Hook up the 'activate' signal on the entry dialog. Fixes Debian bugGlynn Foster2003-08-25
| | | | | | | 2003-09-11 Glynn Foster <glynn.foster@sun.com> * src/entry.c: Hook up the 'activate' signal on the entry dialog. Fixes Debian bug #202332.
* s/g_printerr/g_printMike Newman2003-08-25
|
* Support user-defined return values via env vars, like dialog did.Mike Newman2003-06-07
|
* 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
* Mass indentation cleanup. Make sure the glade dialogs aren't initiallyGlynn Foster2003-03-10
| | | | | | | | | | | | 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.
* Don't display the translators tab unless there is stuff to show.Glynn Foster2003-01-28
| | | | | | | | | | | | | | | | | | | | | 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.
* Add some screenshots for the help documentation.Glynn Foster2003-01-18
| | | | | | | | | | | | | | | | | | 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.
* Fix up the response signal handlers. Use returns of 0 for 'Ok' andGlynn Foster2003-01-07
| | | | | | | | | | | | | | | | | 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.
* Initial revisionGlynn Foster2003-01-03
bgstack15