Commit Graph

126 Commits

Author SHA1 Message Date
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 Mönneckes
0ca6b6fe82 Fix quote and output bugs in the gdialog wrapper #128149.
2003-12-02  Christian Mönneckes < 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