Commit Graph

227 Commits

Author SHA1 Message Date
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
Lucas Rocha
f0dfc8a820 [progress] Improve code to update of percentage 2009-08-10 03:22:05 +01:00
Lucas Rocha
a66e4df5d1 Bug 556198 – Support toggling pulsate in progressbar 2009-08-10 03:12:16 +01:00
Lucas Rocha
fa0349545d [progress] Factor out function to control pulsate 2009-08-10 03:08:46 +01:00
Lucas Rocha
54b171ff82 [progress] coding style fixes 2009-08-10 03:07:59 +01:00
Aurélio A. Heckert
533edc7044 Bug 573802 - Support notification summary
You can now define title and summary on notifications. The first line
of the provided text will be considered the title and the following
lines are the summary.
2009-08-10 02:38:41 +01:00
Lucas Rocha
25ec1ed3bb [progress] Remove duplicate code when returning 2009-08-08 11:21:24 +01:00
Lucas Rocha
5c6a48f684 [progress] Cosmetic fix in code comment 2009-08-08 10:51:52 +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
Siegfried-Angel Gevatter Pujals
94190df420 Bug 567773 – "zenity --entry --text" doesn't interpret line breaks 2009-08-08 01:56:33 +02:00
Lucas Rocha
b87f233061 Bug 561131 – zenity windows don't appear with the focus 2009-08-06 16:39:33 +01:00
Javier Jardón
94c9ee1c7f Clean some things in the GtkBuilder port (GnomeBug:578393)
* Makefile.am
	* README
	* configure.in
	* po/POTFILES.skip
	* src/zenity.ui
2009-08-06 15:36:49 +01:00
Felix Riemann
3f33966167 Bug 578393 – convert from libglade to GtkBuilder 2009-07-20 10:23:32 +02:00
Lucas Rocha
278a669eaf disable monk easter egg in order to remove gnome-canvas dependency (Fixes
2009-03-08  Lucas Rocha  <lucasr@gnome.org>

	* configure.in, src/about.c: disable monk easter egg in order to
	remove gnome-canvas dependency (Fixes #571741).

svn path=/trunk/; revision=1489
2009-03-08 22:34:50 +00:00
Lucas Rocha
6dd1d4b5e6 replace deprecated GTK+ calls (fixes bug #571869). Patch from Felix
2009-03-08  Lucas Rocha  <lucasr@gnome.org>

	* configure.in, src/notification.c: replace deprecated
	GTK+ calls (fixes bug #571869).
	Patch from Felix Riemann <friemann@svn.gnome.org>.

svn path=/trunk/; revision=1488
2009-03-08 22:04:02 +00:00
Lucas Rocha
9df2eda37f remove deprecated/obsoleted dialog definition (fixes bug #571869). Patch
2009-03-08  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: remove deprecated/obsoleted dialog
	definition (fixes bug #571869).
	Patch from Felix Riemann <friemann@svn.gnome.org>.

svn path=/trunk/; revision=1487
2009-03-08 22:01:00 +00: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
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