summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)Author
2013-10-18Add a couple of compatibility hacks for GTK+-2.HEADmasterLuke Shumaker
In tree.c, if GTK_MAJOR_VERSION==2, I provide an implementation of GTK 3's gtk_widget_get_preferred_size() for GTK 2. In util.c, if GDK_WINDOWNING_X11 is defined, but GDK_IS_X11_DISPLAY() isn't, I define it to always return 1.
2013-08-31added attach option for transient windowWeitian Leung
2013-08-05Add a runtime check for X11 (bug #705335)Benjamin Berg
If GTK+ is compiled with multiple backends, then it is necessary to do a runtime check for the used backend.
2013-03-05But #674881 - Timeout option overriding normal exit codeArx Cruz
2012-08-21Port to new documentation infrastructureJavier Jardón
2011-06-17Now if you use --timeout option, the return code will be properly handledArx Cruz
The default behavior will be done (ie. user click on ok button) The return code will be 5
2011-06-16Bug 651948 - zenity list does not return default value when timeout is overArx Cruz
2010-12-22util: fix build with new GTK+Cosimo Cecchi
2010-10-02Remove GDK_DISPLAY() usage. Fixes build with GTK+-3.0Luis Medinas
Replaced by GDK_DISPLAY_XDISPLAY.
2010-04-19Bug 615527 - zenity hangs if invalid WINDOWID is specifiedMichal Pryc
2010-04-08Compile with -DGSEAL_ENABLED. Fixes bug 612498.Andre Klapper
2009-07-20Bug 578393 – convert from libglade to GtkBuilderFelix Riemann
2008-04-21release 2.23.1Lucas Rocha
2008-04-21 Lucas Rocha <lucasr@gnome.org> * NEWS: release 2.23.1 svn path=/trunk/; revision=1364
2007-08-13added timeout option to all dialogs (Fixes bug #160654). Based on patchLucas Rocha
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
2006-07-28src/notification.c (-set_scaled_pixbuf, +zenity_notification_icon_update,Lucas Rocha
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.
2005-07-08general code cleanups. Contribution from Benoît Dejean.Lucas Rocha
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-06Include cleanups (config.h)Lucas Almeida Rocha
2005-04-25COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,Glynn Foster
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.
2004-11-23Check the xterm window ID is valid before using itRoss Burton
2004-10-05g_strdown() modifies the filename, so use strcasecmp() for the comparisonJames Henstridge
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-09-17Add missing header. Same ANSIfication. Closes bug #152851.Kjartan Maraas
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-13Add new notification icon. Update for new files. Restructure code a littleGlynn Foster
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-04-26Add from the 2 Sebastian's, and make email addresses more spam proof.Glynn Foster
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-03-19Patch from Darren Adams <darrenadams@dsl.pipex.com> to make sure the newGlynn Foster
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-06Remove some unused code.Glynn Foster
2004-03-07 Glynn Foster <glynn.foster@sun.com> * src/util.c: Remove some unused code.
2004-02-29Remove all the stupid duplicated code to do the help stuff, and instead doGlynn Foster
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.
2003-06-07Support user-defined return values via env vars, like dialog did.Mike Newman
2003-06-04Fix up some build warnings as reported by Ross Burton and his amazing gccGlynn Foster
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-05-05Make the list dialog handle stdin - a little bit buggy still. UpdateGlynn Foster
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-03-10Mass indentation cleanup. Make sure the glade dialogs aren't initiallyGlynn Foster
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-01-24Provide correct help URL.Glynn Foster
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-14Update to add new gconf requirement.Glynn Foster
2003-01-14 Glynn Foster <glynn.foster@sun.com> * configure.in: Update to add new gconf requirement. * src/zenity.h, src/about.c: Hurray for a new about box, although it lacks an icon. I wonder if people would actually like to see this as part of the dialog options. Can't think of any reason to do so at the moment though. Large chunks copied from libgnomeui/gnome-about.[ch] * src/util.h, src/util.c: Add new helper functions because I don't want to touch gnome_program with a bargepole. Copied from libgnome/gnome-url.[ch] * po/POTFILES.in: Add missing files. I think we have everything now. * TODO: Update accordingly.
2003-01-03Initial revisionGlynn Foster