Commit Graph

240 Commits

Author SHA1 Message Date
Philippe Gauthier 1570a2bbf0 Use g_timeout_add_seconds instead g_timeout_add
The calls to g_timeout_add are replaced with g_timeout_add_seconds to
reduce the number or program wake ups. See the GNOME Goal description:
http://live.gnome.org/GnomeGoals/UseTimeoutAddSeconds
2010-05-27 20:49:45 -03:00
Michal Pryc eb6ed94c9e Bug 615527 - zenity hangs if invalid WINDOWID is specified 2010-04-19 13:39:12 +01:00
Andre Klapper 29625ff9cc Compile with -DGSEAL_ENABLED. Fixes bug 612498. 2010-04-08 18:00:29 +02: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 078ff02362 Bug 609224 - GPL mentioning left in about dialog 2010-02-23 17:55:00 +00:00
Lucas Rocha 3b4f73ce46 [options] Use correct type in hide_header variable 2010-02-23 17:53:38 +00:00
Lucas Rocha 97d7fa636e Bug 603673 - Show correct license in the about dialog 2009-12-13 17:45:28 +00:00
Lucas Rocha cf0f0b1668 [list] allow escaped chars as separator 2009-09-16 21:30:46 +01:00
Lucas Rocha c1f2e66288 Bug 572835 – Zenity --question should be yes or no 2009-08-10 04:17:47 +01:00
Bryce Harrington 8e190dbb1f Bug 552971 - Add a hide-header option to list dialog 2009-08-10 04:10:53 +01:00
Adrian Carpenter 171e59e3ea Bug 551116 - Fix default activation in entry dialog
when using the dialog with drop down menu.
2009-08-10 03:59:34 +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
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