Commit Graph

58 Commits

Author SHA1 Message Date
Piotr Drąg
31eef0cd8a Revert "Fixing string freeze"
This reverts commit 8777940f49.

The master branch is not yet affected by the string freeze.
2012-07-21 01:07:48 +02:00
Arx Cruz
8777940f49 Fixing string freeze 2012-07-19 14:44:53 -03:00
Arx Cruz
c17eff5863 Added support to --imagelist on tree. Thanks to Joshua Nathaniel Pritikin <jpritikin@pobox.com> now the first column can have an image. 2012-07-19 14:23:48 -03:00
Alexandre Rostovtsev
d845087870 Do not crash in --forms --add-list without column values
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
2012-05-23 18:47:34 -03:00
Arx Cruz
82d09a41f2 Added support to lists on zenity --forms 2011-12-21 10:22:34 -02:00
Arx Cruz
de35254822 Revert "Initial support for list/tree on --forms option Added zenity --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 ed825cf92b.
2011-10-13 15:21:32 -03:00
Arx Cruz
ed825cf92b Initial support for list/tree on --forms option Added zenity --add-list and --list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns 2011-10-13 13:44:03 -03:00
Arx Cruz
6768a40e99 Fix for bug #611297 Now Zenity have --ok-label and --cancel-label in all dialogs. This patch doesn't break old zenity scripts. 2011-07-26 14:02:45 -03:00
Arx Cruz
1d339e29a7 Enable html support in --text-info option. This fix bug #598655, thanks for 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
2011-07-19 14:39:05 -03:00
Arx Cruz
d8954d9222 Patch for bug #621907
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-07-06 14:58:49 -03:00
Arx Cruz
5872558fee This change add a new functionality to text-info:
* 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.
2011-06-28 17:18:32 -03:00
Luca Ferretti
40cae89ace Revert mistakely pushed string change 2011-03-17 12:56:28 +01:00
Luca Ferretti
dc0c483b91 Use proper case in forms dialog option values 2011-03-17 12:02:20 +01:00
Arx Cruz
9c32783a14 Adding missed files and code for --forms option. 2011-01-17 12:20:21 -02:00
muzuiget
e5467650a6 Add font and no wrap mode support in text dialog 2011-01-04 11:29:49 -02:00
Arx Cruz
079254bb48 Add libnotify as optional in zenity instalation 2010-11-09 12:28:58 -02:00
Arx Cruz
3ae7f89228 Change cancel button messages to be capitalized 2010-07-22 19:51:15 -03:00
Arx Cruz
10d0380220 Add new password dialog 2010-07-12 11:08:26 -03:00
Berislav Kovacki
4ccc7f6fac Bug 540169 - Zenity should offer color selection dialog 2010-02-23 18:25:21 +00:00
Huzaifa Sidhpurwala
3c17a5a887 Bug 593926 - --progress needs a --nocancel option 2010-02-23 18:07:08 +00:00
Lucas Rocha
3b4f73ce46 [options] Use correct type in hide_header variable 2010-02-23 17:53:38 +00:00
Bryce Harrington
8e190dbb1f Bug 552971 - Add a hide-header option to list dialog 2009-08-10 04:10:53 +01:00
Lucas Rocha
82f63f94d5 [option] Free file filter list on exit 2009-08-10 03:44:00 +01:00
Lucas Rocha
bf53ffc6f2 [option] Fix type of filters variable 2009-08-10 03:40:59 +01:00
Matt Keenan
4bba7c63f8 Bug 549404 - --help-entry for hide-text incorrect 2009-08-10 03:36:33 +01:00
Olivier Blin
62a1292d1e Bug 579999 – zenity sets a huge but finite timeout
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)
2009-08-08 10:47:55 +01:00
Lucas Rocha
c6da35807b translator comment for file-filter option string (Fixes bug #547202).
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
2009-01-09 00:17:40 +00:00
Lucas Rocha
8cda6025f0 Add support for file filter in file selection dialog through the new
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
2008-04-21 20:47:38 +00:00
Lucas Rocha
2141cb9184 Allow question dialogs to use custom button label text (Fixes bug
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
2008-03-29 22:13:50 +00:00
Lucas Rocha
69390b9e43 added arg_description for --timeout option (Fixes bug #516876). Patch from
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
2008-03-17 19:28:49 +00:00
Lucas Rocha
67baada430 added comment on a string in order clarify its meaning for translators
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
2008-03-17 19:16:31 +00:00
Lucas Rocha
8b16d4d412 added timeout option to all dialogs (Fixes bug #160654). Based on patch
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 20:36:29 +00:00
Lucas Rocha
adee9db566 general cleanups for build warnings (Fixes bug #416196). Patch from
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
2007-05-14 21:26:08 +00:00
Lucas Rocha
7a58e9e4c7 complete list dialog options with respective arguments (Fixes bug
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>.
2006-12-04 20:35:48 +00:00
Lucas Rocha
09c4a49800 add "auto-kill" option to progress dialog. Now the user can choose whether
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>.
2006-12-02 10:54:45 +00:00
Lucas Rocha
07618f9daa add optional dropdown menu to entry dialog (Fixed bug #311038). Patch from
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>.
2006-05-11 01:31:35 +00:00
Lucas Rocha
6645316bc9 add --confirm-overwrite to file selection dialog to pop a confirmation
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.
2006-03-23 20:08:17 +00:00
Lucas Rocha
17989a09c1 add G_OPTION_FLAG_NOALIAS to separator option for list dialog. Patch from
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>.
2006-03-07 19:04:04 +00:00
Lucas Rocha
4ac6730868 add --hide-value to scale dialog.
2005-12-15  Lucas Rocha  <lucasr@gnome.org>

        * src/option.c, src/scale.c, src/zenity.h: add
        --hide-value to scale dialog.
2005-12-15 05:40:15 +00:00
Lucas Rocha
285cb79baf new scale dialog for selecting a value from a range (Fixes #322399).
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).
2005-12-13 04:18:58 +00:00
Lucas Rocha
0086a9363f fixed bug #317033.
2005-09-24  Lucas Rocha  <lucasr@cvs.gnome.org>

        * src/option.c: fixed bug #317033.
2005-09-24 15:04:02 +00:00
Lucas Rocha
beffc3f8a9 dependency on glib >= 2.7.3 Add G_OPTION_FLAG_NOALIAS flag on options that
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.
2005-07-13 03:28:15 +00:00
Lucas Rocha
68ab19d2c4 activate option help translations in GOption.
2005-07-12  Lucas Rocha  <lucasr@cvs.gnome.org>

	* src/option.c: activate option help translations
	in GOption.
2005-07-12 13:46:50 +00:00
Lucas Rocha
21f7bc6a54 general code cleanups. Contribution from Benoît Dejean.
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.
2005-07-08 23:21:34 +00:00
Lucas Rocha
d6f1d76768 marks static many functions and global variables. Contribution from
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.
2005-07-08 13:39:27 +00:00
Lucas Almeida Rocha
4c328078b6 Include cleanups (config.h) 2005-07-06 20:13:11 +00:00
Lucas Almeida Rocha
8ba040f33b New --hide-column option. 2005-07-01 21:28:36 +00:00
Lucas Almeida Rocha
9c792cb86a Changed list dialog Selection behavior 2005-06-27 03:13:37 +00:00
Glynn Foster
6abd93050f COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,
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-25 03:20:45 +00:00
Glynn Foster
403c8104ae Clean up the code a little bit.
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.
2005-04-20 03:00:57 +00:00