Commit Graph

369 Commits

Author SHA1 Message Date
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
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
Lucas Rocha
7f2aedec5a by default, focus is on tree view in list dialogs. Fixes #317263. Patch
2005-10-18  Lucas Rocha  <lucasr@cvs.gnome.org>

	* src/zenity.glade: by default, focus is on tree
	view in list dialogs. Fixes #317263. Patch from
	Aleksey Kliger <akliger@gmail.com>
2005-10-18 13:56:35 +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
7f091245f7 Release 2.12.0 Update.
2005-09-06  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.12.0
        * NEWS, THANKS, src/about.c: Update.
2005-09-06 03:44:07 +00:00
Lucas Rocha
417bfb6389 Release 2.11.92 Update.
2005-08-23  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.11.92
        * NEWS, THANKS, src/about.c: Update.
2005-08-23 15:16:57 +00:00
Lucas Rocha
0bc57119fb Release 2.11.91 Update.
2005-08-07  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.11.91
        * NEWS, THANKS, src/about.c: Update.
2005-08-07 19:45:50 +00:00
Lucas Rocha
47a2e0479a Release 2.11.90 Update.
2005-07-25  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.11.90
        * NEWS, THANKS, src/about.c: Update.
2005-07-26 03:12:09 +00:00
Lucas Rocha
4b5cdda3c8 Release 2.11.1 Add note about feature frozen-ness. Update.
2005-07-13  Lucas Rocha  <lucasr@cvs.gnome.org>

	* configure.in: Release 2.11.1
	* HACKING: Add note about feature frozen-ness.
	* NEWS, THANKS, src/about.c: Update.
2005-07-13 04:04:09 +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
0bc80a781d Changelog fixes, THANKS update. 2005-07-06 20:22:58 +00:00
Lucas Almeida Rocha
4c328078b6 Include cleanups (config.h) 2005-07-06 20:13:11 +00:00
Lucas Almeida Rocha
c23ba6a523 Translation contributors update. 2005-07-04 17:30:29 +00:00
Lucas Almeida Rocha
8ba040f33b New --hide-column option. 2005-07-01 21:28:36 +00:00
Lucas Almeida Rocha
da0a2585b3 Data structure improvements on List dialogs. 2005-06-30 23:43:23 +00:00
Lucas Almeida Rocha
c9be8d0579 New --print-column syntax. Now it's possible to pass a comma-separated list of column indexes. 2005-06-28 11:11:50 +00:00
Lucas Almeida Rocha
cc3fc2be3e Error handling when trying to use checklist and radiolist in the same List dialog 2005-06-28 04:43:10 +00:00
Lucas Almeida Rocha
5d584ca8ef Double-clicking on list dialog 2005-06-27 04:27:15 +00:00
Lucas Almeida Rocha
9c792cb86a Changed list dialog Selection behavior 2005-06-27 03:13:37 +00:00
Lucas Almeida Rocha
14c0bf10c8 Don't use the parent widget for hiding tray icon 2005-06-17 03:18:41 +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
6d386ddda5 Fix for #171838, from Carlos Parra.
2005-04-20  Glynn Foster  <glynn.foster@sun.com>

	* src/fileselection.c: Fix for #171838, from Carlos
	Parra.
2005-04-21 00:56:05 +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
d4d23da5a7 Fix leak in ZENITY_IMAGE_FULLPATH. Fixes #167518, hopefully.
2005-02-16  Glynn Foster  <glynn.foster@sun.com>

	* src/util.h: Fix leak in ZENITY_IMAGE_FULLPATH. Fixes
	#167518, hopefully.
2005-02-16 10:32:15 +00:00
Glynn Foster
a197b56c07 Fix bug #167577, that leaks a seperator. Patch from Paolo Borelli
2005-02-16  Glynn Foster  <glynn.foster@sun.com>

	* src/fileselection.c, THANKS, src/about.c: Fix bug
	#167577, that leaks a seperator. Patch from
	Paolo Borelli <pborelli@katamail.com>
2005-02-16 10:28:11 +00:00
Glynn Foster
6bac2fb947 If auto-close, close the dialog when the input stream finds an EOF.
2005-02-07  Glynn Foster  <glynn.foster@sun.com>

	* src/progress.c: If auto-close, close the dialog when
	the input stream finds an EOF.
2005-02-07 01:56:02 +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
bc282cfa65 Patch from Ed Catmur to fix the list dialog on stdin. Fixes #164152.
2005-01-17  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c: Patch from Ed Catmur to fix the list dialog
	on stdin. Fixes #164152.
	* src/about.c, THANKS: Update.
