Commit Graph

210 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
ba29edd134 GNOME Goal: Remove deprecated GLib symbols (Fixes bug #560452). Patch from
2009-01-09  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c:
	GNOME Goal: Remove deprecated GLib symbols (Fixes bug #560452).
	Patch from Frederic Peters <fpeters@0d.be>.

svn path=/trunk/; revision=1463
2009-01-09 00:14:01 +00:00
Lucas Rocha
bd9e29d33a GNOME Goal: Clean up GLib and GTK+ includes (Fixes bug #563855). Patch
2009-01-09  Lucas Rocha  <lucasr@gnome.org>

	* src/main.c:
	* src/option.h:
	GNOME Goal: Clean up GLib and GTK+ includes (Fixes bug #563855).
	Patch from Pedro Fragoso  <ember@ubuntu.com>.

svn path=/trunk/; revision=1462
2009-01-09 00:10:30 +00:00
Lucas Rocha
ec48400510 correctly handle --filename option on file selection mode (Fixes bug
2009-01-09  Lucas Rocha  <lucasr@gnome.org>

	* src/fileselection.c (zenity_fileselection): correctly handle
	--filename option on file selection mode (Fixes bug #564552).
	Patch from Gilles Detillieux.

svn path=/trunk/; revision=1461
2009-01-09 00:08:01 +00:00
Lucas Rocha
92eda5b9ce set all dialogs in glade file as resizable in order to have them
2008-05-31  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: set all dialogs in glade file as resizable in
	order to have them respecting the --width and --height command-line
	options (Fixes bug #529452).

svn path=/trunk/; revision=1380
2008-05-31 13:52:18 +00:00
Lucas Rocha
954fd84362 release 2.23.1
2008-04-21  Lucas Rocha  <lucasr@gnome.org>

	* NEWS: release 2.23.1

svn path=/trunk/; revision=1364
2008-04-21 22:14:32 +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
a740e32652 use g_value_dup_string when applicable (Fixes bug #527258). Patch from
2008-04-10  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_dialog_get_selected,
	zenity_tree_dialog_toggle_get_selected): use g_value_dup_string when
	applicable (Fixes bug #527258). Patch from kraai@ftbfs.org.

svn path=/trunk/; revision=1352
2008-04-10 09:57:14 +00:00
Lucas Rocha
eeb43bf65b fix memory leak on custom labels (Fixes bug #526627). Patch by
2008-03-30  Lucas Rocha  <lucasr@gnome.org>

	* src/msg.c (zenity_msg_construct_question_dialog): fix memory leak on
	custom labels (Fixes bug #526627). Patch by kraai@ftbfs.org.

svn path=/trunk/; revision=1348
2008-04-07 19:06:21 +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
82358456e0 set value range before setting value in order to correctly set initial
2007-03-17  Lucas Rocha  <lucasr@gnome.org>

	* src/scale.c (zenity_scale): set value range before setting value 
	in order to correctly set initial state (Fixes bug #521574).

svn path=/trunk/; revision=1337
2008-03-17 19:23:03 +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
ae3e8d1496 fix critical warning when using checkbox and radiobox in list dialog
2007-08-13  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c: fix critical warning when using checkbox and radiobox in
	list dialog (Fixes bug #453713).

svn path=/trunk/; revision=1230
2007-08-13 20:16:37 +00:00
Lucas Rocha
b2459f3b6e fix broken handling of input from pipes in list dialog (Fixes bug
2007-05-27  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c: fix broken handling of input from pipes in list 
	dialog (Fixes bug #343684). 

svn path=/trunk/; revision=1221
2007-05-27 21:20:39 +00:00
Lucas Rocha
5868adac75 correctly handle UTF-8 input text in the text info dialog (Fixes bug
2007-05-27  Lucas Rocha  <lucasr@gnome.org>

	* src/text.c: correctly handle UTF-8 input text in the text info
	dialog (Fixes bug #407275).

svn path=/trunk/; revision=1220
2007-05-27 20:35:32 +00:00
Lucas Rocha
b73e72bcfe initialize GTK+ before parsing command line options to better handle
2007-05-27  Lucas Rocha  <lucasr@gnome.org>

	* src/main.c: initialize GTK+ before parsing command line options to
	better handle errors on display setting (Fixes bug #410055).

svn path=/trunk/; revision=1217
2007-05-27 20:09:27 +00:00
Lucas Rocha
b9cbcc8d0b fix seg fault when outputing files with special printf format strings
2007-05-15  Lucas Rocha  <lucasr@gnome.org>

	* src/text.c (zenity_text_dialog_response): fix seg fault when
	outputing files with special printf format strings (Fixes
	bug #405006). Patch from Mariano Suárez-Alvarez.

svn path=/trunk/; revision=1212
2007-05-14 22:13:59 +00:00
Lucas Rocha
a705262d81 fix index handling for --print-column (Fixes bug #420396).
2007-05-15  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_dialog_toggle_get_selected): fix index
	handling for --print-column (Fixes bug #420396).

svn path=/trunk/; revision=1211
2007-05-14 22:07:13 +00:00
Lucas Rocha
f297dd91bd double-click on day results in dialog response (Fixes bug #395152). Patch
2007-05-15  Lucas Rocha  <lucasr@gnome.org>

	* src/calendar.c (zenity_calendar, zenity_calendar_double_click):
	double-click on day results in dialog response (Fixes bug #395152).
	Patch from Tom Tromey <tromey@redhat.com>.

svn path=/trunk/; revision=1209
2007-05-14 21:38:47 +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
72e5594825 make dialog text selectable on message dialogs (error, warning, info, and
2006-12-04  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: make dialog text selectable on message dialogs
	(error, warning, info, and question) (Fixes bug #352910). Patch
	from Greg Hudson <ghudson@mit.edu>.
2006-12-04 20:22:54 +00:00
Lucas Rocha
784eada1b4 merged identic i18n strings (Fixes bug #334361).
2006-12-03  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: merged identic i18n strings (Fixes bug #334361).
2006-12-03 16:48:39 +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
4d9c0448f5 don't show cancel button on warning dialog (Fixes bug #324100). Patch from
2006-12-02  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: don't show cancel button on warning dialog (Fixes
	bug #324100). Patch from Claudio Saavedra
	<csaavedra@alumnos.utalca.cl>
2006-12-02 10:41:21 +00:00
Lucas Rocha
94e6ab1132 Release 2.15.91 Update.
2006-07-28  Lucas Rocha  <lucasr@gnome.org>

	* configure.in: Release 2.15.91
	* NEWS: Update.
2006-08-09 00:55:59 +00:00
Lucas Rocha
d373b3f3ce src/notification.c (-set_scaled_pixbuf, +zenity_notification_icon_update,
2006-07-27  Lucas Rocha  <lucasr@gnome.org>

	* src/notification.c (-set_scaled_pixbuf,
	+zenity_notification_icon_update,
	-zenity_notification_icon_press_callback,
	+zenity_notification_icon_size_changed_cb,
	-zenity_notification_icon_expose_callback,
	-zenity_notification_icon_destroy_callback,
	+zenity_notification_icon_activate_cb,
	zenity_notification_handle_stdin, zenity_notification),
	src/util.[ch] (+zenity_util_stock_from_filename,
	zenity_util_pixbuf_new_from_file), Makefile.am, configure.in:

	Migration to gtk_status_icon (Fixes bug #341451). Patch from
	Christian Persch <chpe@gnome.org>.

	* src/eggtrayicon.[ch]: removed.
2006-07-28 21:25:11 +00:00
Lucas Rocha
e46814b46a correctly stdin input for text info dialog (Fixes bug #336736).
2006-07-27  Lucas Rocha  <lucasr@gnome.org>

	* src/text.c (zenity_text_handle_stdin): correctly stdin input for
	text info dialog (Fixes bug #336736).
2006-07-28 04:18:58 +00:00
Lucas Rocha
80d39c09c1 entry activation makes dialog return OK (Fixes bug #347340).
2006-07-27  Lucas Rocha  <lucasr@gnome.org>

	* src/entry.c (zenity_entry): entry activation makes dialog
	return OK (Fixes bug #347340).
2006-07-27 03:29:44 +00:00
Lucas Rocha
216ee62fe1 fix small build warnings on 64-bit architectures (Fixes bug #344125). fix
2006-07-26  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_fill_entries_from_stdin, zenity_tree): fix
	small build warnings on 64-bit architectures (Fixes bug #344125).
	* src/zenity.h: fix small build warning.
2006-07-26 23:17:04 +00:00
Francisco Javier F. Serrador
5968740b29 Replaced old FSF postal address with current one.
2006-06-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* src/about.c: Replaced old FSF postal address with current one.
2006-06-10 20:16:35 +00:00
Lucas Rocha
1bf8562a2e about dialog update.
2006-05-19  Lucas Rocha  <lucasr@gnome.org>

	* src/about.c (zenity_about): about dialog update.
2006-05-19 20:00:29 +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
59b5bad794 move to automake 1.9 and several cleanups (Fixes bug #341056). Patch from
2006-05-10  Lucas Rocha  <lucasr@gnome.org>

	* .cvsignore, Makefile.am, autogen.sh, configure.in,
	data/Makefile.am, po/.cvsignore, src/Makefile.am: move to
	automake 1.9 and several cleanups (Fixes bug #341056).
	Patch from Christian Persch <chpe@gnome.org>.
2006-05-10 03:37:14 +00:00
Lucas Rocha
e97b6eeaeb don't ignore return value from g_renew() (Fixes bug #338038). Patch from
2006-04-16  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_extract_column_indexes):
	don't ignore return value from g_renew() (Fixes
	bug #338038). Patch from Behdad Esfahbod
	<gnome@behdad.org>.
2006-04-17 04:11:15 +00:00
Lucas Rocha
a8363ee219 quit zenity on dialog response (Fixes bug #336505).
2006-03-31  Lucas Rocha  <lucasr@gnome.org>

	* src/about.c (zenity_about_dialog_response): quit zenity
	on dialog response (Fixes bug #336505).
2006-03-31 04:20:47 +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
e919741e64 Implement the "message" command on notification icon with libnotify
2006-03-22  Lucas Rocha  <lucasr@gnome.org>

	Implement the "message" command on notification icon
	with libnotify bubbles. Patch from Davyd Madeley
	<davyd@madeley.id.au>.

	* configure.in: add libnotify checking.
	* src/notification.c (zenity_notification_handle_stdin,
	zenity_notification): initialize libnotify and implement
	"message" command.
2006-03-23 03:43:23 +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
7486a38445 use GtkAboutDialog instead of custom dialog (Fixes bug #309405). remove
2005-12-18  Lucas Rocha  <lucasr@gnome.org>

        * src/about.c: use GtkAboutDialog instead of custom
        dialog (Fixes bug #309405).
        * src/zenity.glade: remove zenity_about_dialog.
        * configure.in: zenity now depends on GTK+ >= 2.6.x
        because now it uses GtkAboutDialog.
2005-12-18 03:19:40 +00:00
Lucas Rocha
906b3397b2 make all dialogs HIG compliant by fixing spaces and removing separator
2005-12-16  Lucas Rocha  <lucasr@gnome.org>

        * src/zenity.glade: make all dialogs HIG compliant
        by fixing spaces and removing separator (Fixes bug
        #324211). Patch by Christian Persch <chpe@gnome.org>.
2005-12-17 02:22:51 +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
b657c347e8 make the hscale discontinuous.
2005-12-13  Lucas Rocha  <lucasr@gnome.org>

        * src/zenity.glade: make the hscale discontinuous.
2005-12-13 15:12:38 +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
5547de9384 make it possible to add new lines and markup in the dialog text.
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.
2005-11-15 04:14:35 +00:00
Lucas Rocha
6a7b36229c Release 2.13.2 Update.
2005-11-13  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.13.2
        * NEWS, THANKS, src/about.c: Update.
2005-11-14 05:05:33 +00:00
Lucas Rocha
c8b9b79813 make it possible to add new lines in the in the msg dialog (Fixes bug
2005-11-13  Lucas Rocha  <lucasr@cvs.gnome.org>

        * src/msg.c: make it possible to add new lines in the
        in the msg dialog (Fixes bug #320787).
2005-11-14 04:25:58 +00:00
Lucas Rocha
5483bdb680 Release 2.13.1 Update.
2005-10-24  Lucas Rocha  <lucasr@cvs.gnome.org>

	* configure.in: Release 2.13.1
	* NEWS, THANKS, src/about.c: Update.
2005-10-24 12:51:36 +00:00