Commit Graph

32 Commits

Author SHA1 Message Date
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
Glynn Foster
6e6eeaf79c Bug fix for #149290, based on contributions from Timo Aaltonen, Lucas
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.
2005-04-20 01:59:42 +00:00
Glynn Foster
717b814028 Update docs to add the new goption help stuff. Update to be in line with
2005-02-07  Glynn Foster  <glynn.foster@sun.com>

	* help/C/zenity.xml: Update docs to add the new goption
	help stuff.
	* src/option.c: Update to be in line with the documentation
	descriptions.
2005-02-06 23:13:16 +00:00
Glynn Foster
a4777781d1 Patch from Chris Lahey for #165456. Updated.
2005-02-01  Glynn Foster  <glynn.foster@sun.com>

	* src/notification.c, src/option.c: Patch from Chris
	Lahey for #165456.
	* src/about.c, THANKS: Updated.
2005-01-31 22:17:38 +00:00
Glynn Foster
516f994409 Really fix #162297, and preload the current dates if they aren't already
2005-01-07  Glynn Foster  <glynn.foster@sun.com>

	* src/option.c, src/calendar.c: Really fix #162297, and
	preload the current dates if they aren't already set.
2005-01-09 20:04:30 +00:00
Glynn Foster
4643fbc3e7 Pre-load the year, because gtk_calendar* is dumb and you need to select
2005-01-07  Glynn Foster  <glynn.foster@sun.com>

	* src/option.c: Pre-load the year, because gtk_calendar* is
	dumb and you need to select the year to change the month. Fixes
	#162297.
2005-01-07 01:55:11 +00:00
Glynn Foster
c52435f748 Fix tyop for #161774, as reported by Christian.
2004-12-21  Glynn Foster  <glynn.foster@sun.com>

	* src/option.c: Fix tyop for #161774, as reported by Christian.
2004-12-20 22:25:29 +00:00
Glynn Foster
6798192ed8 Fix spacing issue.
2004-12-07  Glynn Foster  <glynn.foster@sun.com>

	* src/option.c: Fix spacing issue.
2004-12-07 01:19:45 +00:00
Glynn Foster
f57c93017b Patch from Lucas Rocha <lucasr@im.ufba.br> to use the GOption API for the
2004-12-07  Glynn Foster  <glynn.foster@sun.com>

	Patch from Lucas Rocha <lucasr@im.ufba.br> to use the GOption
	API for the zenity parsing options, with some spacing fixes
	from Glynn.

	* configure.in: zenity now requires glib-2.0 >= 2.5.3 to build
	because now it uses GOption. popt requirement removed.
	* src/Makefile.am: update for new files
	* src/main.c: use GOption API
	* src/option.c, src/option.h: New files to implement the new
	functionality.
	* src/zenity.h: Fix spacing.
2004-12-07 00:55:26 +00:00