2005-01-17 01:33:23 +00:00
Glynn Foster
01872ab746 Correct error message for notification icon. Fixes #163462.
2005-01-07  Glynn Foster  <glynn.foster@sun.com>

        * src/notification.c: Correct error message for notification
	icon. Fixes #163462.
2005-01-09 20:13:18 +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
a626476abb Fix #161539, and try and hide the parent widget, rather than the tray
2004-12-20  Glynn Foster  <glynn.foster@sun.com>

	* src/notification.c: Fix #161539, and try and hide the parent
	widget, rather than the tray icon, since it saves space.
2004-12-19 21:27:25 +00:00
Glynn Foster
69e094a457 Fix for #137993. There is a chance that we'll have to revert this fix,
2004-12-07  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Fix for #137993. There is a chance that we'll have
	to revert this fix, given the comments in /etc/X11/gdm/Xsession:

        # Note that this should only go to zenity dialogs which always
	#  expect utf8
        gettextfunc () {
          if [ "x$gdmtranslate" != "x" ] ; then
            "$gdmtranslate" --utf8 "$1"
          else
            echo "$1"
          fi
        }

	So I guess we may be over a barrel with our original guarantee.
	Let's just change this in 2.9.x and see if anyone notices or cares
        enough. Patch from Leonardo Boshell <p@kapcoweb.com>.
2004-12-07 01:26:00 +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
Glynn Foster
530a4c0408 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  Glynn Foster  <glynn.foster@sun.com>

	* POTFILES.in: Add new files.
2004-12-07 00:17:16 +00:00
Ross Burton
04476d04fe Check the xterm window ID is valid before using it 2004-11-23 10:08:50 +00:00
Francisco Javier F. Serrador
444ede57de Updated Spanish translation. Fixed typo
2004-10-30  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* po/es.po: Updated Spanish translation.
        * src/main.c: Fixed typo
2004-10-30 14:13:02 +00:00
James Henstridge
45943a3b43 g_strdown() modifies the filename, so use strcasecmp() for the comparison
2004-10-05  James Henstridge  <james@jamesh.id.au>

    * src/util.c (zenity_util_pixbuf_new_from_file): g_strdown()
    modifies the filename, so use strcasecmp() for the comparison
    instead.  Since we are comparing against fixed ASCII strings,
    this should have no UTF-8 issues.
2004-10-05 03:44:52 +00:00
James Henstridge
17cd55e682 function to set a GtkImage to a scaled pixbuf.
2004-09-30  James Henstridge  <james@jamesh.id.au>

    * src/notification.c (set_scaled_pixbuf): function to set a
    GtkImage to a scaled pixbuf.
    (zenity_notification_handle_stdin): set the image to a
    GTK_ICON_SIZE_BUTTON sized image.
    (zenity_notification): same here.
2004-09-30 11:25:37 +00:00
Kjartan Maraas
ca975e8399 Add missing header. Same ANSIfication. Closes bug #152851.
2004-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* src/progress.c: Add missing header.
	* src/tree.c: Same
	* src/util.c: (transient_get_xterm),
	(transient_get_xterm_toplevel): ANSIfication.
	Closes bug #152851.
2004-09-17 08:57:21 +00:00
James Henstridge
963241dd15 add code to listen for commands on stdin when in listen mode.
2004-09-16  James Henstridge  <james@jamesh.id.au>

    * src/notification.c: add code to listen for commands on stdin
    when in listen mode.

    * src/main.c: parse the --listen argument for --notification mode.

    * src/zenity.h (ZenityNotificationData): add a field for the
    "listen" argument.
