summaryrefslogtreecommitdiff
path: root/src/option.c
Commit message (Collapse)AuthorAge
* Allow to specify notification's hintsNuno Araujo2013-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Desktop Notifications Specification [1] specifies that hints can be used to provide extra data to a notification server. A new command line option --hint allows to add a hint to the notification to display. This option can be used multiple times, one for each hint to add. --hint option format is name:value. The new 'hints' command allow to specify hints in 'listen' mode. Same format that in the command line option is used. Several hints can be passed by separating them by '\n'. Hints of value type '(iiibiiay)' are not supported. This value type is used to pass a raw data image as a hint value. This new change is useful for implementing the NotificationSource [2] GNOME Goal. A application using zenity and having a desktop file, can now specify that it is a notification emitter and it's notifications can be filtered in the new Notifications GNOME control panel pane. [1] http://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html#hints [2] https://live.gnome.org/GnomeGoals/NotificationSource https://bugzilla.gnome.org/show_bug.cgi?id=693751
* Revert "Don't break the string freeze"Matthias Clasen2012-09-25
| | | | | | | This reverts commit 156a99e304247504a486f0911596ab5765ad1add. I got the second string freeze approval after all, so lets add the new strings back.
* Don't break the string freezeMatthias Clasen2012-09-25
| | | | | I'm out of time waiting for a second string freeze break approval, so the strings will be untranslated for now.
* msg: Add an option to set a custom dialog iconFlorian Müllner2012-09-25
| | | | | | | | 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
* 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
* Revert "Fixing string freeze"Piotr Drąg2012-07-21
| | | | | | This reverts commit 8777940f499a4a37fdb7c118de50f39cfa62f34b. The master branch is not yet affected by the string freeze.
* Fixing string freezeArx Cruz2012-07-19
|
* Added support to --imagelist on tree. Thanks to Joshua Nathaniel Pritikin ↵Arx Cruz2012-07-19
| | | | <jpritikin@pobox.com> now the first column can have an image.
* Do not crash in --forms --add-list without column valuesAlexandre Rostovtsev2012-05-23
| | | | | | | Be a bit more user friendly, and instead of crashing, add a default column name if the user forgot to use --column-values with a --forms list. https://bugzilla.gnome.org/show_bug.cgi?id=676406
* Added support to lists on zenity --formsArx Cruz2011-12-21
|
* Revert "Initial support for list/tree on --forms option Added zenity ↵Arx Cruz2011-10-13
| | | | | | --add-list and --list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns" This reverts commit ed825cf92b9d786b9b13361db4a0e696af347a59.
* Initial support for list/tree on --forms option Added zenity --add-list and ↵Arx Cruz2011-10-13
| | | | --list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns
* 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.
* Enable html support in --text-info option. This fix bug #598655, thanks for ↵Arx Cruz2011-07-19
| | | | | | | | | | | the work from Francis Meyvis francis.meyvis at gmail dot com. Two new options in --text-info: * --html - enable HTML support. * --url - load an url If you need to load a local html file, you can use --filename=patch/to/html. Examples: * zenity --text-info --html --filename=file.html * zenity --text-info --html --url=www.gnome.org Zenity will add http:// if isn't declared in --url
* Patch for bug #621907Arx Cruz2011-07-06
| | | | | | 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.
* This change add a new functionality to text-info:Arx Cruz2011-06-28
| | | | | | | | | * Added a cancel button returning 1 if clicked * Renamed the Close button to Ok, still returning 0 if clicked * Added --ok-label=TEXT option to change the Ok button label * Added --cancel-label=TEXT option to change the Cancel button label * Added --checkbox=TEXT option to show an "I Agree and accept the terms" checkbox If --checkbox is enabled, the Ok button will be disabled if the checkbox isn't checked.
* Revert mistakely pushed string changeLuca Ferretti2011-03-17
|
* Use proper case in forms dialog option valuesLuca Ferretti2011-03-17
|
* Adding missed files and code for --forms option.Arx Cruz2011-01-17
|
* Add font and no wrap mode support in text dialogmuzuiget2011-01-04
|
* Add libnotify as optional in zenity instalationArx Cruz2010-11-09
|
* Change cancel button messages to be capitalizedArx Cruz2010-07-22
|
* Add new password dialogArx Cruz2010-07-12
|
* Bug 540169 - Zenity should offer color selection dialogBerislav Kovacki2010-02-23
|
* Bug 593926 - --progress needs a --nocancel optionHuzaifa Sidhpurwala2010-02-23
|
* [options] Use correct type in hide_header variableLucas Rocha2010-02-23
|
* Bug 552971 - Add a hide-header option to list dialogBryce Harrington2009-08-10
|
* [option] Free file filter list on exitLucas Rocha2009-08-10
|
* [option] Fix type of filters variableLucas Rocha2009-08-10
|
* Bug 549404 - --help-entry for hide-text incorrectMatt Keenan2009-08-10
|
* Bug 579999 – zenity sets a huge but finite timeoutOlivier Blin2009-08-08
| | | | | | 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)
* translator comment for file-filter option string (Fixes bug #547202).Lucas Rocha2009-01-09
| | | | | | | | | 2009-01-09 Lucas Rocha <lucasr@gnome.org> * src/option.c: translator comment for file-filter option string (Fixes bug #547202). Patch from Frederic Peters <fpeters@0d.be>. svn path=/trunk/; revision=1464
* Add support for file filter in file selection dialog through the newLucas Rocha2008-04-21
| | | | | | | | | | | | | | | 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
* Allow question dialogs to use custom button label text (Fixes bugLucas Rocha2008-03-29
| | | | | | | | | | | | | | | | | | | 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
* added arg_description for --timeout option (Fixes bug #516876). Patch fromLucas Rocha2008-03-17
| | | | | | | | | 2008-03-17 Lucas Rocha <lucasr@gnome.org> * src/option.c: added arg_description for --timeout option (Fixes bug #516876). Patch from Luca Ferretti <elle.uca@libero.it>. svn path=/trunk/; revision=1341
* added comment on a string in order clarify its meaning for translatorsLucas Rocha2008-03-17
| | | | | | | | | 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
* 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
* complete list dialog options with respective arguments (Fixes bugLucas Rocha2006-12-04
| | | | | | | 2006-12-04 Lucas Rocha <lucasr@gnome.org> * src/option.c: complete list dialog options with respective arguments (Fixes bug #353320). Patch from Glynn Foster <glynn.foster@sun.com>.
* 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>.
* 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>.
* add --confirm-overwrite to file selection dialog to pop a confirmationLucas Rocha2006-03-23
| | | | | | | | 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.
* add G_OPTION_FLAG_NOALIAS to separator option for list dialog. Patch fromLucas Rocha2006-03-07
| | | | | | | | 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>.
* add --hide-value to scale dialog.Lucas Rocha2005-12-15
| | | | | | | 2005-12-15 Lucas Rocha <lucasr@gnome.org> * src/option.c, src/scale.c, src/zenity.h: add --hide-value to scale dialog.
* new scale dialog for selecting a value from a range (Fixes #322399).Lucas Rocha2005-12-13
| | | | | | | | | | 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).
* fixed bug #317033.Lucas Rocha2005-09-24
| | | | | | 2005-09-24 Lucas Rocha <lucasr@cvs.gnome.org> * src/option.c: fixed bug #317033.
* dependency on glib >= 2.7.3 Add G_OPTION_FLAG_NOALIAS flag on options thatLucas Rocha2005-07-13
| | | | | | | | | 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.
* activate option help translations in GOption.Lucas Rocha2005-07-12
| | | | | | | 2005-07-12 Lucas Rocha <lucasr@cvs.gnome.org> * src/option.c: activate option help translations in GOption.
* 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.
* marks static many functions and global variables. Contribution fromLucas Rocha2005-07-08
| | | | | | | | 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.
bgstack15