2004-09-16 09:28:09 +00:00
Glynn Foster
3e05834b4c Add new notification icon. Update for new files. Restructure code a little
2004-09-13  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/zenity-notification.png: Add new
	notification icon.
	* src/Makefile.am: Update for new files.
	* src/about.c, src/calendar.c, src/entry.c, src/fileselection.c,
	src/progress.c, src/text.c, src/tree.c, src/msg.c: Restructure code a
	little bit for new utility functions for setting window icons.
	* src/eggtrayicon.c, src/eggtrayicon.h: New files for notification area
	support.
	* src/main.c, src/notification.c, src/util.c, src/util.h, src/zenity.h:
	Add support for notification area.
	* data/zenity.1, help/*: Update docs for notification and new file
	selection changes.
2004-09-13 07:51:51 +00:00
Glynn Foster
03f3e5b060 Update Update. Patch from Lucas Rocha to implement save and directory
2004-09-13  Glynn Foster  <glynn.foster@sun.com>

	* THANKS: Update
	* src/about.c: Update.
	* src/fileselection.c, src/main.c, src/zenity.h:
	Patch from Lucas Rocha to implement save and
	directory selection in the file selection dialog.
	Fixes #138342.
2004-09-13 04:56:26 +00:00
Glynn Foster
b46dd53df6 Add translator comment from Christian Rose, and fix up strcmp's for
2004-08-17  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Add translator comment from Christian Rose,
	and fix up strcmp's for untranslated translator-credits.
2004-08-17 08:55:10 +00:00
Glynn Foster
06d3c86671 Use 'translator-credits' rather than the underscore version which makes
2004-08-11  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Use 'translator-credits' rather than the
	underscore version which makes things easier for the translation
	dudes.
2004-08-11 06:14:21 +00:00
Glynn Foster
eff2655713 Release 2.7.90
2004-08-03  Glynn Foster  <glynn.foster@sun.com>

	* configure.in: Release 2.7.90
2004-08-03 05:00:49 +00:00
Glynn Foster
63661a6ea0 src/calendar.c, src/entry.c, src/fileselection.c, Cleanup fixes from Paul
2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c, src/entry.c, src/fileselection.c,
	* src/msg.c, src/progress.c, src/text.c, src/tree.c: Cleanup
	fixes from Paul Bolle.
2004-07-19 01:13:40 +00:00
Glynn Foster
4dd6dd672a Up the gicker. 2004-07-19 01:01:58 +00:00
Glynn Foster
ffaed08856 Add new option for --print-column, based on a patch by Paul Bolle. Fixes
2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c, src/tree.c, src/zenity.h,
	help/C/zenity.xml: Add new option for --print-column, based
	on a patch by Paul Bolle.  Fixes #144496.
2004-07-19 01:01:28 +00:00
Glynn Foster
b986224682 Remove duplicate locale.h include. Patch from Leonardo Boshell. Partly
2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Remove duplicate locale.h include. Patch
	from Leonardo Boshell. Partly fixes #137993.
2004-07-18 23:52:07 +00:00
Glynn Foster
6a17938c95 Make sure the text can take markup, so that people can create nice HIG
2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* src/msg.c: Make sure the text can take markup, so
	that people can create nice HIG compliant message
	dialogs. Patch from Sebastian Heinlein. Fixes #140748.
2004-07-18 23:40:20 +00:00
Glynn Foster
e6290c86ff Fix up compilation using Forte compiler. Based on patch from Ivan Noris.
2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* configure.in, src/Makefile.am: Fix up compilation
	using Forte compiler. Based on patch from Ivan Noris.
	Fixes #143041.
2004-07-18 23:37:06 +00:00
Glynn Foster
6c68b70ca3 Patch from Luke Suchocki to send HUP to parent instead of itself. Fixes
2004-06-18  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c, src/progress.c: Patch
	from Luke Suchocki to send HUP to parent
	instead of itself. Fixes #144542.
2004-06-17 23:38:39 +00:00
Glynn Foster
c7ec5229bb Fix parsing errors. Patch from Paull Bolle. Fixes #144501.
2004-06-17  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Fix parsing errors. Patch from
	Paull Bolle. Fixes #144501.
2004-06-16 23:45:28 +00:00
Glynn Foster
c30c2f365f Add Paul. fix tyops in parsing.
2004-06-08  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c: Add Paul.
	* src/main.c:  fix tyops in parsing.
2004-06-09 21:12:55 +00:00
Glynn Foster
02955ce70f Fix the list dialog not being able to handle --text to change the text. It
2004-04-29  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c, src/tree.c: Fix the list dialog not being
	able to handle --text to change the text. It was also
	intentional but must have fallen through the gaps.
	* data/zenity.1: Update
	* help/C/zenity.xml: Update.
2004-04-28 12:06:02 +00:00
Glynn Foster
5f7b750f39 Untranslate 3 strings again. Thanks to Christian for pointing this out.
2004-04-27  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Untranslate 3 strings again. Thanks
	to Christian for pointing this out.
2004-04-27 20:34:56 +00:00
Glynn Foster
62785ed80f Add from the 2 Sebastian's, and make email addresses more spam proof.
2004-04-26  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c: Add from the 2 Sebastian's, and make
	email addresses more spam proof.
	* src/calendar.c, src/entry.c, src/fileselection.c, src/msg.c,
	* src/progress.c, src/text.c, src/tree.c, src/util.c,
	* src/util.h: Patch from Sebastian Kapfer to make all zenity
	dialogs transients of the parent xterm. Fixes #136226.
	* src/zenity.glade: Patch from Sebastian Heinlein to
	improve things HIG wise. Fixes #140745.
2004-04-26 04:41:25 +00:00
Glynn Foster
1e5f3993ee Update. Release 2.6.0
2004-03-23  Glynn Foster  <glynn.foster@sun.com>

	* NEWS, THANKS, src/about.c: Update.
	* configure.in: Release 2.6.0
2004-03-22 10:53:47 +00:00
Glynn Foster
b43bbda2e2 Patch from Darren Adams <darrenadams@dsl.pipex.com> to make sure the new
2004-03-19  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c, src/entry.c, src/fileselection.c,
	src/msg.c, src/progress.c, src/text.c, src/tree.c:
	Patch from Darren Adams <darrenadams@dsl.pipex.com> to make
	sure the new file chooser resizes nicely. Sanitize the default
	setting of the other widgets.
	* configure.in, src/util.c: Lose gconf dependancy since we
	don't currently use it, although arguably we should to detect
	which help browser we're supposed to run :/
	* THANKS, src/about.c: Add Darren to the list.
2004-03-19 02:28:30 +00:00
Glynn Foster
8edcd96f02 Remove some unused code.
2004-03-07  Glynn Foster  <glynn.foster@sun.com>

	* src/util.c: Remove some unused code.
2004-03-06 18:52:08 +00:00
Glynn Foster
0e37613d25 Update to add Mike. Update for new release. Add lots of people, probably
2004-03-07  Glynn Foster  <glynn.foster@sun.com>

	* AUTHORS: Update to add Mike.
	* NEWS: Update for new release.
	* THANKS, src/about.c: Add lots of people, probably get heaps
	of bug reports complaining their name is spelled wrongly - darn
	those weird characters.
	* configure.in: Release 2.5.90
2004-03-06 18:50:14 +00:00
Glynn Foster
f9013fb09f Remove all the stupid duplicated code to do the help stuff, and instead do
2004-02-29  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c, src/util.c, src/util.h: Remove all the
	stupid duplicated code to do the help stuff, and instead
	do a simple call for 'yelp ghelp:zenity'. -418, +23. Eeek.
	Fixes #135607.
2004-02-29 07:34:28 +00:00
Glynn Foster
2a297420c2 Handle stdin. Fixes #132517.
2004-01-26  Glynn Foster  <glynn.foster@sun.com>

	* src/text.c: Handle stdin. Fixes #132517.
2004-01-26 03:50:50 +00:00
Glynn Foster
104a45c0f7 Release 2.5.1, a ridiculous bump so that we sync with the GNOME desktop
2003-12-30  Glynn Foster  <glynn.foster@sun.com>

	* configure.in: Release 2.5.1, a ridiculous bump
	so that we sync with the GNOME desktop releases.

2003-12-30  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* src/fileselection.c: (zenity_fileselection),
	(zenity_fileselection_dialog_response): Replace
	GtkFileSelection with GtkFileChooser.
2003-12-31 01:52:25 +00:00
Christian Mnneckes
0ca6b6fe82 Fix quote and output bugs in the gdialog wrapper #128149.
2003-12-02  Christian Mnneckes < c-w-m@gmx.de>

	* src/gdialog.in: Fix quote and output bugs
	in the gdialog wrapper #128149.
2003-12-01 23:27:45 +00:00
Glynn Foster
c34e4255ff Fix radiolist returning the wrong argument. Patch from Peter strand
2003-11-12  Glynn Foster  <glynn.foster@sun.com>

	* src/gdialog.in: Fix radiolist returning the
	wrong argument. Patch from Peter strand
        <astrand@lysator.liu.se>. Fixes #125672.
2003-11-12 01:14:17 +00:00
Glynn Foster
191ebced87 Make sure the gdialog wrapper handles spaces. Patch from Peter strand
2003-11-12  Glynn Foster  <glynn.foster@sun.com>

	* src/gdialog.in: Make sure the gdialog wrapper
	handles spaces. Patch from Peter strand
	<astrand@lysator.liu.se>
2003-11-12 01:03:20 +00:00
Glynn Foster
5f9fe9f087 Unmark translation messages, as reported by Christian. Fixes #125717.
2003-10-29  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Unmark translation messages,
	as reported by Christian. Fixes #125717.
2003-10-28 23:45:31 +00:00
Glynn Foster
cab79bf73c Make the dialogs resizable so that --height/--width works. Reported by
2003-10-28  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Make the dialogs resizable
	so that --height/--width works. Reported by
	Ingo van Lil <inguin@gmx.de>.
2003-10-28 03:10:30 +00:00
Glynn Foster
2d67087ca0 Patch from Leonardo Boshell to add the locale.h header.
2003-10-27  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Patch from Leonardo Boshell to add the
	locale.h header.
2003-10-27 02:48:32 +00:00
Glynn Foster
c14af1c42c Better patch from raf@noduck.net to fix the activate on the entry dialog.
2003-09-12  Glynn Foster  <glynn.foster@sun.com>

	* src/entry.c, src/zenity.glade: Better patch from
	raf@noduck.net to fix the activate on the entry dialog.
2003-09-12 08:48:06 +00:00
Damien Carbery
1fab4b4e62 Make zenity compile on solaris. Whoops :)
2003-09-12  Damien Carbery <damien.carbery@sun.com>

	* src/main.c: Make zenity compile on solaris. Whoops :)
2003-09-12 08:40:48 +00:00
Glynn Foster
f3ea9c41a2 Update. Update. Patch from Toshi to fix encoding of passed text strings.
2003-09-04  Glynn Foster  <glynn.foster@sun.com>

	* THANKS: Update.
	* src/about.c: Update.
	* src/main.c: Patch from Toshi to fix encoding of passed
	text strings. Fixes #121389.
2003-09-04 10:33:00 +00:00
Glynn Foster
82b76239aa Add patch from Buchan Miln to fix the gdialog wrapper.
2003-09-01  Glynn Foster  <glynn.foster@sun.com>

	* src/gdialog.in: Add patch from Buchan Miln to fix the gdialog
	wrapper.
2003-09-01 18:44:19 +00:00
Glynn Foster
751d9a7bec Documentation updates from Nicholas Curran. Add Nicholas.
2003-09-01  Glynn Foster  <glynn.foster@sun.com>

	* help/C/zenity.xml: Documentation updates from Nicholas Curran.
	* THANKS, src/about.c: Add Nicholas.
2003-09-01 08:27:59 +00:00
Glynn Foster
d02a5bcd11 Put horizontal scrolling on automatic, otherwise we expand off the edge of
2003-08-27  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c:  Put horizontal scrolling on automatic, otherwise
	we expand off the edge of the screen.
2003-08-27 12:10:04 +00:00
Glynn Foster
ceb065ee33 Hook up the 'activate' signal on the entry dialog. Fixes Debian bug
2003-09-11  Glynn Foster  <glynn.foster@sun.com>

	* src/entry.c: Hook up the 'activate' signal on
	the entry dialog. Fixes Debian bug #202332.
2003-08-25 20:11:40 +00:00
Mike Newman
0ebb6d692b s/g_printerr/g_print 2003-08-25 20:11:40 +00:00
Mike Newman
32cb0ef0f5 Fixed i18n of help messages. 2003-08-22 08:30:15 +00:00
Kevin C. Krinke
652c90596e user input data output to STDOUT via g_print instead of outputting to
2003-07-11  Kevin C. Krinke  <kckrinke@opendoorsoftware.com>

       * src/calendar.c, src/entry.c, src/fileselection.c, src/text.c,
       src/tree.c: user input data output to STDOUT via g_print instead
       of outputting to STDERR via g_printerr. This makes it possible to
       destinguish user input data from GTK+ warnings / errors.
       * THANKS, src/about.c: I figure this is my second patch submission
       so I belong in the credits...
2003-07-13 23:03:18 +00:00
Mike Newman
425724a8d1 gdialog wrapper return values fixed 2003-06-29 16:21:12 +00:00
Mike Newman
86a829f7c8 Added en_GB translation and fixed a typo. 2003-06-21 15:33:39 +00:00
Mike Newman
af594b60e9 *** empty log message *** 2003-06-13 22:01:48 +00:00
Mike Newman
9050357a9b Fixed my old and bouncy email address 2003-06-13 21:53:06 +00:00
Mike Newman
cfe29d9ad0 Allow /t and /n in dialog text. Some code cleanup. 2003-06-10 21:30:22 +00:00
Mike Newman
98772744e9 Committing patch to fall back to dialog if DISPLAY not set from
Kevin C. Krinke  <kckrinke@opendoorsoftware.com>
2003-06-09 21:35:39 +00:00
Mike Newman
0e4c879656 Allow multiple file selections. 2003-06-09 18:57:01 +00:00
Mike Newman
5bade6fe6a Support user-defined return values via env vars, like dialog did. 2003-06-07 14:41:56 +00:00
Glynn Foster
3aab6a19a5 Untranslate silly strings pointed out by Kjartan Maraas.
2003-06-07  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Untranslate silly strings pointed out by
	Kjartan Maraas.
2003-06-07 13:10:58 +00:00
Glynn Foster
65cb873430 Fix up some build warnings as reported by Ross Burton and his amazing gcc
2003-06-04  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c, src/main.c, src/msg.c,
	src/progress.c, src/tree.c, src/util.c: Fix up some build warnings
	as reported by Ross Burton and his amazing gcc 3.3 techno machine.
2003-06-04 12:53:46 +00:00
Jordi Mallach
52b1f1c71e Add a "no-c-format" xgettext header to unbreak po files in the new
2003-06-04  Jordi Mallach  <jordi@sindominio.net>

	* src/main.c: Add a "no-c-format" xgettext header to unbreak po files
	in the new auto-close string.
2003-06-04 10:46:02 +00:00
Mike Newman
626d95b752 Add --auto-close option to progress dialog. Closes dialog when 100% has been reached. Also update docs for new option. Fixes #114125. 2003-06-03 21:52:16 +00:00
Mike Newman
b12b1a4faf add a --help option to the gdialog wrapper script 2003-06-03 17:28:20 +00:00
Glynn Foster
f091d10d08 Make the progress dialog resize. Lamely fixes #113706.
2003-05-27  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Make the progress dialog resize. Lamely
	fixes #113706.
2003-05-27 22:28:44 +00:00
Mike Newman
beaff4a661 Enable the gdialog wrapper script. 2003-05-27 22:00:43 +00:00
Mike Newman
9e131f64cb Enable the gdialog compatibility wrapper script. 2003-05-27 21:57:46 +00:00
Mike Newman
34f3758977 Not my day. Fix order of height and width args of textbox in gdialog wrapper. 2003-05-27 18:05:18 +00:00
Mike Newman
15c5b0f48e Oops - committed with debugging instrumentation which would confuse scripts! 2003-05-27 18:00:56 +00:00
Mike Newman
a7673b42d2 Fix an indentation weirdness in calendar.c
Take notice of width and height in gdialog wrapper for textbox, because
the original gdialog also did.
2003-05-27 17:56:51 +00:00
Mike Newman
25d20adbd1 Fix typo in gdialog wrapper. Sensitize OK button in progress when 100% reached. 2003-05-24 09:15:50 +00:00
Glynn Foster
1acd9cfed8 Patch from Dagmar d'Surreal <dagmar@speakeasy.net> to correct help docs
2003-05-24  Glynn Foster  <glynn.foster@sun.com>

	* help/C/zenity.xml: Patch from Dagmar d'Surreal
	<dagmar@speakeasy.net> to correct help docs and
	script examples for the change from --dialog-title to
	--title.

	* THANKS, src/about.c: Add Dagmar.

	* src/progress.c: For now, just send a SIGHUP to the
	parent process - not entirely sure if this is the best thing
	to do right now.
2003-05-24 01:36:24 +00:00
Mike Newman
1930a4a763 Hmm, forgot some other bits - support --separate-output, ensure list rows
are returned.
2003-05-23 16:57:16 +00:00
Mike Newman
c4bdad5128 More work on wrapper - fix --textbox to actually load the file 2003-05-23 16:18:26 +00:00
Mike Newman
0664c94197 Update to gdialog wrapper script 2003-05-20 23:48:12 +00:00
Glynn Foster
d8d6d65386 Compatibility wrapper script from Mike Newman <mikegtn@gnome.org>.
2003-05-19  Glynn Foster  <glynn.foster@sun.com>

	* src/Makefile.am, src/gdialog: Compatibility wrapper script
	from Mike Newman <mikegtn@gnome.org>. Disabled for the present
	until I have a chance to review the code.
2003-05-19 18:46:03 +00:00
Glynn Foster
70ea28f34c Make the progress dialog actually work and now uses g_io_channel. Woot!
2003-05-19  Glynn Foster  <glynn.foster@sun.com>

	* src/progress.c: Make the progress dialog actually work
	and now uses g_io_channel. Woot! Need to be able to cancel
	the dialog, which currently doesn't work too well.

	* TODO: Update.

	* help/C/zenity.xml: Update help documentation.
2003-05-19 18:24:41 +00:00
Glynn Foster
a08343daf9 Update commandline error message, needs updating of translations. Remove
2003-05-06  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Update commandline error message, needs updating
	of translations.
	* src/tree.c: Remove some commented out code.
	* src/zenity.glade: Updated error and info dialogs to do
	wrapping.
2003-05-07 01:08:08 +00:00
Glynn Foster
d5549deab3 Fix up the stdin list dialog stuff. Updated to actually include the
2003-05-06  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c: Fix up the stdin list dialog stuff.
	* NEWS: Updated to actually include the updated
	translations as well.
2003-05-06 20:22:16 +00:00
Glynn Foster
8ff2b32c9e Make the list dialog handle stdin - a little bit buggy still. Update
2003-05-05  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c, src/util.c, src/util.h: Make the list dialog
	handle stdin - a little bit buggy still.
	* TODO: Update
2003-05-05 17:17:02 +00:00
Glynn Foster
9da6452661 Ooops - fix build. 2003-04-13 15:48:15 +00:00
Glynn Foster
965c2a9149 Finish off the indentation cleanup. Add new '--width' and '--height'
2003-04-13  Glynn Foster  <glynn.foster@sun.com>

	* src/calendar.c, src/entry.c, src/fileselection.c,
	src/main.c, src/msg.c, src/progress.c, src/text.c,
	src/tree.c, src/zenity.h: Finish off the indentation cleanup.
	Add new '--width' and '--height' options to the general options.
	Fix up the radio list view, so that we can now act like a radio
	button group.

	* TODO: Update
2003-04-13 15:42:41 +00:00
Glynn Foster
49f8979534 Mass indentation cleanup. Make sure the glade dialogs aren't initially
2003-03-10  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c, src/calendar.c, src/entry.c, src/fileselection.c,
	src/main.c, src/msg.c, src/progress.c, src/text.c, src/tree.c,
	src/util.c, src/util.h, src/zenity.glade, src/zenity.h:

	Mass indentation cleanup. Make sure the glade dialogs aren't initially
	visible because this avoids a visibility jump. Apparently == TRUE is
	bad mojo. Fix up.
2003-03-10 17:11:18 +00:00
Glynn Foster
e5149948ec Add Ross.
2003-02-05  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c: Add Ross.
2003-02-05 10:37:08 +00:00
Glynn Foster
ec7cb56de2 Raise on mouse click
2003-02-03  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Raise on mouse click
2003-02-03 22:58:14 +00:00
Glynn Foster
8402c27e77 Um, you don't really want to know.
2003-02-03  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/hawaii-shirt.png,
	data/surfboard.png, src/about.c: Um, you don't really
	want to know.
2003-02-03 03:16:32 +00:00
Glynn Foster
00e48cb2b5 Add spec file, thanks to Mihai T. Lazarescu.
2003-02-03  Glynn Foster  <glynn.foster@sun.com>

	* Makefile.am, configure.in, zenity.spec.in: Add
	spec file, thanks to Mihai T. Lazarescu.

	* THANKS, src/about.c: Update.
2003-02-03 01:56:42 +00:00
Glynn Foster
452c3426fb Fix Jonathan's name - I suck.
2003-02-01  Glynn Foster  <glynn.foster@sun.com>

	* NEWS, THANKS, src/about.c: Fix Jonathan's
	name - I suck.
2003-02-01 20:07:25 +00:00
Glynn Foster
9e7cbd647f Add new. Update coordinates.
2003-02-01  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/sunglasses.png: Add new.
	* src/about.c: Update coordinates.
2003-02-01 12:13:25 +00:00
Glynn Foster
8f85e68421 Okay, I'm a glory hunter. Seperate out the about dialog entries a little.
2003-02-01  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Okay, I'm a glory hunter. Seperate out the
	about dialog entries a little.

	* THANKS: Update.
2003-02-01 11:43:32 +00:00
Glynn Foster
feef039683 Don't do a g_assert_not_reached () if we don't have any dialog types.
2003-01-29  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Don't do a g_assert_not_reached () if we don't have
	any dialog types.
2003-01-29 02:20:02 +00:00
Glynn Foster
574404b13e Update
2003-01-29  Glynn Foster  <glynn.foster@sun.com>

	* README: Update

	* configure.in: Remove some bogus configure checks that
	we almost certainly don't need.

	* src/about.c, data/Makefile.am, data/*.png: Add new pixbuf for
	about dialog.

	* TODO: Update accordingly
2003-01-29 02:05:44 +00:00
Glynn Foster
22625f8b16 Don't display the translators tab unless there is stuff to show.
2003-01-28  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Don't display the translators tab
	unless there is stuff to show.

	* src/entry.c: Add sanity NULL checking.

	* src/tree.c, src/zenity.h: Add support for a new
	--editable option.

	* src/main.c: Add support for new --editable option for
	the List dialog. Merge in the list of Gtk+ options into
	the popt table - ripped this from libbonoboui, thanks to
	James for pointing this out.

	* src/zenity.glade: Make the translatable strings less arse.

	* TODO: Update accordingly.
2003-01-28 14:58:30 +00:00
Glynn Foster
2c9e227432 Update
2003-01-26  Glynn Foster  <glynn.foster@sun.com>

	* THANKS, src/about.c: Update
2003-01-26 20:25:44 +00:00
John Fleck
2d0e828c5d adding comma Glynn left out that kept it from compiling
2003-01-24 John Fleck <jfleck@inkstain.net>

	* src/about.c: adding comma Glynn left out
	that kept it from compiling
2003-01-25 02:12:07 +00:00
Glynn Foster
89255c3b35 Provide correct help URL.
2003-01-24  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Provide correct help URL.

	* src/util.h, src/util.c: Add functions from
	libgnome/gnome-i18n so that we can correctly find the
	apropriate help file.

	* xmldocs.make: Install help into $(datadir)/help/$(lang)/

	* THANKS: Update from the code I stole from libgnome
2003-01-24 16:16:40 +00:00
Glynn Foster
525e0dbe64 Print out warning when we have no arguments to the commandline.
2003-01-22  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Print out warning when we have no arguments to the
	commandline.

	* TODO: Add another item
2003-01-22 02:03:09 +00:00
Mike Newman
0629d7f227 Sigh - half a job done as usual :) 2003-01-21 08:05:38 +00:00
Mike Newman
818872f171 Fixed a bug I introduced! Ensure that an editable --text-info dialog gets
a buffer associated with it, so we can get the output even when we don't
start out with a --filename.
2003-01-21 08:00:27 +00:00
Glynn Foster
a161b30233 Remove some strings for translation that should be done.
2003-01-20  Glynn Foster  <glynn.foster@sun.com>

	* src/zenity.glade: Remove some strings for translation that
	should be done.
2003-01-20 10:03:13 +00:00
Glynn Foster
3a90fe7167 Attempt to make things work after 2 bottles of wine last night. Harmless
2003-01-19  Glynn Foster  <glynn.foster@sun.com>

	* src/about.c: Attempt to make things work after 2 bottles of
	wine last night. Harmless changes though, so I'll commit them
	for posterity.

	* src/main.c: Add a new helper function for the error reporting
	that makes the translators life easier. Thanks to Ole for spotting
	this.

	* src/text.c, src/zenity.h: Lame white spacing hacking.

	* xmldocs.make: Put the docs in $(datadir)/help - not quite sure
	yet if yelp is going to like this or not.
2003-01-19 12:48:57 +00:00
Mike Newman
1e1dfef56e Add --editable option to --text-info, and return edited textbuffer contents on dialog close. 2003-01-19 12:13:08 +00:00
Glynn Foster
c41421c043 Add some screenshots for the help documentation.
2003-01-18  Glynn Foster  <glynn.foster@sun.com>

	* help/C/figures/zenity-calendar-screenshot.png,
	help/C/figures/zenity-entry-screenshot.png,
	help/C/figures/zenity-error-screenshot.png,
	help/C/figures/zenity-fileselection-screenshot.png,
	help/C/figures/zenity-information-screenshot.png,
	help/C/figures/zenity-list-screenshot.png,
	help/C/figures/zenity-progress-screenshot.png,
	help/C/figures/zenity-question-screenshot.png,
	help/C/figures/zenity-text-screenshot.png,
	help/C/figures/zenity-warning-screenshot.png: Add some
	screenshots for the help documentation.

	* src/entry.c, src/msg.c: Don't set the text if it's NULL.
2003-01-18 18:30:52 +00:00
Glynn Foster
18760d406d Only some examples and some screenshots and we're mostly done for a first
2003-01-18  Glynn Foster  <glynn.foster@sun.com>

	* help/C/zenity.xml: Only some examples and some screenshots
	and we're mostly done for a first draft.

	* src/calendar.c: Don't set the text if it's NULL.

	* src/main.c: Swap the order of the commandline dialogs so
	that we're alphabetical.

	* src/zenity.glade: Add some default strings.
2003-01-18 18:02:14 +00:00
Glynn Foster
10e683c2e7 Hooray! Zenity now has an about window icon. It's very zen too.
2003-01-18  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/zenity.png, src/about.c: Hooray!
	Zenity now has an about window icon. It's very zen too.
2003-01-18 14:54:44 +00:00
Glynn Foster
f182d9f7fc Some new window icons.
2003-01-18  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/zenity-calendar.png,
	data/zenity-entry.png, data/zenity-progress.png,
	data/zenity-text.png: Some new window icons.

	* src/text.c: Fix crash where the GladeXML ref was getting
	unref'd before we wanted to use it.

	* src/main.c: Fix up commandline parsing a little, although we
	should really add the parsing options for gtk+.

	* src/zenity.glade: Give some saner defaults.

	* THANKS, src/about.c: Update for all the people I stole icons
	and code from.

	* TODO: Update accordingly.
2003-01-18 13:35:13 +00:00